Jump to content

Trakt v2 api update


Luke

Recommended Posts

I just did some episode testing of my own, with no problems found. Everything scrobbled as expected.

Link to comment
Share on other sites

AlwinHummels

Sync to trakt still gives me : 

Sync library to trakt.tv failed.

2 minutes ago
The remote server returned an error: (500) Internal Server Error.

on my Synology DS415+

 

Server Version 3.0.5582.2 on linux mono

Trakt Version 3.0.5584.22492

Edited by AlwinHummels
Link to comment
Share on other sites

Deihmos

Are there any plans to support the trakt 2.0 stuff like synching playback progress and resume status?

Link to comment
Share on other sites

Deihmos

Value cannot be null. Parameter name: g

Got this error all the time since trakt 2.0 api. What's wrong?

Sometimes trakt site goes down so I would give it some time. I tried to do a pull today and it didn't work and I guess they are down.

Link to comment
Share on other sites

silverdoe

Value cannot be null. Parameter name: g

Got this error all the time since trakt 2.0 api. What's wrong?

I attached the log file. I remember it worked before 2.0, but after failing a couple of times, I tried to re-enter my credentials, and it's been like this since, as if I didn't even login at all.

server-63565859108.txt

Link to comment
Share on other sites

ginjaninja

When

 

For the episode issue I'll make a change when I get home, and will send you a custom file with lots of logs to see exactly how that value is getting out of bounds.

 

@@Luis

i never saw this file...

Whats the status of the plugin? deemed working? or still under development?

Link to comment
Share on other sites

ginjaninja

ive configured to just import playstate and not sync collection....

importing playstate is working fine for me...thanks

Edited by ginjaninja
Link to comment
Share on other sites

Luis

@@Luis

i never saw this file...

Whats the status of the plugin? deemed working? or still under development?

For the issue with the episodes try this version

https://dl.dropboxusercontent.com/u/17531095/Trakt.dll

 

Maybe you could create a dummy account in trakt and configure it to use that. That way you can test if it exports the watched status correctly without messing your own profile.

Link to comment
Share on other sites

yardameus

I took your suggestion of creating a dummy account.  Absolutely no issues with the new account.  Tried switching back over to the old account, and no dice.  It wouldn't even connect.  I trted several times to make sure I hadn't improperly logged in with username or password.  I wonder if there isn't some issue with "legacy" accounts and the new API.  For my uses, the new account should suffice, aside from having to re-add "friends".

Link to comment
Share on other sites

CBers

I'd still like to see the option of deleting all of your content on Trakt before syncing, or at least keeping Trakt in-sync with your collection.

 

This is what Redshirt had in his plugin and as you can't easily delete stuff on the Trakt site, it was very useful.

Link to comment
Share on other sites

ginjaninja

I'd still like to see the option of deleting all of your content on Trakt before syncing, or at least keeping Trakt in-sync with your collection.

 

This is what Redshirt had in his plugin and as you can't easily delete stuff on the Trakt site, it was very useful.

Btw if you delete your trakt account and recreate it achieves the same thing.
Link to comment
Share on other sites

CBers

Btw if you delete your trakt account and recreate it achieves the same thing.

 

Can you re-create it with the same name and do all of your "friends" get re-associated ??

 

.

Edited by CBers
Link to comment
Share on other sites

ginjaninja

Can you re-create it with the same name and do all of your "friends" get re-associated ??

 

.

unlikely :-)

Link to comment
Share on other sites

CBers

unlikely :-)

The link above worked brilliantly for me, then I synced Emby to Trakt and now all up to date.

Link to comment
Share on other sites

