2015-08-29, 21:53
(2015-08-29, 21:33)ShadowTek Wrote: So wait... you are trying to have an unidentified flag show? Sorry but I'm confused?Thanks ShadowTek. This is exactly what I need. Almost all my videos are in English and all the headers are set properly (spent several hundred hours on that ). The editing looks simple, that shouldn't be a problem. When you say to copy en.png to the media folder, do you mean I need to place the png file into each folder containing a video? Or copy the png file into the addon media folder?
If you are just wanting to always have a language flag show on the movie info page for every movie, this is what I do..
1. I always make sure (using Ember media manager) that any non-English movies are tagged with their proper language (and of course the english subtitles)
2. most of my movies are in English, so what I do is simply copy the en.png file to the media folder (cause I'm lazy)
3. Open up DialogVideoInfo.xml and find:
Code:<visible>!IsEmpty(Window(movieinformation).Property(AudioLanguage.1)) + !Stringcompare(Window(movieinformation).Property(AudioLanguage.1),und)</visible>
and delete or comment it out.
4. Then open up the Includes_MediaFlags.xml file, right at the top is the language flags code, find:
Code:<visible>!IsEmpty(Window(movieinformation).Property(AudioLanguage.1))</visible>
And delete or comment it out.
Then right above that line you just removed change:
Code:<texture>$VAR[ColorFlagsLanguage]$INFO[Window(movieinformation).Property(AudioLanguage.1),,.png]</texture>
to:
Code:<texture fallback="en.png">$VAR[ColorFlagsLanguage]$INFO[Window(movieinformation).Property(AudioLanguage.1),,.png]</texture>
and now every movie that does not have a language defined defaults to English and you will always see a language flag on the video info page. You can take similar steps with views that you want this for as well.
Also, not sure what files to edit for the various views.