Store language(s) from MediaInfo (1 Viewer)

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    I found one regression in the details tab in configuration, I noticed its not using the pretty name for the database field property column. im not 100% sure if that was due to the changes you did to add the language dropdown in the grid. I can't remember last time it was working.
    I'm not quite with you on this one.... can you give an example of what you mean?
    Look at the screenshots, from current release vs new release. You will notice that the property names are slightly different because they been overridden, those names are no longer used after you added the language dropdown in the grid.

    Code:
      #region Pretty Names displayed in Configuration Details Tab
      s_FieldToDisplayNameMap.Add(cID, "Online Series ID");
      s_FieldToDisplayNameMap.Add(cPrettyName, "Title");
      s_FieldToDisplayNameMap.Add(cStatus, "Show Status");
      s_FieldToDisplayNameMap.Add(cGenre, "Genre");
      s_FieldToDisplayNameMap.Add(cSummary, "Show Overview");  
      s_FieldToDisplayNameMap.Add(cAirsDay, "Aired Day");
      s_FieldToDisplayNameMap.Add(cAirsTime, "Aired Time");
      s_FieldToDisplayNameMap.Add(cSortName, "Sort By");
      s_FieldToDisplayNameMap.Add(cLanguage, "Language");
      s_FieldToDisplayNameMap.Add(cIMDBID, "IMDB ID");
      s_FieldToDisplayNameMap.Add(cTraktID, "Trakt ID");
      s_FieldToDisplayNameMap.Add(cEpisodeOrders, "Episode Orders");
      s_FieldToDisplayNameMap.Add(cChosenEpisodeOrder, "Episode Order");
      s_FieldToDisplayNameMap.Add(cContentRating, "Content Rating");
      s_FieldToDisplayNameMap.Add(cMyRating, "My Rating");
      s_FieldToDisplayNameMap.Add(cFirstAired, "First Aired");
      s_FieldToDisplayNameMap.Add(cEpisodeCount, "Episodes");
      s_FieldToDisplayNameMap.Add(cEpisodesUnWatched, "Episodes UnWatched");
     #endregion

    The first parameter is not being used anymore:
    Code:
    AddPropertyBindingSource(DBSeries.PrettyFieldName(key), key, series[key], false);
     

    Attachments

    • 4.1.0.jpg
      4.1.0.jpg
      64.9 KB
    • 4.2.1.jpg
      4.2.1.jpg
      51.3 KB

    barneh

    MP Donator
  • Premium Supporter
  • February 4, 2010
    245
    54
    Malmö
    Home Country
    Sweden Sweden
    Okay! Now I'm with you!

    It's probably my fault :whistle:[DOUBLEPOST=1429600992][/DOUBLEPOST]Patched!
     

    Attachments

    • ChangedFromFieldNameToDisplayFieldPrettyNameInConfiguration.patch
      1.4 KB
    Last edited:

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Thanks barneh,

    for some reason the config screen keeps jumping/glitching after that change (I think it actually happen before in v4.1.0 as well, not 100% sure). Do you see anything odd when selecting series in the grid?
     

    barneh

    MP Donator
  • Premium Supporter
  • February 4, 2010
    245
    54
    Malmö
    Home Country
    Sweden Sweden
    Hmm... no more than when I hover over the tab that is not selected, it glitch one time.... nothing more?!?!
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Weird, my grid rows bounce around like crazy! I can't explain it, truly weird.

    I cant understand how the name of the field makes it do that, it must be used elsewhere.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Yeah, it goes back to normal.

    The thing is, I believe this weird bounce behaviour happened before so I don't think it has something to do with the language dropdown, maybe its made it more obvious...can't say.

    If you're not seeing it, then thats good but I probably wont bother using the pretty names until can figure out why its happening...not something I have time to do though.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    MP 1.1, I can't imagine that will have anything to do with it as its just WinForms stuff.
     

    Users who are viewing this thread

    Similar threads

    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
    637
    (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
    4K
    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
    967
    I have all of my media on a NAS. I guess it might just be a network issue, then.
    I have all of my media on a NAS. I guess it might just be a network issue, then.
    Whenever I go into the back end for Moving Pictures, it almost immediately hangs on the Movie Importer tab. If I want to go into...
    Replies
    4
    Views
    482
    Top Bottom