Jump to content

Trakt TV Plugin library sync


Vidarr

Recommended Posts

Vidarr

Hello there,

 

I get a bug since the 10 february i can't manage to synchronize my library with trakt.

 

i tryed to solve it myself but didn't work well :/.

 

Here are the log when the crash occur

2018-03-07 08:42:35.405 Info TaskManager: Executing Sync library to trakt.tv
2018-03-07 08:42:35.405 Info HttpServer: HTTP Response 204 to 192.168.1.1. Time: 4ms. http://nasvidar.myqnapcloud.com:8096/emby/ScheduledTasks/Running/b1a52e63d5fb09335557d4f1e6402299 
2018-03-07 08:42:35.408 Info HttpClient: POST https://api.trakt.tv/oauth/token
2018-03-07 08:42:35.463 Info HttpServer: HTTP GET http://nasvidar.myqnapcloud.com:8096/emby/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0
2018-03-07 08:42:35.467 Info HttpServer: HTTP Response 200 to 192.168.1.1. Time: 4ms. http://nasvidar.myqnapcloud.com:8096/emby/ScheduledTasks?isHidden=false 
2018-03-07 08:42:36.148 Info HttpClient: POST https://api.trakt.tv/oauth/token2018-03-07 08:42:36.185 Info HttpServer: HTTP GET http://192.168.1.36:8096/emby/Videos/d354727026227f78355be2c14decaa83/stream.mkv?Static=true&mediaSourceId=d354727026227f78355be2c14decaa83&deviceId=DESKTOP-0BVVC9F&Tag=0c2a73aecdbe40aadcda6f3402802d48. User-Agent=mpv 0.28.0, Accept=*/*, Range=bytes=228375-, Connection=close, Host=192.168.1.36:8096, Icy-MetaData=1
2018-03-07 08:42:36.897 Info HttpClient: POST https://api.trakt.tv/oauth/token
2018-03-07 08:42:37.141 Error TaskManager: Error
	*** Error Report ***
	Version: 3.3.1.0
	Command line: /share/CACHEDEV2_DATA/.qpkg/EmbyServer/system/EmbyServer.dll -programdata /share/CACHEDEV2_DATA/.qpkg/EmbyServer/programdata -ffmpeg /share/CACHEDEV2_DATA/.qpkg/EmbyServer/bin/ffmpeg -ffprobe /share/CACHEDEV2_DATA/.qpkg/EmbyServer/bin/ffprobe -defaultdirectory /share/CACHEDEV1_DATA -updatepackage emby-server-qnap_{version}_x86_64.qpkg
	Operating system: Unix 3.4.6.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 4
	Program data path: /share/CACHEDEV2_DATA/.qpkg/EmbyServer/programdata
	Application directory: /share/CACHEDEV2_DATA/.qpkg/EmbyServer/system
	MediaBrowser.Model.Net.HttpException: Unauthorized
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.<SendAsyncInternal>d__20.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.<SendAsync>d__17.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<PostToTrakt>d__30.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<RefreshUserAuth>d__26.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<SetRequestHeaders>d__31.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<GetFromTrakt>d__28.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<SendGetAllWatchedMoviesRequest>d__18.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.ScheduledTasks.SyncLibraryTask.<SyncMovies>d__12.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.ScheduledTasks.SyncLibraryTask.<SyncUserLibrary>d__11.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.ScheduledTasks.SyncLibraryTask.<Execute>d__10.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()
	MediaBrowser.Model.Net.HttpException
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.<SendAsyncInternal>d__20.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.<SendAsync>d__17.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<PostToTrakt>d__30.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<RefreshUserAuth>d__26.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<SetRequestHeaders>d__31.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<GetFromTrakt>d__28.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<SendGetAllWatchedMoviesRequest>d__18.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.ScheduledTasks.SyncLibraryTask.<SyncMovies>d__12.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.ScheduledTasks.SyncLibraryTask.<SyncUserLibrary>d__11.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.ScheduledTasks.SyncLibraryTask.<Execute>d__10.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()
	
