Show movie langauge "flag"

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Mudislander Offline
Skilled Skinner
Posts: 1,522
Joined: Jun 2009
Reputation: 33
Post: #16
Shaolin Wrote:I would also like to see this implemented in confluence; specifically to show the language of the different subtitles stored locally. Thought I'd share some flags in case anyone decides to take this up.

Link to the flags individually: http://s1041.photobucket.com/albums/b413...BMC/Flags/

@Shaolin, I've taken this a bit further than I was going to, now Convergence will first check the file name for a 3 digit code eg .Eng. including the fullstops, on not finding the code will then check the XBMC library for a subtitle listing to display. There was a couple of reasons I did this, firstly my subtitles are contained inside the mkv container and secondly I'm born South African but living in the UK and wanted to flag my collection of South African movies. Also others who do not agree with the flag of choice eg Union Jack for english can edit the movie title with USA , AUS or whatever.

What I do need is a fallback for Unknown and I am no artist if someone could do something along the lines of these flags i'd be grateful. I quite like the question mark in this unknown genre icon.
[Image: MovieUnknown.png]

Noli illegitimi carborundum
find quote
knochentrocken Offline
Junior Member
Posts: 14
Joined: Aug 2011
Reputation: 0
Post: #17
Hi,
This already looks great but I am looking for more:
I would like to get an information if the video contains more then one language in audio or subtitle, which one is default and such.
I was looking for something like this.
Can that pe implemented somehow? This would save me to first start the movie and then check for alternative audio...
Thank you,
knochentrocken.
find quote
mad-max Offline
Posting Freak
Posts: 1,476
Joined: Jul 2010
Reputation: 55
Location: Germany
Post: #18
Assuming from your nick, I think you can speak German...
You might take a look here:
http://www.xbmcnerds.com/index.php?page=...threadID=4

cheers,
mad-max

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

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
find quote
stardust Offline
Junior Member
Posts: 27
Joined: Mar 2011
Reputation: 0
Post: #19
Thank you for greate news!

Is there any skin with filtering language capabilities. For example, to select only movies with English audio track and Russian subtitles.

.nfo file contains language data so the best way would be to take this info from metadata.

<audio>
<codec>dca</codec>
<language>eng</language>
<channels>6</channels>
</audio>
find quote
<M1rk0> Offline
Junior Member
Posts: 2
Joined: Feb 2012
Reputation: 0
Post: #20
stardust Wrote:Thank you for greate news!

Is there any skin with filtering language capabilities. For example, to select only movies with English audio track and Russian subtitles.

.nfo file contains language data so the best way would be to take this info from metadata.

<audio>
<codec>dca</codec>
<language>eng</language>
<channels>6</channels>
</audio>

i suggest you create a smart-playlist, something like that:

Quote:<smartplaylist type="movies">
<name>movies-eng-rus</name>
<match>all</match>
<rule field="subtitlelanguage" operator="is">rus</rule>
<rule field="audiolanguage" operator="is">eng</rule>
</smartplaylist>

i can not test it here but should work
find quote
apañero Offline
Junior Member
Posts: 31
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,985
Joined: Jan 2009
Reputation: 147
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 Team-XBMC 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: 31
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,985
Joined: Jan 2009
Reputation: 147
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 Team-XBMC 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 Offline
Team-XBMC
Posts: 10,246
Joined: Jul 2011
Reputation: 153
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: 55
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,670
Joined: Mar 2010
Reputation: 71
Location: Planet Crematoria
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 Offline
Team-XBMC
Posts: 10,246
Joined: Jul 2011
Reputation: 153
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,670
Joined: Mar 2010
Reputation: 71
Location: Planet Crematoria
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: 98
Joined: Dec 2011
Reputation: 1
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