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,959
    1,270
    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,959
    1,270
    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,959
    1,270
    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

    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
    252
    You can always use GitHub online But judging by the picture, you are doing well. Direct Push to Master is prohibited, create PR.
    You can always use GitHub online But judging by the picture, you are doing well. Direct Push to Master is prohibited, create PR.
    Hello, Because I was annoyed with closing MP, launch config, modify setting and start MP again, I decided to give MP the ability...
    Replies
    5
    Views
    3K
    All good now!!
    All good now!!
    We have just released MediaPortal 1.36 - Polar Express x86 and x64 version. Highlights of this release Bugfixes: [MP1-5229] -...
    Replies
    2
    Views
    2K
    I agree about the dash instead of colon on the LIVE thing. I did a little change to get the current program, just removed the D from the tags. Not that important, so I dont upload any new file. A little sad about the end time, but nothing to do about it.
    I agree about the dash instead of colon on the LIVE thing. I did a little change to get the current program, just removed the D...
    I'm trying to develop a new WebEPG grabber for sweden, but I got a few problem in parsing the html-file to get all programs. In...
    Replies
    9
    Views
    1K
    Attached are new TV service logs with your latest DLL. I see lots of EPG events and none of the messages from earlier. Congratulations!
    Attached are new TV service logs with your latest DLL. I see lots of EPG events and none of the messages from earlier. Congratulations!
    I have some weird behavior trying to operate the MP GUI in a new installation of MP 1.36 under Windows 11 Pro. Some of the remote...
    Replies
    33
    Views
    2K
    Top Bottom