2018-03-07 08:42:37.141 Info TaskManager: Sync library to trakt.tv Failed after 0 minute(s) and 1 seconds
2018-03-07 08:42:37.164 Error NotificationManager: Error sending notification to Dashboard Notifications
	*** Error Report ***
	Version: 3.3.1.0
	Command line: /share/CACHEDEV2_DATA/.qpkg/EmbyServer/system/EmbyServer.dll -programdata /share/CACHEDEV2_DATA/.qpkg/EmbyServer/programdata -ffmpeg /share/CACHEDEV2_DATA/.qpkg/EmbyServer/bin/ffmpeg -ffprobe /share/CACHEDEV2_DATA/.qpkg/EmbyServer/bin/ffprobe -defaultdirectory /share/CACHEDEV1_DATA -updatepackage emby-server-qnap_{version}_x86_64.qpkg
	Operating system: Unix 3.4.6.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 4
	Program data path: /share/CACHEDEV2_DATA/.qpkg/EmbyServer/programdata
	Application directory: /share/CACHEDEV2_DATA/.qpkg/EmbyServer/system
	Corrupt: database disk image is malformed
	SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
	   at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
	   at SQLitePCL.pretty.StatementImpl.MoveNext()
	   at Emby.Server.Implementations.Notifications.SqliteNotificationsRepository.<>c__DisplayClass18_0.<ReplaceNotification>b__0(IDatabaseConnection conn)
	   at SQLitePCL.pretty.DatabaseConnection.<>c__DisplayClass20_0.<RunInTransaction>b__0(IDatabaseConnection db)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction[T](IDatabaseConnection This, Func`2 f, TransactionMode mode)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction(IDatabaseConnection This, Action`1 action, TransactionMode mode)
	   at Emby.Server.Implementations.Notifications.SqliteNotificationsRepository.<ReplaceNotification>d__18.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.Implementations.Notifications.SqliteNotificationsRepository.<AddNotification>d__17.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.Implementations.Notifications.NotificationManager.<SendNotification>d__11.MoveNext()
	SQLitePCL.pretty.SQLiteException
	   at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
	   at SQLitePCL.pretty.StatementImpl.MoveNext()
	   at Emby.Server.Implementations.Notifications.SqliteNotificationsRepository.<>c__DisplayClass18_0.<ReplaceNotification>b__0(IDatabaseConnection conn)
	   at SQLitePCL.pretty.DatabaseConnection.<>c__DisplayClass20_0.<RunInTransaction>b__0(IDatabaseConnection db)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction[T](IDatabaseConnection This, Func`2 f, TransactionMode mode)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction(IDatabaseConnection This, Action`1 action, TransactionMode mode)
	   at Emby.Server.Implementations.Notifications.SqliteNotificationsRepository.<ReplaceNotification>d__18.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.Implementations.Notifications.SqliteNotificationsRepository.<AddNotification>d__17.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.Implementations.Notifications.NotificationManager.<SendNotification>d__11.MoveNext()
	
Link to comment
Share on other sites

Quiptix

Which error would you like to be solved.

The first error: You need to re-authorize with Trakt (had the same problem this week)

The second error: You need to delete the notification database file. (Had this problem a couple of months ago), see: https://emby.media/community/index.php?/topic/54228-notification-database-corrupt/&do=findComment&comment=524499

  • Like 1
Link to comment
Share on other sites

Vidarr

1) I re-authorize it again yesterday still nothing.

I use the pincode and validate but nothing change.

2) There's no MD0_DATA in /share i tryed ls, find and locate (i'm updating my DB didn't do it for a long time that's maybe why he didn't find anything) command to find EmbyServer or Emby and nothing come out.

 

Thank you for your answer btw

 

EDIT : i found it in /share/CACHEDEV2_DATA/.qpkg/EmbyServer/programdata/data

 

EDIT 2 : i precise that i can import my playstate from Trakt.tv

Edited by Vidarr
Link to comment
Share on other sites

J2ghz

@@Vidarr does the EDIT 2 mean you issues is now solved? If not, I will need you to send your log with both emby debug logging and trakt debug logging enabled.

Link to comment
Share on other sites

Vidarr

I forced it using different code pin and testing it for like 30 mins until suddently for no reason it worked x).

Edited by Vidarr
Link to comment
Share on other sites

Vidarr

@@smc007i you should simply spam accept emby using trakt get a pin insert it force synchronize and spam it until it work. Btw when you copy paste pin they are in minimal letter i had to change it manually and after 10-15 pin suddently worked.

Link to comment
Share on other sites

smc007i

@@smc007i you should simply spam accept emby using trakt get a pin insert it force synchronize and spam it until it work. Btw when you copy paste pin they are in minimal letter i had to change it manually and after 10-15 pin suddently worked.

 

@@Vidarr When you say spam do you mean try different pins ... like get pin, input, sync, get new pin, input, sync, get new pin, input, sync etc. etc.until it syncs without fail?

