Help figure out why movies/shows are being marked as unwatched (1 Viewer)

Requiem

MP Donator
  • Premium Supporter
  • January 1, 2012
    588
    216
    Home Country
    Germany Germany
    Note: Last Watched Dates for movie watched sync appears to be broken on the trakt side from my tests, hopefully this gets fixed soon (issue has been reported).

    Does this also affect synchronization of watched status? I have some series in my collection which I repeatedly marked as "already watched" and they keep reappearing as unwatched in my list. I have no idea if this is a Trakt or MPTVSeries issue, especially as others (which I regularly view and do not mark) will be marked correctly.
     

    pauls67

    Portal Member
    March 13, 2015
    23
    2
    Home Country
    United Kingdom United Kingdom
    For strange things happening with watched dates and things being marked as unwatched after they where initially set as watched have a look on Trakt to see if the item has a duplicate with a slightly different name

    For example I have just started watching the TV series Hi De Hi (I know its an oldie but still funny)

    I had all my local files as Hi De Hi S01E01.avi etc
    These got added to trakt, and flagged as watched, however the next day they all appeared as unwatched in MP

    looking in trakt to see if anything odd I found the series in there twice
    Hi De Hi
    and
    Hi-De-Hi

    renaming my files to Hi-De-Hi fixed the issue for me

    something odd on how it matched against one of the series when watching, but the other version later and saying I hadn't watched it

    Perhaps the movies with issues (above post) are in trakt twice with a slightly different spelling of the title causing issues

    Cheers
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Note: Last Watched Dates for movie watched sync appears to be broken on the trakt side from my tests, hopefully this gets fixed soon (issue has been reported).

    Does this also affect synchronization of watched status? I have some series in my collection which I repeatedly marked as "already watched" and they keep reappearing as unwatched in my list. I have no idea if this is a Trakt or MPTVSeries issue, especially as others (which I regularly view and do not mark) will be marked correctly.
    No problems as far as im aware, it could be because of bad data in your database e.g. invalid episodes or movie ids or something bad with the show/movie data online.

    You need to attach logs of a sync with debug mode logging enabled when its marking a locally watched movie as unwatched.

    All evidence is in the logs, please make sure the logs capture the problem i.e. start mediaportal ensure movie/show is watched, shutdown and restart mediaportal. Confirm movie/show is unwatched and then upload the logs.
     
    Last edited:

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    As @pauls67 mentions, it could be a duplicate show on trakt.tv. It is possible the API is matching against the a duplicate show and when returning the watched data gives me the ID of the show which is not the same as the one you have locally. When the plugin does a match of the online watched data against your local data it will see that the show is not watched and mark it as such.

    If you know the ID is correct in your local database i.e. matches against a valid show / episode at thetvdb.com and the problem still persists then you can mark that show as ignored in the trakt configuration. When its ignored all syncing of that show will be ignored.
     

    Requiem

    MP Donator
  • Premium Supporter
  • January 1, 2012
    588
    216
    Home Country
    Germany Germany
    Thanks, I'll report back when I am able to provide the logs.
     

    Requiem

    MP Donator
  • Premium Supporter
  • January 1, 2012
    588
    216
    Home Country
    Germany Germany
    @ltfearme Here are some logs.
    What I did: Started MePo. Markes a german TV series which I already watched ("Der Tatortreiniger") and which is affected by this as being watched (whole series at once from the MP TV Series Info menu).
    Started a sync from the trakt plugin. Series is being marked as unwatched (which you can see in the logs) as it is not flagged as watched in the TRakt library. But I think it should syncvhronize the other way around if I manually set it as being watched locally.
    Hope this helps.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    From the trakt logs I can see them being marked as watched from the GUI toggle watched, I also see those episodes being marked as unwatched on next sync.

    The problem is on your end as you have incorrectly mapped the series, if you look at the log entries you can see the information you have:
    Code:
    2015-04-21 11:39:44.984 [INFO] [Sync][50]: Start sync of tv episode unwatched state to local database
    2015-04-21 11:39:45.004 [INFO] [Sync][50]: Marking episode as unwatched in local database, episode is not watched on trakt.tv. Title = 'Der Tatortreiniger', Year = '2011', Season = '1', Episode = '1', Show TVDb ID = '254874', Show IMDb ID = 'tt2147995'
    2015-04-21 11:39:45.004 [INFO] [Sync][50]: Marking episode as unwatched in local database, episode is not watched on trakt.tv. Title = 'Der Tatortreiniger', Year = '2011', Season = '1', Episode = '2', Show TVDb ID = '254874', Show IMDb ID = 'tt2147995'
    2015-04-21 11:39:45.004 [INFO] [Sync][50]: Marking episode as unwatched in local database, episode is not watched on trakt.tv. Title = 'Der Tatortreiniger', Year = '2011', Season = '1', Episode = '3', Show TVDb ID = '254874', Show IMDb ID = 'tt2147995'
    2015-04-21 11:39:45.004 [INFO] [Sync][50]: Marking episode as unwatched in local database, episode is not watched on trakt.tv. Title = 'Der Tatortreiniger', Year = '2011', Season = '1', Episode = '4', Show TVDb ID = '254874', Show IMDb ID = 'tt2147995'
    2015-04-21 11:39:45.004 [INFO] [Sync][50]: Marking episode as unwatched in local database, episode is not watched on trakt.tv. Title = 'Der Tatortreiniger', Year = '2011', Season = '2', Episode = '1', Show TVDb ID = '254874', Show IMDb ID = 'tt2147995'
    2015-04-21 11:39:45.014 [INFO] [Sync][50]: Marking episode as unwatched in local database, episode is not watched on trakt.tv. Title = 'Der Tatortreiniger', Year = '2011', Season = '2', Episode = '2', Show TVDb ID = '254874', Show IMDb ID = 'tt2147995'
    2015-04-21 11:39:45.014 [INFO] [Sync][50]: Marking episode as unwatched in local database, episode is not watched on trakt.tv. Title = 'Der Tatortreiniger', Year = '2011', Season = '2', Episode = '3', Show TVDb ID = '254874', Show IMDb ID = 'tt2147995'
    2015-04-21 11:39:45.014 [INFO] [Sync][50]: Marking episode as unwatched in local database, episode is not watched on trakt.tv. Title = 'Der Tatortreiniger', Year = '2011', Season = '2', Episode = '4', Show TVDb ID = '254874', Show IMDb ID = 'tt2147995'
    2015-04-21 11:39:45.014 [INFO] [Sync][50]: Marking episode as unwatched in local database, episode is not watched on trakt.tv. Title = 'Der Tatortreiniger', Year = '2011', Season = '2', Episode = '5', Show TVDb ID = '254874', Show IMDb ID = 'tt2147995'
    2015-04-21 11:39:45.024 [INFO] [Sync][50]: Marking episode as unwatched in local database, episode is not watched on trakt.tv. Title = 'Der Tatortreiniger', Year = '2011', Season = '3', Episode = '1', Show TVDb ID = '254874', Show IMDb ID = 'tt2147995'
    2015-04-21 11:39:45.024 [INFO] [Sync][50]: Marking episode as unwatched in local database, episode is not watched on trakt.tv. Title = 'Der Tatortreiniger', Year = '2011', Season = '4', Episode = '1', Show TVDb ID = '254874', Show IMDb ID = 'tt2147995'
    2015-04-21 11:39:45.024 [INFO] [Sync][50]: Marking episode as unwatched in local database, episode is not watched on trakt.tv. Title = 'Der Tatortreiniger', Year = '2011', Season = '4', Episode = '2', Show TVDb ID = '254874', Show IMDb ID = 'tt2147995'
    2015-04-21 11:39:45.024 [INFO] [Sync][50]: Marking episode as unwatched in local database, episode is not watched on trakt.tv. Title = 'Der Tatortreiniger', Year = '2011', Season = '4', Episode = '3', Show TVDb ID = '254874', Show IMDb ID = 'tt2147995'
    2015-04-21 11:39:45.024 [INFO] [Sync][50]: Marking episode as unwatched in local database, episode is not watched on trakt.tv. Title = 'Der Tatortreiniger', Year = '2011', Season = '4', Episode = '4', Show TVDb ID = '254874', Show IMDb ID = 'tt2147995'
    2015-04-21 11:39:45.034 [INFO] [Sync][50]: Marking episode as unwatched in local database, episode is not watched on trakt.tv. Title = 'Der Tatortreiniger', Year = '2011', Season = '4', Episode = '5', Show TVDb ID = '254874', Show IMDb ID = 'tt2147995'

    The TVShow with TVDb ID does not exist: Show TVDb ID = '254874'. The correct one is http://thetvdb.com/?tab=series&id=289561

    You should delete that series entry from your local tvseries database and then re-import.

    Similarly you should also delete 'Die Kinder von Bullerbü' from your database as that is also incorrectly mapped locally. You have it mapped as 130561 instead of 130571.
     
    Last edited:

    Requiem

    MP Donator
  • Premium Supporter
  • January 1, 2012
    588
    216
    Home Country
    Germany Germany
    Thanks. Don't know why the first one got mapped wrong, it has been imported normally as all other shows (something got moved on thetvdb?). For the second one, 130561 is correct. 130571 is not on trakt.tv (don't know why), but this is a childrens tv show from the 60s, 130571 refers to a remake of 1986 with partially different titles, obviously.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    I suggest if you have a show which you can't find on trakt then ignore it from the trakt configuration tool. If you don't ignore it, it will always attempt to sync and could lead to unexpected results.

    Look at your logs occasionally and check the sync behaviour to see what is being synced to trakt.tv, if it is syncing something that it should of synced before then its typically something wrong with the IDs locally or trakt.tv have it incorrectly mapped or some other bug.
     

    Users who are viewing this thread

    Top Bottom