Different Language on different Series | Page 2

Discussion in 'My TVSeries' started by barneh, December 30, 2014.

  1. barneh
    • Premium Supporter

    barneh MP Donator

    Joined:
    February 4, 2010
    Messages:
    242
    Likes Received:
    27
    Location:
    Malmö
    Ratings:
    +53 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    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 :(
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,457
    Likes Received:
    4,241
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,385 / 0
    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.
     
  4. barneh
    • Premium Supporter

    barneh MP Donator

    Joined:
    February 4, 2010
    Messages:
    242
    Likes Received:
    27
    Location:
    Malmö
    Ratings:
    +53 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    Thanks!
    That work :)

    So then I'm finished!
    How do I commit? Submitting a patch like here?
     
    • Like Like x 1
    • Thank You! Thank You! x 1
  5. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,457
    Likes Received:
    4,241
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,385 / 0
    Home Country:
    Australia Australia
    Yeah, submitting a patch is fine.

    Thanks for you work.
     
  6. barneh
    • Premium Supporter

    barneh MP Donator

    Joined:
    February 4, 2010
    Messages:
    242
    Likes Received:
    27
    Location:
    Malmö
    Ratings:
    +53 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    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.
     

    Attached Files:

    • Like Like x 2
  7. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,457
    Likes Received:
    4,241
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,385 / 0
    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.
     
    • Thank You! Thank You! x 1
  8. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,457
    Likes Received:
    4,241
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,385 / 0
    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 :)
     

    Attached Files:

    • Like Like x 2
  9. barneh
    • Premium Supporter

    barneh MP Donator

    Joined:
    February 4, 2010
    Messages:
    242
    Likes Received:
    27
    Location:
    Malmö
    Ratings:
    +53 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    When is it schedule?
     
  10. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,457
    Likes Received:
    4,241
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,385 / 0
    Home Country:
    Australia Australia
    I don't have one, just whenever.

    Will try for a week from now, unless something comes up.
     
  11. barneh
    • Premium Supporter

    barneh MP Donator

    Joined:
    February 4, 2010
    Messages:
    242
    Likes Received:
    27
    Location:
    Malmö
    Ratings:
    +53 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    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...
     
    • Like Like x 1
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!