(2015-01-17, 03:38)C.Taylor Wrote: I like the addition of the Oscar statue and IMDB Top 250 icons but I'm curious if they can't be added to the bottom row of icons. To do that would I edit the same MyVideoNav file or are those icons in a different one?
I did add the code like noted but only the IMDB icon shows up. And it shows up in a few different view modes but not all. How does the code know which movies it should put the oscar icon up for? And how do I know which viewtype it's going to show up in and which it won't?
Hoping someone can offer some advice to a coding newbie.
Those icons should only appear in Logo view. The most annoying and simple thing to learn about skinning is the use of the
<visible> or
visibility tag. This "rule" determines the specific circumstances when an item
(label, image, panel, etc.) will appear on the screen. That code should be a part of the group that starts with the following tags:
<control type="group">
<visible>Control.IsVisible(59)</visible>
If you follow the top of that control down to the bottom, you will see its linking
closing tag
</control>.
Control.IsVisible(59) indicates that
control 59, the
id of
Logo view, should be visible before the elements between the
<control></control> tags can appear. If you don't get the icon code between those tags, the item will appear in other views.
To move the position of the icons, you would have to change its <posx><posy> on the screen. However, the elements on the bottom would also have to be moved to make room, so this could be a lot of work. Alignment tags are also used to influence the position of text-based labels.
(2015-01-17, 04:24)Edworld Wrote: (2015-01-17, 04:10)C.Taylor Wrote: (2015-01-17, 04:06)Edworld Wrote: You need to add the word oscar to the name of file
example; forrest gump.oscars.mkv
Hmmmm.... that's not as much fun!
I have a playlist that lists all best picture winners I use for a submenu option. Can that be incorporated somehow?
It would be great if it can grab the information from the playlist, I have a playlist too
Yes, I can help you with this, but you'd have to show me a picture of your playlist settings.
As mentioned, this is simply of matter of changing the visibility conditions governing when the images and text appear on the screen. For the Oscar statue, this is what I currently use:
<visible>SubString(ListItem.FileName,.oscars)</visible>
The list of visibility conditions is not endless, but I'm sure I can find something that references your playlist rather than the string
.oscars.
The list of possible replacements for this conditional visibility is referenced here:
List_of_Boolean_Conditions (wiki).