Link to comment
Share on other sites

  • 2 weeks later...
Quiptix

I'm also having similar problems, I've tried to generate a new key on Trakt a number of times and still it fails.

 

@@Quiptix would you be able to diagnose my log file too and see if it is something different please?

Sorry for not responding. I'm not one of the Emby team and I didn't find any clue. It seems a bit trial and error here

Link to comment
Share on other sites

smc007i

Thanks for looking @@Quiptix

 

Does anyone know if this is a problem with the Emby Plugin or with the Trakt site responding?  Is there a time limit on the validity of the token from Trakt?  Does it take time to become active or does it expire quickly?

 

Update: Finally got it to link, but now it fails after 3:32 of running (previously it was instant in like 3 secs), it says its 100% for a while, but it's not sending the watched stats as on the Trakt site it has me last watching something on Feb 18, when I watched things right up until Mar 24th.  Attached log, any further ideas on why my watches aren't transferring?

 

Who's the author of the App on this?

 

Emby Log 2018-03-25.txt

Edited by smc007i
Link to comment
Share on other sites

J2ghz

@@smc007i I was able to replicate your issue by going to "/opt/emby/data/plugins/configurations/Trakt.xml" and editing this line:

      <AccessTokenExpiration>2018-03-14T18:25:23.084533+00:00</AccessTokenExpiration>

Emby has to be turned off while you're doing this. If your date is in the past like this, remove this line, and both AccessToken and RefreshToken lines. (Alternatively just delete the whole file.) After you delete the lines or whole file, go to settings and put in a new PIN.

If the date is in the past the Trakt plugin is supposed to remove AccessToken and use RefreshToken to get a new AccessToken, but it fails. Working on a fix.

Link to comment
Share on other sites

  • 2 weeks later...
dbott

Hi...

 

Just looking at my log to see if mine was working and it is. So that is good.  I do have a few things in the log however and not sure how solve them.

 

The first issue is Trakt says it can not find something... Peter Gabriel: Live in Athens 1987 ...So thinking maybe it had a bad NFO or something, even if I delete the files in the directory and Emby scans it and remakes it, it still has issues.  The IMDB ID is correct and I can find it in Trackt if I search for it manually on their site.  So not sure why that may be.

 

The second part is the other errors, I have no idea what they are as they do not seem to refer to anything. It's the other....The TraktResponse not Found: errors for the collection and history routines. 

 

Thank you.

