MediaBrowser / trakt

Trakt plugin for Emby
MIT License
20 stars 16 forks source link

Syncing library to Trakt is not adding items to collection #12

Closed Dalstroem closed 1 year ago

Dalstroem commented 5 years ago

This plugin is no longer adding items to my Trakt collection when task "Sync library to Trakt.tv" is running. The last version that worked for me was version 3.3.0, and downgrading from 3.3.1 (or later) to 3.3.0 "fixes" the issue.

I the logs for 3.3.0 I can see that episodes are added to Trakt collection. This log entry is not present i version 3.3.1 or later:

2019-04-23 11:51:17.959 Info Trakt: Episodes to add to Collection: 6
...
2019-04-23 12:00:09.967 Info Trakt: Episodes to add to Collection: 0

System

Dalstroem commented 5 years ago

Okay, so apparently there is a new option for syncing collection status that was added in PR #11, that was disabled by default. It's enabled now and my collection is synced again.

After the first sync with "Sync Collection during Scheduled Task" enabled, a bunch of episodes was removed from my Trakt collection, that I have. All that removed episodes are part 2 of a double episode (2 episodes, 1 file). Everything I have followes the TV Naming guidelines: https://github.com/MediaBrowser/Wiki/wiki/TV-naming

From my log after first sync with "Sync Collection during Scheduled Task" enabled:

2019-04-29 08:40:06.314 Info Trakt: Movies to add to collection: 0
2019-04-29 08:40:06.317 Info Trakt: Movies to remove from collection: 5
2019-04-29 08:40:06.324 Info HttpClient: POST https://api.trakt.tv/sync/collection/remove
2019-04-29 08:40:06.615 Info Trakt: Movies to set watched: 0
2019-04-29 08:40:06.615 Info Trakt: Movies to set unwatched: 0
2019-04-29 08:40:06.615 Info HttpClient: GET https://api.trakt.tv/sync/watched/shows
2019-04-29 08:40:07.478 Info HttpClient: GET https://api.trakt.tv/sync/collection/shows?extended=metadata
2019-04-29 08:40:23.192 Info Trakt: Episodes to add to Collection: 14
2019-04-29 08:40:23.242 Info HttpClient: POST https://api.trakt.tv/sync/collection
2019-04-29 08:40:23.585 Info Trakt: Episodes to remove from Collection: 32
2019-04-29 08:40:23.590 Info HttpClient: POST https://api.trakt.tv/sync/collection/remove
2019-04-29 08:40:24.784 Info Trakt: Episodes to set watched: 0
2019-04-29 08:40:24.784 Info Trakt: Episodes to set unwatched: 0
2019-04-29 08:40:24.784 Info TaskManager: Sync library to trakt.tv Completed after 0 minute(s) and 21 seconds
Dalstroem commented 4 years ago

This is sadly still an issue. Files with 2 episodes ignores part 2 during sync to Trakt.

LukePulverenti commented 1 year ago

Closing due to age, but please feel free to reopen if you're still having an issue. I'm sure this has long been fixed. Thanks !