Store language(s) from MediaInfo (1 Viewer)

barneh

MP Donator
  • Premium Supporter
  • February 4, 2010
    245
    54
    Malmö
    Home Country
    Sweden Sweden
    One of the links are for Moving Pictures, and there is a patch. But a little outdated :( as I understand from the thread.

    How do you think this function should work?
    Separate language selection for audio - differ from Series language. Or should the audio language be the same as Series, if exists?

    Looking at the issue 653, that involve parsing in the import... Then when the files are parsed, I don't see that isn't necessary to add the same files multiple times, so there maybe should be a DB field that contains a string like "en | cz | sk". And depending on the audio setting or the Series Language the player gets the right file.

    Then there's the file(s) with multiple auto in the file. These files needs to be inspected with something like mediainfo....;)
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,958
    1,271
    Saratov
    Home Country
    Russian Federation Russian Federation
    Hi. I expect to see EN, DE right next to audio codec icon in gui. Probably it needs to modify local_episodes db table as it holds mediainfo data for every file
     

    barneh

    MP Donator
  • Premium Supporter
  • February 4, 2010
    245
    54
    Malmö
    Home Country
    Sweden Sweden
    An icon where the arrow are on the attached picture?
    And if you got something like ten different audio versions of the same file. Then there should be ten different icons?

    Have I understood you right?
     

    Attachments

    • 2015-02-04 at 09.27.PNG
      2015-02-04 at 09.27.PNG
      38.3 KB

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,958
    1,271
    Saratov
    Home Country
    Russian Federation Russian Federation
    Yes the place is right. Currently if you have ten differrent versions of the same episode you will see them as separate items in list. But in case they have common mediainfo but different languages you cant differ them from each other. But if some language indication will be present in gui it could be simple.
     

    barneh

    MP Donator
  • Premium Supporter
  • February 4, 2010
    245
    54
    Malmö
    Home Country
    Sweden Sweden
    In the issue 653 it talked about series like this:
    • SeriesX.s01e01.English.avi
    • SeriesX.s01e01.French.avi
    • SeriesX.s01e01.German.avi
    • etc.
    Since I don't have any of this, how does the TV-Series plugin handle this today?
    Do you have a screenshot to share?

    I have played little around with the MediaInfo program, and many series don't have the language property :( some have, but mostly don't.
    So the the best thing maybe is to parse the file name.... if language property is in it!
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,958
    1,271
    Saratov
    Home Country
    Russian Federation Russian Federation
    I don't think filename parsing is right but Mediaportal itself is doing it during handling external audio files [emoji3] I think we should rely on mediainfo. If it has language data let it be shown in gui. If it doesn't have such data we dont show it. It's simple. My files have language code in mediainfo usually.
     

    barneh

    MP Donator
  • Premium Supporter
  • February 4, 2010
    245
    54
    Malmö
    Home Country
    Sweden Sweden
    What about this?

    In MediaInfo I get "English", but here (on the same file) I get just "en"...
    Maybe there is a converter in MediaInfo...?!?
     

    Attachments

    • MP_TV-Series_Config.PNG
      MP_TV-Series_Config.PNG
      39.2 KB

    Users who are viewing this thread

    Similar threads

    Interesting. :coffee: I always have DVB subtitles enabled in "MP Config", but I actually switch on subtitles only for those films that have deafening sound effects and music, combined with inaudible dialogue. I have never noticed the problem that you have described, but I also use the EVR renderer, and not the Madvr renderer. So...
    Interesting. :coffee: I always have DVB subtitles enabled in "MP Config", but I actually switch on subtitles only for those films...
    Every so often, when I switch to a TV channel, my MP client stops accepting user inputs, either from the remote or keyboard/mouse...
    Replies
    27
    Views
    3K
    Sadly, it seems that development of MP2 has come to a stop. Perhaps it will restart in the future. Meanwhile... MP1 has a "Tuning Details" panel that displays signal strength, signal quality, and picture resolution. It is updated in real time when viewing a channel: However, perhaps you are already aware of this, but prefer MP2...
    Sadly, it seems that development of MP2 has come to a stop. Perhaps it will restart in the future. Meanwhile... MP1 has a "Tuning...
    For those of us watching broadcast (over-the-air) television, it would be very handy to have a signal strength meter readily...
    Replies
    1
    Views
    3K
    I'm running 2.5 with the WMC skin. I have .mp4 files, along with the related .srt files in the same folder. I can watch the movies just fine. In past versions of MP, like 2.4x, I could press the More Info button on my remote twice, and on the second press, an option for showing/choosing the subtitles was listed. I'd select the...
    I'm running 2.5 with the WMC skin. I have .mp4 files, along with the related .srt files in the same folder. I can watch the...
    I'm running 2.5 with the WMC skin. I have .mp4 files, along with the related .srt files in the same folder. I can watch the...
    Replies
    0
    Views
    3K
    I do not know why this xml was in my theme folders, it must have sneaked in some time ago (years?). I simply removed the file. The Latest Media Handler plugin seems to be working as expected. I've had no lock-ups.
    I do not know why this xml was in my theme folders, it must have sneaked in some time ago (years?). I simply removed the file. The...
    Before you create this bug report: Make sure that your system (windows, codecs and drivers) is up to date, matching the...
    Replies
    13
    Views
    2K
    I have recently installed MediaPortal 1.37 (x64) and MP-TVSeries v4.5.1.697 and unfortunately the TV episode runtime duration is missing in my Titan skin. This only applies to my .TS files, my .MKV files are OK. I believe the difference is likely to be because .MKV files embed the runtime in the file unlike .TS files. I have done...
    I have recently installed MediaPortal 1.37 (x64) and MP-TVSeries v4.5.1.697 and unfortunately the TV episode runtime duration is...
    I have recently installed MediaPortal 1.37 (x64) and MP-TVSeries v4.5.1.697 and unfortunately the TV episode runtime duration is...
    Replies
    0
    Views
    669
    Top Bottom