2018-04-08 23:51:50.475 Info TaskManager: Executing Sync library to trakt.tv
2018-04-08 23:51:50.476 Info HttpServer: HTTP Response 204 to 192.168.1.100. Time: 1ms. http://192.168.1.200:8096/emby/ScheduledTasks/Running/b1a52e63d5fb09335557d4f1e6402299 
2018-04-08 23:51:50.476 Info HttpClient: GET https://api.trakt.tv/sync/watched/movies
2018-04-08 23:51:50.488 Info HttpServer: HTTP GET http://192.168.1.200:8096/emby/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
2018-04-08 23:51:50.489 Info HttpServer: HTTP Response 200 to 192.168.1.100. Time: 1ms. http://192.168.1.200:8096/emby/ScheduledTasks?isHidden=false 
2018-04-08 23:51:51.598 Info HttpClient: GET https://api.trakt.tv/sync/collection/movies?extended=metadata
2018-04-08 23:51:53.371 Info Trakt: Movies to add to Collection: 1
2018-04-08 23:51:53.372 Info HttpClient: POST https://api.trakt.tv/sync/collection
2018-04-08 23:51:53.928 Error Trakt: TraktResponse not Found:{"title":"Peter Gabriel: Live in Athens 1987","year":2013,"ids":{"imdb":"tt3659066"}}
2018-04-08 23:51:53.928 Info Trakt: Movies to set watched: 1
2018-04-08 23:51:53.929 Info HttpClient: POST https://api.trakt.tv/sync/history
2018-04-08 23:51:54.528 Error Trakt: TraktResponse not Found:{"title":"Peter Gabriel: Live in Athens 1987","year":2013,"ids":{"imdb":"tt3659066"}}
2018-04-08 23:51:54.528 Info Trakt: Movies to set unwatched: 0
2018-04-08 23:51:54.528 Info HttpClient: GET https://api.trakt.tv/sync/watched/shows
2018-04-08 23:51:55.461 Info HttpClient: GET https://api.trakt.tv/sync/collection/shows?extended=metadata
2018-04-08 23:51:57.064 Info Trakt: Episodes to add to Collection: 12
2018-04-08 23:51:57.065 Info HttpClient: POST https://api.trakt.tv/sync/collection
2018-04-08 23:51:57.519 Error Trakt: TraktResponse not Found:{"ids":{"tvdb":73545,"tvrage":2730}}
2018-04-08 23:51:57.519 Error Trakt: TraktResponse not Found:{"ids":{"tvdb":333402}}
2018-04-08 23:51:57.519 Error Trakt: TraktResponse not Found:{"ids":{"imdb":"tt0799862","tvdb":85040,"tvrage":11011}}
2018-04-08 23:51:57.519 Error Trakt: TraktResponse not Found:{"ids":{"imdb":"tt1533435","tvdb":123721,"tvrage":24313}}
2018-04-08 23:51:57.520 Error Trakt: TraktResponse not Found:{"ids":{"imdb":"tt1533435","tvdb":123721,"tvrage":24313}}
2018-04-08 23:51:57.520 Info Trakt: Episodes to set watched: 6
2018-04-08 23:51:57.520 Info HttpClient: POST https://api.trakt.tv/sync/history
2018-04-08 23:51:58.192 Error Trakt: TraktResponse not Found:{"ids":{"tvdb":73545,"tvrage":2730}}
2018-04-08 23:51:58.192 Error Trakt: TraktResponse not Found:{"ids":{"imdb":"tt0799862","tvdb":85040,"tvrage":11011}}
2018-04-08 23:51:58.192 Error Trakt: TraktResponse not Found:{"ids":{"imdb":"tt1533435","tvdb":123721,"tvrage":24313}}
2018-04-08 23:51:58.192 Error Trakt: TraktResponse not Found:{"ids":{"imdb":"tt1533435","tvdb":123721,"tvrage":24313}}
2018-04-08 23:51:58.192 Info Trakt: Episodes to set unwatched: 0
2018-04-08 23:51:58.192 Info TaskManager: Sync library to trakt.tv Completed after 0 minute(s) and 7 seconds
Link to comment
Share on other sites

dbott

Spoke too soon, after going into the site, now it no longer worked. I put in a new number and it started working again.  I guess if you go into the Trackt, then it no longer works without a new code.  Yes, not a good thing. :)

2018-04-09 00:11:29.778 Error Trakt: Tried to reauthenticate with Trakt, but neither PIN nor refreshToken was available
2018-04-09 00:11:29.779 Info Trakt: No Movie Adds to Process
2018-04-09 00:11:29.779 Info Trakt: No Episode Deletes to Process
2018-04-09 00:11:29.779 Info Trakt: No Episode Adds to Process
2018-04-09 00:11:29.779 Info Trakt: No Series Deletes to Process
2018-04-09 00:11:30.211 Info HttpClient: POST https://api.trakt.tv/oauth/token
2018-04-09 00:11:30.960 Info HttpClient: POST https://api.trakt.tv/oauth/token
2018-04-09 00:11:31.711 Info HttpClient: POST https://api.trakt.tv/oauth/token
2018-04-09 00:11:31.990 Error Trakt: Exception handled processing queued movie events
	*** Error Report ***
	Version: 3.3.1.0
	Command line: /system/EmbyServer.dll -programdata /config -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Unix 4.14.26.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 4
	Program data path: /config
	Application directory: /system
	MediaBrowser.Model.Net.HttpException: Unauthorized
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.<SendAsyncInternal>d__20.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.<SendAsync>d__17.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<PostToTrakt>d__30.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<RefreshUserAuth>d__26.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<SetRequestHeaders>d__31.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<PostToTrakt>d__30.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<SendLibraryUpdateAsync>d__10.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Helpers.LibraryManagerEventsHelper.<ProcessQueuedMovieEvents>d__9.MoveNext()
	MediaBrowser.Model.Net.HttpException
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.<SendAsyncInternal>d__20.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.<SendAsync>d__17.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<PostToTrakt>d__30.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<RefreshUserAuth>d__26.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<SetRequestHeaders>d__31.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<PostToTrakt>d__30.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<SendLibraryUpdateAsync>d__10.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Helpers.LibraryManagerEventsHelper.<ProcessQueuedMovieEvents>d__9.MoveNext()
Link to comment
Share on other sites

Thanks for the info. @@J2ghz is working on some changes to the plugin to help prevent this from happening. Thanks.

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...