Jump to content

Trakt.tv not marking anything watched


AllanMarcus

Recommended Posts

AllanMarcus

Hello.

 

I've installed Emby and imported my tv, movie, and music libraries. I use Kodi and Plex, and both sync to Trakt.tv. I've verified that shows and movies in Trakt.tv are marked as watched.

 

When I sync with the Emby Trakt plugin, it connects, but doesn't make anything as watched.

 

Note: trakt debugging was on for the run with the log file below. 

 

5a6957f964570_ScreenShot20180124at90643P

 

Log file attached.

 

Any ideas? Thanks. 

emby_log.txt

Edited by AllanMarcus
Link to comment
Share on other sites

@@AllanMarcus

 

Hi, are your tv and movie libraries tagged with imdb id's or tvdb/tmdb id's? That's what we need in order to match data up with trakt.

 

Check one of the movies that didn't update. Thanks.

Link to comment
Share on other sites

AllanMarcus

@@AllanMarcus

 

Hi, are your tv and movie libraries tagged with imdb id's or tvdb/tmdb id's? That's what we need in order to match data up with trakt.

 

Check one of the movies that didn't update. Thanks.

 

Yes, they are.

Link to comment
Share on other sites

can you give an example of something whose watch status didn't update, and tell us what you expected to happen? thanks !

Link to comment
Share on other sites

AllanMarcus

can you give an example of something whose watch status didn't update, and tell us what you expected to happen? thanks !

 

 

I would be happy to.

 

When a movie or episode is marked watched on Trakt, after the sync that movie or episode should be marked watched in Emby. This is how it works for the Kodi and Plex plug in.

 

For example, I use Plex and watch a show. The plex trakt plug in marks the show watched on trakt. Then when the Emby trakt plugin syncs, that episode should be marked watched in Emby.

 

In my current situation, I just started with Emby. I assumed I could just sync (pull) from Track.tv and it would mark watched all the stuff that is watched in Track.tv. 

Edited by AllanMarcus
Link to comment
Share on other sites

Angelblue05

Can you confirm your content is correctly identified in Emby? That they have the proper imdb/tvdb/tmdb id assigned?

 

I'll test on my side and let you know if I'm able to reproduce this. Luke doesn't have trakt so it's harder for him to confirm there is an issue. I don't mind helping out. :)

Link to comment
Share on other sites

paulsalter

I use Trakt quite a bit and just tested

 

Marked something watched on the website, when running the Import Playstates from Trakt, this item is marked as watched in Emby

 

One thing i notice in the above screenshot, I have the update watched history on trakt ticked

Cant remember what the default is for this, so the description 'By default', could vary depending on the default state of this tick box

Link to comment
Share on other sites

Angelblue05

It's working for me. For some reason, I had issues with the plugin not being authorized to access my trakt account. So I set up another pin and now it works.

 

@@AllanMarcus

 

When you run the task, do you see errors in your server log? How long is the sync?

Edited by Angelblue05
Link to comment
Share on other sites

AllanMarcus

Can you confirm your content is correctly identified in Emby? That they have the proper imdb/tvdb/tmdb id assigned?

 

I'll test on my side and let you know if I'm able to reproduce this. Luke doesn't have trakt so it's harder for him to confirm there is an issue. I don't mind helping out. :)

 

I spot checked a few, and they look like they are identified correctly.

 

I use Trakt quite a bit and just tested

 

Marked something watched on the website, when running the Import Playstates from Trakt, this item is marked as watched in Emby

 

One thing i notice in the above screenshot, I have the update watched history on trakt ticked

Cant remember what the default is for this, so the description 'By default', could vary depending on the default state of this tick box

 

I was under the impression Playstates was a percent complete thing.Regardless, I tried that and no luck. Shows and Movies are all still marked unwatched.

 

Update Watched history looks like it set trakt to the state from Emby. I do't want that. That would set everything as unwatched in trakt, I think. 

 

 

It's working for me. For some reason, I had issues with the plugin not being authorized to access my trakt account. So I set up another pin and now it works.

 

@@AllanMarcus

 

When you run the task, do you see errors in your server log? How long is the sync?

 

If I put an incorrect code in, it fails. If I put a correct code in, it takes less than 30 seconds. See attached log above.

 

It would be REALLY helpful if the description of the option said : When on, this does this, when Off, it does that. Using the term "default" is pretty useless

 

Thanks for all the help. I'm hopeful this will be figured out.

Link to comment
Share on other sites

AllanMarcus

Heres is the import playstates task log with both debugging turned on:

 

