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,955
    1,264
    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,955
    1,264
    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,955
    1,264
    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

    No not yet but hopefully this week / next weekend I will get to it fingers crossed
    No not yet but hopefully this week / next weekend I will get to it fingers crossed
    I have just updated my mobo and installed Win 10. I then imported all my old settings that were working ok on my old Win 7 system...
    Replies
    7
    Views
    331
    I have looked at your log files, but as usual they are unintelligible gobbledegook. (I am sure that the original developers who wrote that code know what the log entries mean, but those developers have long since retired from the MP team.) I regret to say that I think that you will have to use the "brute force" method to track down...
    I have looked at your log files, but as usual they are unintelligible gobbledegook. (I am sure that the original developers who...
    Sometimes when displaying the OSD whilst playing a recorded TV show the video freezes and the sound continues for about 30 seconds...
    Replies
    1
    Views
    672
    (egg in face) I had to dnld SD plugin mpe1 to re install. trying again Thnx
    (egg in face) I had to dnld SD plugin mpe1 to re install. trying again Thnx
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Replies
    40
    Views
    5K
    Installing other software, especially MP1, which is partly sharing Tv service with MP2, can make everything worse. Please upload your debug log files, if you want to solve the issue.
    Installing other software, especially MP1, which is partly sharing Tv service with MP2, can make everything worse. Please upload...
    Before you create this bug report: Make sure that your system (Windows, codecs and drivers) is up to date, matching the...
    Replies
    6
    Views
    1K
    • Sticky
    Your log clearly reports: [2024-03-03 18:26:58,258] [Log ] [MPMain ] [DEBUG] - Main: Wait for TV service requested [2024-03-03 18:26:58,262] [Log ] [MPMain ] [DEBUG] - Main: TV service found. Checking status... [2024-03-03 18:26:58,263] [Log ] [MPMain ] [INFO ] - Main: TV service is in status Running - proceeding...
    Your log clearly reports: [2024-03-03 18:26:58,258] [Log ] [MPMain ] [DEBUG] - Main: Wait for TV service requested...
    MediaPortal 1.33 Release Written by Team-MediaPortal. We have just released MediaPortal 1.33 - Springtime / 20th Anniversary...
    Replies
    7
    Views
    1K
    Top Bottom