2012-04-23, 20:22
(2012-04-23, 20:07)echo Wrote: 1) I wanted to set the "Cinema" button as the default, so I edited DialogVideoInfo.xml and changed
<defaultcontrol always="true">8</defaultcontrol> to <defaultcontrol always="true">299</defaultcontrol>. This works great for movies, however fails for tv shows ....so my question is, how do you do a conditional statement?...so that it's only applicable to movies..
You can't. That statement is applicable to window, regardless of content type in it.
But, you could try adding a hidden button that would set focus based on content. See home.xml, button marked as "ATV 1 focus fix". Then use conditional "on focus" statement based on content type.
Quote:2) I would like to change the color of the text for FileName and Path from white to a grey like its heading under the VideoInfo...I have found the entry but cant figure out how to
Try using
Code:
<label2>[COLOR=Grey]$INFO[ListItem.FileName][/COLOR]</label2>
for those 2 items only.