ginjaninja
2015-05-02 14:45:13.5357 Info - App: Loading Trakt, Version=3.0.5527.37623, Culture=neutral, PublicKeyToken=null
2015-05-02 14:52:28.4045 Info - App: Executing Sync library to trakt.tv
2015-05-02 14:52:28.6461 Info - Trakt: 27566 Items found for 'Nick'.
2015-05-02 14:52:28.6461 Error - App: Error
	*** Error Report ***
	Version: 3.0.5599.24523
	Command line: C:\Users\Nicholas Bird\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 4
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Nicholas Bird\AppData\Roaming\MediaBrowser-Server
	Application Path: C:\Users\Nicholas Bird\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Object reference not set to an instance of an object.
	System.NullReferenceException
	   at Trakt.Api.TraktApi.<PostToTrakt>d__cf.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
	   at Trakt.Api.TraktApi.<PostToTrakt>d__cb.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
	   at Trakt.Api.TraktApi.<GetUserToken>d__bc.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
	   at Trakt.Api.TraktApi.<SetRequestHeaders>d__d6.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
	   at Trakt.Api.TraktApi.<GetFromTrakt>d__c5.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
	   at Trakt.Api.TraktApi.<GetFromTrakt>d__c1.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
	   at Trakt.Api.TraktApi.<SendGetAllWatchedMoviesRequest>d__7b.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
	   at Trakt.ScheduledTasks.SyncLibraryTask.<SyncUserLibrary>d__23.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
	   at Trakt.ScheduledTasks.SyncLibraryTask.<Execute>d__2.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at MediaBrowser.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__c.MoveNext()
	
2015-05-02 14:52:28.6461 Info - App: Sync library to trakt.tv Failed after 0 minute(s) and 0 seconds

Server Version 3.0.5599.24523

 

@@Luis

no luck with this dll

Link to comment
Share on other sites

Luis
2015-05-02 14:45:13.5357 Info - App: Loading Trakt, Version=3.0.5527.37623, Culture=neutral, PublicKeyToken=null
2015-05-02 14:52:28.4045 Info - App: Executing Sync library to trakt.tv
2015-05-02 14:52:28.6461 Info - Trakt: 27566 Items found for 'Nick'.
2015-05-02 14:52:28.6461 Error - App: Error
	*** Error Report ***
	Version: 3.0.5599.24523
	Command line: C:\Users\Nicholas Bird\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 4
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Nicholas Bird\AppData\Roaming\MediaBrowser-Server
	Application Path: C:\Users\Nicholas Bird\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Object reference not set to an instance of an object.
	System.NullReferenceException
	   at Trakt.Api.TraktApi.<PostToTrakt>d__cf.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
	   at Trakt.Api.TraktApi.<PostToTrakt>d__cb.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
	   at Trakt.Api.TraktApi.<GetUserToken>d__bc.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
	   at Trakt.Api.TraktApi.<SetRequestHeaders>d__d6.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
	   at Trakt.Api.TraktApi.<GetFromTrakt>d__c5.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
	   at Trakt.Api.TraktApi.<GetFromTrakt>d__c1.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
	   at Trakt.Api.TraktApi.<SendGetAllWatchedMoviesRequest>d__7b.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
	   at Trakt.ScheduledTasks.SyncLibraryTask.<SyncUserLibrary>d__23.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
	   at Trakt.ScheduledTasks.SyncLibraryTask.<Execute>d__2.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at MediaBrowser.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__c.MoveNext()
	
2015-05-02 14:52:28.6461 Info - App: Sync library to trakt.tv Failed after 0 minute(s) and 0 seconds

Server Version 3.0.5599.24523

 

@@Luis

no luck with this dll

 

Can you try again?

https://dl.dropboxusercontent.com/u/17531095/Trakt.dll

Link to comment
Share on other sites

