Different Language on different Series (1 Viewer)

barneh

MP Donator
  • Premium Supporter
  • February 4, 2010
    245
    54
    Malmö
    Home Country
    Sweden Sweden
    Hi!
    I have tested to import a series and there a problem with my implementation!
    In OnlineAPI.cs on line 84:
    if (seriesLanguage.Count > 0) //this is always true =(

    So this has to change to:
    if ( (seriesLanguage.Count > 0) && (seriesLanguage[0] != "") ) //this becomes right!

    So what's happening is that when the TV-Series does an import of a new series... it does get a language. So the import becomes strange =(

    Should I commit this change as a patch or do you ltfearme add this?
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Im sure I can make that change for you barneh, if you like I can give you commit rights to SVN? PM me you gmail/email if you want access.
     

    barneh

    MP Donator
  • Premium Supporter
  • February 4, 2010
    245
    54
    Malmö
    Home Country
    Sweden Sweden
    Wow... thanks for the offer, but I don't know!?!
    I had two personal things that I wanted to fix in MP TV-Series... and now I'm finished with them!

    I'll think I'm good for now... I gone do a bigger test of my changes in the coming days!

    If the tests is working out okay, I'll send you another patch.... :)
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    You can do an SVN update @barneh, fix applied in r2107.

    Test DLL attached for those that are testing.
     

    Attachments

    • MP-TVSeries_r2107.zip
      915.4 KB

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    I haven't checked your patch (been too busy), but does it also get correct language for artwork when you override the language?
     

    barneh

    MP Donator
  • Premium Supporter
  • February 4, 2010
    245
    54
    Malmö
    Home Country
    Sweden Sweden
    To be honest I haven't checked what happends with the artwork. All I know is that when I do an update no artwork disappears and adds. For me the main thing was to get the meta data for the series in the correct language...
    But I'll keep this in mind when I do my test later on...
     

    Users who are viewing this thread

    Top Bottom