2018-01-26 06:52:59.530 Info TaskManager: Executing Import playstates from Trakt.tv
2018-01-26 06:52:59.530 Info HttpServer: HTTP Response 204 to fe80::feaa:14ff:fe9b:5e14%2. Time: 5ms. http://linuxserver.local:8096/emby/ScheduledTasks/Running/5e47e7d3542ace9c367691a65cb31e86
2018-01-26 06:52:59.531 Info HttpClient: GET: https://api.trakt.tv/sync/watched/movies
2018-01-26 06:52:59.533 Info HttpServer: HTTP GET http://linuxserver.local:8096/emby/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/604.3.5 (KHTML, like Gecko) Version/11.0.1 Safari/604.3.5
2018-01-26 06:52:59.534 Info HttpServer: HTTP Response 200 to fe80::feaa:14ff:fe9b:5e14%2. Time: 1ms. http://linuxserver.local:8096/emby/ScheduledTasks?isHidden=false
2018-01-26 06:52:59.938 Info HttpClient: GET: https://api.trakt.tv/sync/watched/shows
2018-01-26 06:53:00.726 Info Trakt: Trakt.tv watched Movies count = 366
2018-01-26 06:53:00.726 Info Trakt: Trakt.tv watched Shows count = 278
2018-01-26 06:53:03.149 Info TaskManager: Import playstates from Trakt.tv Completed after 0 minute(s) and 3 seconds
2018-01-26 06:53:03.150 Info ServerManager: Sending web socket message ScheduledTaskEnded
2018-01-26 06:53:03.150 Info TaskManager: ExecuteQueuedTasks

 

 

 

Nothing. Maybe that is the issue. Import Playstates  doesn't appear to be working.

Edited by AllanMarcus
Link to comment
Share on other sites

Angelblue05

@@Luke

 

Yes. From trakt.

 

Unwatched in Emby, Watched in Trakt. Import from Trakt = Watched in Emby.

Edited by Angelblue05
Link to comment
Share on other sites

Angelblue05

@@AllanMarcus

 

I know it sounds a bit crazy but with your log, it can clearly see trakt watched status. Are you certain the trakt task isn't working? Maybe you are logged on the wrong user vs where Trakt is syncing the watched status to?

 

I know the user name dropdown is buggy in the plugin settings. It always resets to the first user in the list after hitting save (even if it shows the correct user info elsewhere). Can you make sure the credentials of Trakt are assigned to the right user?

Edited by Angelblue05
Link to comment
Share on other sites

AllanMarcus

I only have one user profile, and it's the same user, but....

 

Good lord, it's working now. I don't get it. I really don't understand why it's working now. When I say "it's working now", I mean nothing has changed, but all my watched shows are marked as watched now. They were no before. I can only surmise that some action was talking place in the background. Some action that doesn't get logged, and it just took time to complete.

 

Well, mark this one closed and solved by sun spots. 

  • Like 1
Link to comment
Share on other sites

  • 11 months later...

I have the exact same problem. I have just installed Emby Server and one of the first things I wanted to do is to sync the watch state from Trakt.tv to Emby, because everything is unwatched in Emby right now.

 

I have checked and all the tvdb/imdb ids are in the movies and in the shows (don´t know how to check the episodes but they are there with the right Season/episode information.

I have tried using different browsers, Edge and Chrome. I have tried to restart the server.

 

I change and save the settings at the right user with Trakt settings in Emby.
The Authentication PIN is not there the second time I go in to Trakt settings in Emby, but that may be by design.

 

Here is the log:

2019-01-13 01:26:01.208 Info TaskManager: Executing Import playstates from Trakt.tv
2019-01-13 01:26:01.208 Info HttpServer: HTTP Response 204 to 10.9.8.246. Time: 2ms. http://10.9.8.74:8096/emby/ScheduledTasks/Running/5e47e7d3542ace9c367691a65cb31e86
2019-01-13 01:26:01.211 Info HttpClient: GET https://api.trakt.tv/sync/watched/movies
2019-01-13 01:26:01.218 Info HttpServer: HTTP GET http://10.9.8.74:8096/emby/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
2019-01-13 01:26:01.221 Info HttpServer: HTTP Response 200 to 10.9.8.246. Time: 3ms. http://10.9.8.74:8096/emby/ScheduledTasks?isHidden=false
2019-01-13 01:26:01.471 Info HttpClient: GET https://api.trakt.tv/sync/watched/shows
2019-01-13 01:26:02.272 Info Trakt: Trakt.tv watched Movies count = 66
2019-01-13 01:26:02.272 Info Trakt: Trakt.tv watched Shows count = 271
2019-01-13 01:26:02.630 Info HttpClient: GET https://api.trakt.tv/sync/watched/movies
2019-01-13 01:26:02.931 Info HttpClient: GET https://api.trakt.tv/sync/watched/shows
2019-01-13 01:26:04.846 Info Trakt: Trakt.tv watched Movies count = 66
2019-01-13 01:26:04.846 Info Trakt: Trakt.tv watched Shows count = 271
2019-01-13 01:26:05.168 Info TaskManager: Import playstates from Trakt.tv Completed after 0 minute(s) and 3 seconds
2019-01-13 01:26:05.170 Info TaskManager: ExecuteQueuedTasks

 
I am out of ideas!
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...