Different Language on different Series (1 Viewer)

barneh

MP Donator
  • Premium Supporter
  • February 4, 2010
    245
    54
    Malmö
    Home Country
    Sweden Sweden
    Hi!
    I'm almost finished with this implementation!
    There has been some issues on the way, but all except one is solved!

    The last issue is to get the plugin to fetch new meta data when the language preference for the selected series are changed inside MP.
    In Configuration mode it worked great - Change the language -> right click the series name, and choose Update.
    Inside Mediaportal I'm a little bit lost =(

    So how do I trigger a similar update inside MP as in the Configuration?
    In the import code I found that it looks at DBOnlineSeries.cOnlineDataImported. But I have tried to set it to 2 when the language is changed, without any luck :(
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    IIRC, in GUI, if you do a Action->Update it does the same as Configuration.

    So you can take a look at the code that does that.
     

    barneh

    MP Donator
  • Premium Supporter
  • February 4, 2010
    245
    54
    Malmö
    Home Country
    Sweden Sweden
    Here's the patch!

    No problem =)

    I will start looking into an other "problem" I have with the plugin.
    That is that it count special (season 0) episodes in the not watched status... so the plan is to have an option that says something like "Don't count the Special season episodes as Unwatched Episodes" and then don't count the zero season.
     

    Attachments

    • DifferentLanguage.patch
      40.5 KB

    ltfearme

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

    Thanks and congrats on the patch ;)

    I have committed it to trunk with some minor updates so be sure to get the latest source. I just added the translations to en-US.xml as that is linked to transifex such that people can translate the strings.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Here is a test DLL in case people want to test and get fixes before next official release.

    It includes other stuff not related but thats what you get with experimental releases :)
     

    Attachments

    • MP-TVSeries.zip
      533.9 KB

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    I don't have one, just whenever.

    Will try for a week from now, unless something comes up.
     

    barneh

    MP Donator
  • Premium Supporter
  • February 4, 2010
    245
    54
    Malmö
    Home Country
    Sweden Sweden
    Okay great! Hopefully I managed to supply my second patch before the release.
    I'm also gone test my languages patch on one of my systems, not only the test system...
     

    Users who are viewing this thread

    Top Bottom