Release movie languageflags
#1
Rainbow 
i dont know nothing about xbmx-skin modding, there is a function the should display the language of the file/movie, but dont know how to active it.
so here is my little mod that shows the language from the movie ... nothing special, just quick&dirty Tongue

Image Image

\1080i\Includes_MediaFlags.xml
Add this at Line 318
PHP Code:
<control type="image">
                            <
description>AudioIcon</description>
                            <
posx>1950</posx>
                            <!--
Audioflag logo-->
                            <
texture>flags/audioflags/englisch.png</texture>
                            <
visible>!substring(ListItem.Foldername,.german)</visible>
                            <
animation effect="slide" end="-5" condition="Control.IsVisible(12100)">Conditional</animation>
                        </
control>
                        <
control type="image">
                           <
description>AudioIcon</description>
                           <
posx>1950</posx>
                           <
texture>flags/audioflags/german.png</texture>
                           <!--
Audioflag logo-->
                           <
visible>substring(ListItem.Foldername,.German)</visible>
                           <
animation effect="slide" end="-5" condition="Control.IsVisible(12100)">Conditional</animation>
                        </
control>
                          <
control type="image">
                           <
description>AudioIcon</description>
                           <
posx>1950</posx>
                           <!--
Audioflag logo-->
                           <
texture>flags/audioflags/dual.png</texture>
                           <
visible>substring(ListItem.Foldername,.dual)</visible>
                           <
animation effect="slide" end="-5" condition="Control.IsVisible(12100)">Conditional</animation>
                        </
control>
                          <
control type="image">
                           <
description>AudioIcon</description>
                           <
posx>1950</posx>
                           <!--
Audioflag logo-->
                           <
texture>flags/audioflags/dual.png</texture>
                           <
visible>substring(ListItem.Foldername,.DL)</visible>
                           <
animation effect="slide" end="-5" condition="Control.IsVisible(12100)">Conditional</animation>
                        </
control

Add \media\flags\audioflags
HTPC: XBMC (12.0-ALPHA6) - Platform: Windows , 64-bit (WoW) build 9200 + AMD A4-3400 APU - DTS-HD/WASAPI
and: Denon 1912 - Nubert/Jamo 7.1 System - Sanyo PLV-Z800


Image
Reply
#2
Its in the left menu, when in infowall move mouse to left, select "viewtype settings" then click the switch for "Language Flags" under general options. It adds a language flag right where you added it, only its smaller.
My Madnox Mods | Nox Version Guide
---------------------------------------------------------------
Movie Logo Requests | Studio Logo Requests
Logo's Made So Far:
838
Reply
#3
(2013-06-15, 21:09)ShadowTek Wrote: Its in the left menu, when in infowall move mouse to left, select "viewtype settings" then click the switch for "Language Flags" under general options. It adds a language flag right where you added it, only its smaller.

ahhh, thanks Big Grin
HTPC: XBMC (12.0-ALPHA6) - Platform: Windows , 64-bit (WoW) build 9200 + AMD A4-3400 APU - DTS-HD/WASAPI
and: Denon 1912 - Nubert/Jamo 7.1 System - Sanyo PLV-Z800


Image
Reply
#4
I need more info on this, I've been looking to have something like this for years in XBMC.

on what version of the skin is this modification made? also I could not see the Language flags in the view type settings.

from the code in the XML I believe it check the folder name to see if it includes a certain string, does that work for library mode also?

EDIT: I found how to do it, needed Aeon Nox 4.1.9 and Script.videolanguage, now it's all working fine.
Hardware: Revo 3610 + SSD - Harmony 700 Remote
Software: XBMCBuntu Gotham - Sickbeard - SabNZBd+

Image
Reply
#5
(2013-06-19, 19:15)The_Dogg Wrote: EDIT: I found how to do it, needed Aeon Nox 4.1.9 and Script.videolanguage, now it's all working fine.

How did you do that?
Reply
#6
(2014-02-18, 13:11)pifab Wrote:
(2013-06-19, 19:15)The_Dogg Wrote: EDIT: I found how to do it, needed Aeon Nox 4.1.9 and Script.videolanguage, now it's all working fine.

How did you do that?


for the audio and subtitles flag you need the videolanguage script, get it from github and install the zip file via "install from Zip File" in the Program Add-Ons section:

https://github.com/Black09/script.videolanguage

you need to have aeon nox 4.19 or Aeon Nox Gotham
Reply
#7
Ok, I did that. But no flags appear.
I am using Shift view Mode for my movies.

Do I need to download a flag package?
If I have to, where is their folder?
Reply
#8
(2014-02-18, 17:21)pifab Wrote: Ok, I did that. But no flags appear.
I am using Shift view Mode for my movies.

Do I need to download a flag package?
If I have to, where is their folder?

you have to enable it in the view settings, reread post # 2 from Shadowtek, he explained already.
Reply
#9
(2014-02-18, 18:29)neurosis13 Wrote: you have to enable it in the view settings, reread post # 2 from Shadowtek, he explained already.

Sorry, my bad. I'm a beginner in XBMC.

One problem was that I used Aeon Nox 4.0.9.
I updated to 4.1.9. now.

In Info Wall I can enable "Language Flags", but no flags appear.
Audiolanguage and subtitles are not shown as well...

I am using ViMediaManager to scrape my movies.

See picture for reference:

Image
Reply
#10
When I was still using Frodo and 4.1.9 I had this issue. Figured out it only displays the language/subtitle flags on integrated files(mainly mkv files). Any mp4 or avi files I had, even foreign files, no flag appeared.
Reply
#11
Your video files have the language tagged in the audio stream ?
Reply
#12
(2014-02-18, 19:18)neurosis13 Wrote: Your video files have the language tagged in the audio stream ?

Where can I see this?

I rip everything with Handbrake. Using German and English as audio track.
Reply
#13
(2014-02-18, 19:16)Vaikin Wrote: When I was still using Frodo and 4.1.9 I had this issue. Figured out it only displays the language/subtitle flags on integrated files(mainly mkv files). Any mp4 or avi files I had, even foreign files, no flag appeared.

What are you using right now?
Reply
#14
(2014-02-18, 19:24)pifab Wrote:
(2014-02-18, 19:18)neurosis13 Wrote: Your video files have the language tagged in the audio stream ?

Where can I see this?

I rip everything with Handbrake. Using German and English as audio track.

play a movie and press M on your keyboard and see in the audio settings if the language streams are named, if they are tagged only as stream1 and stream2 than it wont work.
Reply
#15
Ok. They are named "German - AC3 5.1" and "English - AC3 5.1".
Subtitles are named "English" and "German" as well

Of course older files (mostly .avi) just have "Stereo" as audio stream.
Reply

Logout Mark Read Team Forum Stats Members Help
movie languageflags0