ginjaninja
2015-05-02 22:32:29.5238 Info - Trakt: Episodes to add to Collection: 25288
2015-05-02 22:32:29.7618 Error - Trakt: Exception handled sending episodes to trakt.tv
	*** Error Report ***
	Version: 3.0.5599.24523
	Command line: C:\Users\Nicholas Bird\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 4
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Nicholas Bird\AppData\Roaming\MediaBrowser-Server
	Application Path: C:\Users\Nicholas Bird\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Specified argument was out of the range of valid values.
	Parameter name: count
	System.ArgumentOutOfRangeException
	   at System.Linq.Enumerable.Range(Int32 start, Int32 count)
	   at Trakt.Api.TraktApi.<SendLibraryUpdateInternalAsync>d__4d.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<SendLibraryUpdateAsync>d__32.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
	   at Trakt.ScheduledTasks.SyncLibraryTask.<SyncUserLibrary>d__23.MoveNext()
	
2015-05-02 22:32:29.7618 Info - Trakt: Episodes to set watched: 21694
2015-05-02 22:32:29.9108 Error - Trakt: Error updating episode play states
	*** Error Report ***
	Version: 3.0.5599.24523
	Command line: C:\Users\Nicholas Bird\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 4
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Nicholas Bird\AppData\Roaming\MediaBrowser-Server
	Application Path: C:\Users\Nicholas Bird\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Specified argument was out of the range of valid values.
	Parameter name: count
	System.ArgumentOutOfRangeException
	   at System.Linq.Enumerable.Range(Int32 start, Int32 count)
	   at Trakt.Api.TraktApi.<SendEpisodePlaystateUpdatesInternalAsync>d__b5.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<SendEpisodePlaystateUpdates>d__9c.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
	   at Trakt.ScheduledTasks.SyncLibraryTask.<SyncUserLibrary>d__23.MoveNext()
	
2015-05-02 22:32:29.9108 Info - Trakt: Episodes to set unwatched: 0
2015-05-02 22:32:29.9108 Info - App: Sync library to trakt.tv Completed after 1 minute(s) and 36 seconds

there was no extra logging....should there have been?

Link to comment
Share on other sites

Luis
2015-05-02 22:32:29.5238 Info - Trakt: Episodes to add to Collection: 25288
2015-05-02 22:32:29.7618 Error - Trakt: Exception handled sending episodes to trakt.tv
	*** Error Report ***
	Version: 3.0.5599.24523
	Command line: C:\Users\Nicholas Bird\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 4
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Nicholas Bird\AppData\Roaming\MediaBrowser-Server
	Application Path: C:\Users\Nicholas Bird\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Specified argument was out of the range of valid values.
	Parameter name: count
	System.ArgumentOutOfRangeException
	   at System.Linq.Enumerable.Range(Int32 start, Int32 count)
	   at Trakt.Api.TraktApi.<SendLibraryUpdateInternalAsync>d__4d.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<SendLibraryUpdateAsync>d__32.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
	   at Trakt.ScheduledTasks.SyncLibraryTask.<SyncUserLibrary>d__23.MoveNext()
	
2015-05-02 22:32:29.7618 Info - Trakt: Episodes to set watched: 21694
2015-05-02 22:32:29.9108 Error - Trakt: Error updating episode play states
	*** Error Report ***
	Version: 3.0.5599.24523
	Command line: C:\Users\Nicholas Bird\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 4
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Nicholas Bird\AppData\Roaming\MediaBrowser-Server
	Application Path: C:\Users\Nicholas Bird\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Specified argument was out of the range of valid values.
	Parameter name: count
	System.ArgumentOutOfRangeException
	   at System.Linq.Enumerable.Range(Int32 start, Int32 count)
	   at Trakt.Api.TraktApi.<SendEpisodePlaystateUpdatesInternalAsync>d__b5.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<SendEpisodePlaystateUpdates>d__9c.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
	   at Trakt.ScheduledTasks.SyncLibraryTask.<SyncUserLibrary>d__23.MoveNext()
	
2015-05-02 22:32:29.9108 Info - Trakt: Episodes to set unwatched: 0
2015-05-02 22:32:29.9108 Info - App: Sync library to trakt.tv Completed after 1 minute(s) and 36 seconds

there was no extra logging....should there have been?

 

one more time please.

https://dl.dropboxusercontent.com/u/17531095/Trakt.dll

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...