[Fixed] Trakt ratings not showing (1 Viewer)

Luca Brasi

MP Donator
  • Premium Supporter
  • November 14, 2007
    1,026
    119
    Home Country
    Germany Germany
    Hi @ltfearme

    thanks for the new version with the trakt ratings.
    They come up like that on my sys
    screen_mmnote_20150418_101141.jpg

    It looks like the sync took place cause the votings count is from trakt but the rating itself is a now show.
    I also noticed that not all episodes switched to the trakt rating. Some still show the tvdb ones.
    I'll pm some logs...
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,760
    7,224
    Sydney
    Home Country
    Australia Australia
    Thats odd, I don't see that problem as you can see below. I will check your logs for clues.
     

    Attachments

    • EpisodeView.jpg
      EpisodeView.jpg
      547.2 KB
    • SeriesView.jpg
      SeriesView.jpg
      522.9 KB

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,760
    7,224
    Sydney
    Home Country
    Australia Australia
    I have a feeling it might have something to do with how the value is inserted into the database, I saw in your logs the following:
    Code:
    progress received: UpdateCommunityRatings [1/1] Sherlock - Episode = 1x1, Rating = 9,08, Votes = 2226

    This indicates the rating is being stored in the database as 9,08 instead of 9.08 which the skin might expect.

    I will have to have a think of the best way to handle this now that the value is inserted into your database. This will probably happen for all german users or people that don't have a dot as a decimal seperator.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,760
    7,224
    Sydney
    Home Country
    Australia Australia
    I confirmed the tvseries skin formatting expects a dot separator for decimal values. It can be fixed in the skin by not using formatting rules but then every skin will probably need an update.

    I will probably force writing to the database using dot separator in the plugin so will most like require a plugin update.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,760
    7,224
    Sydney
    Home Country
    Australia Australia
    I made a change, im not happy with how I handled it but it should work. See new release to confirm.
     
    Last edited:

    Luca Brasi

    MP Donator
  • Premium Supporter
  • November 14, 2007
    1,026
    119
    Home Country
    Germany Germany
    Thanks! I just checked and the ratings look fine now. I don't understand half of your replies above but I guess as long as you can live with the solution - so can I :)
    I also checked those episodes which seemed to still show tvdb ratings and they are fine now as well. First some appeared with the old values but after mp restart they were fine.
    Btw I first tried to get the new release in the extensions manager and I got 2 different errors on 2 attempts. When just hitting the update button this one
    screen_mmnote_20150419_074525.jpg

    When selecting the new release from the list this one
    screen_mmnote_20150419_082433.jpg

    The manually downloaded version worked fine then.
     

    Users who are viewing this thread

    Top Bottom