Display the language and subtitles of the movie (1 Viewer)

Felias

Portal Pro
August 28, 2008
54
0
Home Country
Germany Germany
Hi there,

i am a big fan of watching movies in their original language. On the other side, my girlfriend has her own language requests. As a result, i'm having movies in lots of different languages.

When deciding which movie to watch, the language and the subtitels are an important issue, and we always have to directly look in to the movie, which takes time and leads to a possible disappointment.

The subtitels are included in the .mkv-file, or available in the directory. The language on the other side is, if at all, only available within the .nfo-file.

Is there any skin out there displaying this information? Can the .nfo-scanner detect this? If so, how do i have to enter the information?

Based on my knowledge, i created this thread here in the MP-Forum. If this is the wrong place, i am sorry, please point me to the right forum :)

Thanks in advance,
Felias
 

fforde

Community Plugin Dev
June 7, 2007
2,667
1,702
42
Texas
Home Country
United States of America United States of America
I am pretty sure the StreamedMP skin will display the spoken language of a movie. Whether the field will be available depends on which data source you used though. IMDb is pretty good about pulling language, I am not sure about the other scripts. The language of the subtitles is unfortunately not something that Moving Pictures has access to though. :(

And unfortunately the NFO grabber only checks for an IMDb ID for direct lookup from an online source. So it will not currently allow you to customize language data in that way.

Sorry I know that is only a partial answer, when it comes down to it, Moving Pictures is just not super great with this sort of thing at this point.
 

Felias

Portal Pro
August 28, 2008
54
0
Home Country
Germany Germany
I see... Thanks for the info.

The spoken language of the movie will be collected from IMDB right? That would be perfect for myself, but as my girlfriend wants to watch some movies in german every now and then, these movies will not be shown in the correct language then.

Generally, it would be awesome to have custom fields in the .nfo-file that trigger things in the front-end. But this probably is nothing that can be implemented that easy, so i guess i have to wait for now.

But it would be very nice to have a language-tag in the .nfo, which will end up showing this information in the movie information screen.

If only the movie information would be collected from the .nfo, i could just manually add a hint like "german" in the description text. Not a nice solution, but at least it'll save me from jumping into the movie every time.
 

marvenius

Portal Pro
September 3, 2008
523
47
Belgium
Home Country
Netherlands Netherlands
retrieving info from the nfo file would not be a good idea from usability. That's why there is a database ;)
Off course, when rebuilding, info from the nfo file can (and will) be used to retrieve movie information.
On the other hand, you can customize data in the database from the Moving Pictures configuration.
Adding something to the skinfiles should not be a problem.
Code:
    <control>
      <description>Language Label</description>
      <type>label</type>
      <id>0</id>
      <posX>444</posX>
      <posY>388</posY>
      <textcolor>efefef</textcolor>
      <font>font12</font>
      <label>LANGUAGE:</label>
      <visible>[facadeview.list|facadeview.smallicons|facadeview.largeicons]+Control.IsVisible(50)</visible>
    </control>

    <control>
      <description>Runtime</description>
      <type>fadelabel</type>
      <id>0</id>
      <posX>525</posX>
      <posY>388</posY>
      <textcolor>000000</textcolor>
      <font>font12</font>
      <label>#MovingPictures.SelectedMovie.language</label>
      <visible>[facadeview.list|facadeview.smallicons|facadeview.largeicons]+Control.IsVisible(50)</visible>
    </control>
something like that should display for the selected movie
You probable have to move the coordinates around a bit to display correctly on your display.
 

Felias

Portal Pro
August 28, 2008
54
0
Home Country
Germany Germany
Thanks a lot marvenius, that sounds doable.

I'll have to get myself into this stuff though...

One thing right away: Where are the icons defined that will show up?
 

explodedk

Portal Pro
December 27, 2008
265
20
Copenhagen
Home Country
Denmark Denmark
but that will still not give him if the file is in english or german, since imdb might have it as english, but the movie is dubbed with german language ( there is many of those in germany )
 

marvenius

Portal Pro
September 3, 2008
523
47
Belgium
Home Country
Netherlands Netherlands
that's right explodedk, but that was not my intention.
With the current setup and without customizing source code or implementing mediainfo.dll (if this even can recognize embedded language streams ;-) )
at least Felias has a visual indication of what language is -originally- spoken in the movie.
And i know of the German dubbing fetish.... Somehow they just love incorrect lip syncs :)

Felias,
these are only text labels. Currently there are no formatting rules (like in MP-TVSeries, that can show an image based on mediainfo(.dll) or a database value
You may work around this by using image labels and creating a bunch of images:
so #MovingPictures.Selectedmovie.language.png (or jpg)
could resolve to English.png or German.png (a google query for country flags should do that trick, just verify the correct filename)
This is however not tested by me, just provided as alternative (and to be verified)
 

hoborg

Portal Pro
June 13, 2008
4,413
1,644
Nový Jičín
Home Country
Czech Republic Czech Republic
Well, maybe mediainfo.dll can obtain MKV video/audio/subtitles language tags, then store it somewhere. But this can work only with MKV files.
 

Felias

Portal Pro
August 28, 2008
54
0
Home Country
Germany Germany
marvenius:

As is unterstood, your idea will require me to manually add the database-information for every movie that i want to be displayed as german/english/whatever. Correct?

That would be completely alright, as i know what movies are german/italian/whatever.

Sure, it would be even more perfect if MP would look into a file in the folder (.nfo-File), and then set the database-entry automatically. But i can live with doing this manually in the MovingPictures-Configuration.
 

Users who are viewing this thread

Top Bottom