2015-08-29, 21:47
(2015-08-29, 21:33)ShadowTek Wrote: So wait... you are trying to have an unidentified flag show? Sorry but I'm confused?
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.
i have over 1000 movies and a lot of tv series and never need to edit code for flags - its a settings problem... ( see my post before )
and again... when people start again to code their own stuff and mixing it with main madnox code they get problems one day - and then they post here again " damn, this isnt working anymore " and we spend again a lot of time with searching for a problem we cant find, because they messed up the code again...
i dont mean guys like you shadow, because you know what you do, but here are a lot of ppl who see your code and think " hey, cool, i will try it " - then its working for a while and one day ... whoosh
i am getting realy tired