2015-08-29, 17:43
und is Underpantistan I believe ?
(2015-08-29, 17:13)sarlan19 Wrote: You can edit Mkv header with MkvToolNix header editorYes. I use toolnix to set the headers originally. I don't believe that the headers are the problem since they are set correctly. The problem is that language flags are only being displayed for about half my videos. I just don't know if this is a scraping problem and the headers are not being read or if it's a display problem.
<visible>!IsEmpty(Window(movieinformation).Property(AudioLanguage.1)) + !Stringcompare(Window(movieinformation).Property(AudioLanguage.1),und)</visible>
<visible>!IsEmpty(Window(movieinformation).Property(AudioLanguage.1))</visible>
<texture>$VAR[ColorFlagsLanguage]$INFO[Window(movieinformation).Property(AudioLanguage.1),,.png]</texture>
<texture fallback="en.png">$VAR[ColorFlagsLanguage]$INFO[Window(movieinformation).Property(AudioLanguage.1),,.png]</texture>
(2015-08-29, 20:27)wgstarks Wrote:(2015-08-29, 17:13)sarlan19 Wrote: You can edit Mkv header with MkvToolNix header editorYes. I use toolnix to set the headers originally. I don't believe that the headers are the problem since they are set correctly. The problem is that language flags are only being displayed for about half my videos. I just don't know if this is a scraping problem and the headers are not being read or if it's a display problem.
(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.
(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
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.
(2015-08-29, 21:47)schimi2k Wrote: 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
(2015-08-29, 21:53)wgstarks Wrote: 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?
Also, not sure what files to edit for the various views.
(2015-08-29, 21:39)schimi2k Wrote:(2015-08-29, 20:27)wgstarks Wrote:(2015-08-29, 17:13)sarlan19 Wrote: You can edit Mkv header with MkvToolNix header editorYes. I use toolnix to set the headers originally. I don't believe that the headers are the problem since they are set correctly. The problem is that language flags are only being displayed for about half my videos. I just don't know if this is a scraping problem and the headers are not being read or if it's a display problem.
after you "installed" the language addon, did you restart your whole player ? and maybe refresh your video db ?
and maybe start a movie without a flag and check if you have the flag after play it a cpl of seconds
and finaly check if you have activate:
SETTINGS >>> VIDEO >>> FILE LISTS >>> EXTRACT THUMBNAILS AND VIDEO INFORMATION
if those things wont work, send me a pm with one of your movie infos without a flag and one with a flag please