View Full Version : [MOD] Poor man's mod to get more info during video playback (time, cover art, etc.)
LaTropa64
2009-04-11, 03:44
I'm really use to pressing the "i" button while a video is playing back to get details on the movie and how much time is left in it. Currently, here's how it looks by default in Stark:
http://i44.tinypic.com/21lvn6b.jpg
This mod will change it to this:
http://i39.tinypic.com/2q07gpf.jpg
I know virtually nothing about skinning so this probably isn't done right as it is mostly just a direct copy from another xml file (DialogSeekBar.xml) with the title, year and cover art added on. Believe it or not it took me hours to figure this out though. :o I spent forever just looking for which xml file was responsible for this view. Is there a guide somewhere that maybe shows you what xml's are what?
Anyways, here it is...
Just open up DialogFullScreenInfo.xml and replace it with this: http://pastebin.com/f30353a9a
Or download and unzip this to the 720p folder: http://www.upitall.com/Public/Pictures/1DialogFullScreenInfo.zip
Now my next project is to try and figure out how to make the actors in the DialogVideoInfo to be selectable (for cross searching) and to show their thumbnails. Similar to this mockup:
http://i40.tinypic.com/2agkt4z.jpg
If anyone has already done it, let me know because I have a feeling I won't be able to pull it off. :)
FernFerret
2009-04-11, 03:54
AWESOME. Thank you!
My only concern is that some of this might get implemented in the final build, but hey! You've already done it! Looks great!
and no, there is no guide, it's all custom, you could go play with the basic skin if you want to learn about that though, that's what i'm doing, seeing as i'm just a skin noob.
--FF
LaTropa64
2009-04-11, 04:15
My only concern is that some of this might get implemented in the final build, but hey! You've already done it! Looks great!
That's true. Most probably will be and they'll likely be done much better. I'm too impatient to wait for the final release though. There's only a couple of really small things like this that are keeping me from using Stark over MediaStream. Once I get them all fixed, I can make the permanent switch. :)
FernFerret
2009-04-11, 04:20
That's true. Most probably will be and they'll likely be done much better. I'm too impatient to wait for the final release though. There's only a couple of really small things like this that are keeping me from using Stark over MediaStream. Once I get them all fixed, I can make the permanent switch.
Haha! So true, sadly I'm doing the same thing right now! (Making a custom AEON build for my father and his HTPC and 4 xboxes :) )
The problem I had with mediastream (I'll admit i didn't look hard at all) is that it, by itself PREVENTS an XBOX from playing ANY video, so stark is the place to go for me!
--FF
hikaricore
2009-04-11, 10:50
Thanks for this. ^_^
Be sure to post a link to your thread on the stickied mod post.
The 'finishing time' addition is pure genius :D
hikaricore
2009-04-11, 15:36
Pretty amazing how all of these simple mods are coming together so nicely.
onesojourner
2009-04-11, 16:20
I think you should look into the shiny rounded look like the rest of the skin. other than that it looks great.
LaTropa64
2009-04-11, 21:21
I think you should look into the shiny rounded look like the rest of the skin. other than that it looks great.I don't know enough about this yet to pull that off... but if I ever figure it out, I'll definitely do it.
The 'finishing time' addition is pure genius :DI can't take credit for that. That came from what was already in the DialogSeekBar.xml I used to copy from, which came from a mod by CF2009 (http://xbmc.org/forum/showthread.php?t=48435). It's one of my favorite parts though. :)
nekrosoft13
2009-04-11, 21:27
that great, i hope something similar gets added to aeon
FernFerret
2009-04-11, 22:01
The only problem I noticed is that now you can open the menu over it, but hey, i guess i'm okay with that, I might even try to fix that unless you feel up to it latropa, but i'm kinda pushing for you to do the actor art :)
--FF
LaTropa64
2009-04-11, 22:07
Yeah, that's how it works in PM3 also
http://i43.tinypic.com/143l6kg.jpg
It just doesn't look as weird since the menu design doesn't cover the entire thing.
There's probably some way to fix it, but I'm not sure how yet. :)
Thanks mate, downloaded - it looks great.
You should be able to add a condition to hide one if the other is opened and vise versa.
PainToad
2009-04-13, 11:27
Saved me from hacking something together, cheers mate.
Thanks, I just added this to my setup.
LaTropa64
2009-04-13, 13:35
You should be able to add a condition to hide one if the other is opened and vise versa.
I figured it out this. Look for this:
<control type="group">
<posx>0</posx>
<posy>620</posy>
<width>1280</width>
<height>159</height>
<include>Animation_CommonFade</include>
Change it to this:
<control type="group">
<posx>0</posx>
<posy>620</posy>
<width>1280</width>
<height>159</height>
<include>Animation_CommonFade</include>
<visible>!Window.IsActive(2901)</visible>
Updated in the first post.
Hi.
I know virtually nothing about skinning so this probably isn't done right as it is mostly just a direct copy from another xml file (DialogSeekBar.xml) with the title, year and cover art added on. Believe it or not it took me hours to figure this out though. I spent forever just looking for which xml file was responsible for this view. Is there a guide somewhere that maybe shows you what xml's are what?
Anyways, here it is...
Just open up DialogFullScreenInfo.xml and replace it with this: http://pastebin.com/f30353a9a
Or download and unzip this to the 720p folder: http://www.upitall.com/Public/Pictur...ScreenInfo.zip
I´ve implemented quite a few changes to that file allready, could you please make a little guide to what I have to change manualy, ie highlight the parts you´ve change with bold text...
Thanks
//Talle
LaTropa64
2009-05-05, 17:00
Hi.
I´ve implemented quite a few changes to that file allready, could you please make a little guide to what I have to change manualy, ie highlight the parts you´ve change with bold text...
Thanks
//Talle
Back when I did this, It didn't seem like djh had even started on the DialogFullScreenInfo.xml, so all I did was take a direct copy of the DialogSeekBar.xml from cf2009's endtime mod and then added the cover art, title and year in (that change is noted in the pastebin with an indent and comments).
Pr.Sinister
2009-05-11, 03:54
I think you should look into the shiny rounded look like the rest of the skin. other than that it looks great.
I don't know enough about this yet to pull that off... but if I ever figure it out, I'll definitely do it.
While putting together mine yesterday, i figured out the rounded look for the
poster.
You need to change this :
<control type="image">
<description>cover image</description>
<posx>1130</posx>
<posy>-217</posy>
<width>150</width>
<height>225</height>
<info>VideoPlayer.cover</info>
<aspectratio align="right" aligny="bottom">keep</aspectratio>
</control>
To this :
<control type="image">
<description>cover image</description>
<posx>1130</posx>
<posy>-217</posy>
<width>150</width>
<height>225</height>
<texture diffuse="thumbs/movieposter_mask.png">$INFO[VideoPlayer.Cover]</texture>
<aspectratio align="right" aligny="bottom">keep</aspectratio>
</control>
i there a way that i can add the function of 'i' automatically every time I paused the movie.
Pr.Sinister
2009-05-12, 04:16
i there a way that i can add the function of 'i' automatically every time I paused the movie.
Yes. But it will also show everything when you skip within the movie.
Just copy all the extra code from DialogFullScreenInfo.xml to DialogSeekBar.xml
-Pr.
You mean when I skip or FF within the movie?, I dont think that would be a problem
-Thanks
BTW the extra code is this
- <control type="image">
<description>Panel</description>
<posx>0</posx>
<posy>0</posy>
<height>159</height>
<width>1280</width>
<colordiffuse>cdffffff</colordiffuse>
<texture>osd/osd_back.png</texture>
</control>
- <!-- adds title, year and cover art
-->
- <control type="image">
<posx>0</posx>
<posy>-20</posy>
<width>499</width>
<height>28</height>
<texture>osd/osd_button_reverse.png</texture>
<colordiffuse>FF000000</colordiffuse>
</control>
- <control type="label">
<posx>20</posx>
<posy>-19</posy>
<width>412</width>
<height>25</height>
<label>$INFO[VideoPlayer.Title]</label>
<align>left</align>
<aligny>center</aligny>
<font>Font_OSDTime</font>
- <!-- <textcolor>FF000000</textcolor>
-->
<scroll>true</scroll>
</control>
- <control type="label">
<posx>448</posx>
<posy>-19</posy>
<width>50</width>
<height>25</height>
<label>$INFO[VideoPlayer.Year]</label>
<align>left</align>
<aligny>center</aligny>
<font>Font_OSDTime</font>
<textcolor>60ffffff</textcolor>
<scroll>true</scroll>
</control>
- <control type="image">
<description>cover image</description>
<posx>1130</posx>
<posy>-217</posy>
<width>150</width>
<height>225</height>
<info>VideoPlayer.cover</info>
<aspectratio align="right" aligny="bottom">keep</aspectratio>
</control>
- <!-- End of adds title, year and cover art
-->
also, in TVShows there is no way to display the show poster/cover instead of the show screenshot, because of VideoPlayer.cover ??
or it would be easy just to add a condition to verify if is a movie or tv show playing and display the cover or poster in case of a tv show
I would like to add poster_glass overlay to the poster i create another image control under the cover image but cant make it scale with the poster
<control type="image">
<description>cover overlay</description>
<posx>1130</posx>
<posy>-217</posy>
<width>150</width>
<height>225</height>
<texture>thumbs/poster_glass.png</texture>
<aspectratio align="right" aligny="bottom">keep</aspectratio>
</control>
I managed to get it working with the code above, but don't know if is the correct way I think it will not work if I resize my screen or change resolution.
http://i93.photobucket.com/albums/l66/reavenm/screenshot000.jpg
mikel2earth
2009-06-27, 22:54
thx for this mod, works great