Show movie langauge "flag"

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
apañero Offline
Junior Member
Posts: 29
Joined: Jan 2012
Reputation: 1
Post: #21
So finally is it possible to implement it? I mean, flags for every audio and subtitle language.

Alaska group seems to be working on it but I don't see the code to implement it.

Hitcher Wrote:http://forum.xbmc.org/showthread.php?tid=98279&page=2 Subtitle language support has been added for the next release.

I've just asked but currently we can only use the first subtitle language but as soon as multiple languages can be used I'll simply use a fadelabel to show each one consecutively in the same panel.

[Image: screenshot001jz.jpg]

Also, it could be great to have more info of each track. Per example, DTS or AC3, of every track.
To sum up:
for each audio track: language flag and audio codec flag (it could be one only flag with both information)
for each subtitle: language flag

How to do it? Come on experts!
(This post was last modified: 2012-03-01 03:05 by apañero.)
find quote
ronie Offline
Team-XBMC Member
Posts: 8,263
Joined: Jan 2009
Reputation: 108
Post: #22
apañero Wrote:Come on experts!
it's not possible to display this info in the skin as long as xbmc doesn't support it.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
apañero Offline
Junior Member
Posts: 29
Joined: Jan 2012
Reputation: 1
Post: #23
ronie Wrote:it's not possible to display this info in the skin as long as xbmc doesn't support it.

Is it not possible If you add the language and subtitle info to the name of the file?? You read the info, you display what is readed... I think you only need a good Regular Expression to get the info, don't you?

If subtitles are out of the video file:
Movie.AC3ES.DTSEN.mkv
Movie.Subtitle.EN.srt
Movie.Subtitle.ES.srt

If subtitles are in the video file:
Movie.AC3ES.DTSEN.SUBEN.SUBES.mkv

Language&Audio flags activated: AC3ES, DTSEN
Subtitle flags activated: EN,ES

Is this not possible? We would need to change the name of the files but... better than nothing. It's a really useful information to have.
(This post was last modified: 2012-03-02 00:30 by apañero.)
find quote
ronie Offline
Team-XBMC Member
Posts: 8,263
Joined: Jan 2009
Reputation: 108
Post: #24
apañero Wrote:If subtitles are in the video file:
Movie.AC3ES.DTSEN.SUBEN.SUBES.mkv

Language&Audio flags activated: AC3ES, DTSEN
Subtitle flags activated: EN,ES

Is this not possible? We would need to change the name of the files but... better than nothing. It's a really useful information to have.

yup, that might work actually.

now all you need is to find someone to code a script to do the renaming for you ;-)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Martijn Online
Team-XBMC
Posts: 7,720
Joined: Jul 2011
Reputation: 115
Location: Dawn of time
Post: #25
And with using that you will hit others problems i have read somewhere cause the .EN. could be part of the title instead of it being the language

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first


For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
mad-max Offline
Posting Freak
Posts: 1,476
Joined: Jul 2010
Reputation: 52
Location: Germany
Post: #26
Martijn Wrote:And with using that you will hit others problems i have read somewhere cause the .EN. could be part of the title instead of it being the language

Hmm...if you have the dots "."EN"." around the language code that won't happen...
Had same issue before, as my visible tag did not have the dots...some movies showed up with english flag because of the title, but wioth dots everything is fine...

cheers,
mad-max

[Image: obi3o55x.jpg]
[Image: 7c8w3bu8.png]

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
find quote
butchabay Offline
Skilled Skinner
Posts: 3,426
Joined: Mar 2010
Reputation: 62
Location: Switzerland
Post: #27
mad-max Wrote:Hmm...if you have the dots "."EN"." around the language code that won't happen...
Had same issue before, as my visible tag did not have the dots...some movies showed up with english flag because of the title, but wioth dots everything is fine...

cheers,
mad-max

Right! Laugh

PHP Code:
<visible>substring(listitem.filename,.en.)</visible
find quote
Martijn Online
Team-XBMC
Posts: 7,720
Joined: Jul 2011
Reputation: 115
Location: Dawn of time
Post: #28
mad-max Wrote:Hmm...if you have the dots "."EN"." around the language code that won't happen...
Had same issue before, as my visible tag did not have the dots...some movies showed up with english flag because of the title, but wioth dots everything is fine...

cheers,
mad-max

Here one to prove you wrong Big Grin

Dutch movie:
Anubis.en.de.wraak.van.arghus.mkv

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first


For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
butchabay Offline
Skilled Skinner
Posts: 3,426
Joined: Mar 2010
Reputation: 62
Location: Switzerland
Post: #29
Martijn Wrote:Here one to prove you wrong Big Grin

Dutch movie:
Anubis.en.de.wraak.van.arghus.mkv

Ohhh, here we have english and german Smile
find quote
NEOhidra Offline
Member
Posts: 68
Joined: Dec 2011
Reputation: 0
Location: BG
Post: #30
Ember Media Manager can add sound tracks language to the .nfo files (and subtitles language also i think), but the info has to be added by hand.
Adding the language codes to the name can be done using a prefix - just like XBMC knows that s[X]e[X] pattern is for seasons numbering something like a[EN]s[0] can used for a movie without subs and English audio.
find quote