[solved] - Some episodes appear back as unwatched

Discussion in 'Trakt' started by D3ltoroxp, January 12, 2015.

  1. D3ltoroxp
    • Premium Supporter

    D3ltoroxp MP Donator

    Joined:
    June 1, 2008
    Messages:
    3,308
    Likes Received:
    133
    Gender:
    Male
    Ratings:
    +207 / 9
    Home Country:
    Germany Germany
    Show System Specs
    Here at the update 5.0.4 no more crashes i think the weekend runs good without problems. But i have deactivate the sync Option because the know'n issues. He markt something in seasons to unwached, that i look 30 mins ago or yesterday. So i will wait that trakt site runs stable


     
    • Thank You! Thank You! x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,264
    Likes Received:
    6,218
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,224 / 9
    Home Country:
    France France
    Show System Specs
    Hi :) i notice that some of my series are back as non watched, it's weird, sometimes it's some episodes and sometimes the whole saison lol
     
  4. 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 have noticed two episodes recently myself, then I checked again and they were marked as watched.

    It could be a hiccup on the trakt servers not giving me back your correct watched history or it could be a problem with the way I check the local cached watchedhistory against the online history (this is how things are marked as unwatched locally).

    Since it doesn't continuously happen with the same episodes, my gut tells me is that trakt did not give back the correct watched history for comparison. Hopefully all the user data is now imported on their end and this is less likely to happen...but do keep an eye on it, a debug trakt log help narrow down these types of issues.
     
  5. Bernard

    Bernard Portal Pro

    Joined:
    March 5, 2012
    Messages:
    103
    Likes Received:
    20
    Gender:
    Male
    Occupation:
    Software Engineer
    Location:
    Centurion
    Ratings:
    +25 / 0
    Home Country:
    South Africa South Africa
    Show System Specs
    I'm also experiencing this. This was yesterday. I don't have logs. Will check if this happens again...
     
  6. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,264
    Likes Received:
    6,218
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,224 / 9
    Home Country:
    France France
    Show System Specs
    I will try your new version, i always end-up into old show comes as not seen (Legend continuun etc.) :)
    If it happen again, i will grab log :)
    Thanks for new version :)
     
  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
    A possible fix was pushed up online which should hopefully fix any issues with items being marked as unwatched in your local databases.

    Keep an eye out if it happens again and most importantly give me logs if it does so I can see evidence :)
     
  8. tony72
    • Premium Supporter

    tony72 MP Donator

    Joined:
    August 15, 2009
    Messages:
    174
    Likes Received:
    17
    Ratings:
    +58 / 0
    Home Country:
    England England
    Show System Specs
    I'm also seeing this issue. In the attached log, you can see starting at 2015-01-23 22:09:54.733 that season 2 episode 8 of The 100 was watched, and as far as I can tell it was successfully scrobbled and marked as watched. But then at 2015-01-24 08:03:17.745 you can see the same episode being marked as unwatched, "Marking episode as unwatched in local database, episode is not watched on trakt.tv".
     
  9. 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
    Damn, wish that was a debug log :( It would of been more helpful, it's hard to determine where error is.

    Could you also attach the file:
    C:\ProgramData\Team MediaPortal\MediaPortal\Trakt\tony72\Library\Episodes\Watched.json

    I would expect that episode above will not be in there if it just got recently saved this morning from an online update.

    Im going to make a few logging updates so I definitely get what I need in Info logging for diagnosing these issues.

    But as you say, it did look like you successfully scrobbled (watched) 'The 100 - 2x08', the question is if it retrieved your watched history online in this bit:
    Code (Text):
    1.  
    2. 2015-01-24 08:03:15.485 [INFO] [Sync][29]: Getting user tony72's unwatched episodes from trakt.tv
    3. 2015-01-24 08:03:16.985 [INFO] [Sync][29]: Comparing previous watched episodes against current watched episodes such that unwatched can be determined
    4.  
    There was 500ms gap here, so I suspect it did go online to get a refreshed watched history. In debug log you would see something like:
    Code (Text):
    1.  
    2. TV episode watched history cache is out of date and does not match online data....
    3.  
    Let's re-visit this tomorrow or next day it might occur just incase the push online for the fix was after your scrobble ( I doubt it but im hoping ). If you can also enable debug logging whilst testing this that would be great but I understand if not as it's very verbose and can make your log huge.
     
    Last edited: January 24, 2015
  10. tony72
    • Premium Supporter

    tony72 MP Donator

    Joined:
    August 15, 2009
    Messages:
    174
    Likes Received:
    17
    Ratings:
    +58 / 0
    Home Country:
    England England
    Show System Specs
    No problem, the "watched.json" is attached (had to change the extension to get the forum to let me upload it). I've turned debug logging on now, so if it happens again, there will be more info.
     

    Attached Files:

    • Watched.txt
      File size:
      212.3 KB
      Uploaded:
      January 24, 2015
      Views:
      64
    • Thank You! Thank You! x 1
  11. 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
    @tony72 ,

    I reviewed the caching logic client side and noticed a bug for TVSeries Sync not re-setting the cache for last_acitivites. If I detect no changes to this then I dont pull the latest watched history online, when I do a comparison I might find that anything scrobbled whilst the machine has been left running could be potentially marked as unwatched on next sync as a result.

    This wouldn't happen always as there are other places where it gets reset but it could happen and might explain why it still occurs after the fix online was pushed.
     
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!