home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Plugin Development
Trakt for MP2
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="aspik" data-source="post: 1246298" data-attributes="member: 72523"><p>found the reason for this issue. To build the JSON body with the collected episodes I'm using helper (build) methods from the TraktApiSharp library. I was wrongly using the collectedAt date from the show instead of collectedAt from the episode. This way every episode was posted to Trakt with missing collectedAt date and Trakt.tv displayed them with the sync date.</p><p></p><p>The problem is, that TraktApiSharp in the current implementation only allows to post single episodes with collectedAt dates which have valid IDs (tvdb, tmbd, etc.). The episode IDs are not the same as the show IDs. Of course we don't have this kind information in our database (and there is no need to have it).</p><p></p><p>I already contacted the author of the Trakt lib and he admitted, that his implementation is only based on the examples available in the Trakt API documentation. Those examples are very basic and don't show all possible combinations.</p><p>The same applies for posting watched episodes. TraktApiSharp (or Trakt.NET as it has been recently renamed) doesn't allow to post single episodes + watchedAt without valid episode IDs.</p><p></p><p>In agreement with the author I raised <a href="https://github.com/henrikfroehling/Trakt.NET/issues/30" target="_blank">tickets</a> for this two missing features and he promised to add it in the upcoming version.</p><p></p><p>[USER=128278]@Alberto83[/USER]</p><p>Movies don't have this limitation and I fixed the watched/unwatched issues. If you like, I can post tonight a version where syncing series is disabled and you can test the movies part. Or you can wait until a new Trakt.NET lib comes out and test it then.</p></blockquote><p></p>
[QUOTE="aspik, post: 1246298, member: 72523"] found the reason for this issue. To build the JSON body with the collected episodes I'm using helper (build) methods from the TraktApiSharp library. I was wrongly using the collectedAt date from the show instead of collectedAt from the episode. This way every episode was posted to Trakt with missing collectedAt date and Trakt.tv displayed them with the sync date. The problem is, that TraktApiSharp in the current implementation only allows to post single episodes with collectedAt dates which have valid IDs (tvdb, tmbd, etc.). The episode IDs are not the same as the show IDs. Of course we don't have this kind information in our database (and there is no need to have it). I already contacted the author of the Trakt lib and he admitted, that his implementation is only based on the examples available in the Trakt API documentation. Those examples are very basic and don't show all possible combinations. The same applies for posting watched episodes. TraktApiSharp (or Trakt.NET as it has been recently renamed) doesn't allow to post single episodes + watchedAt without valid episode IDs. In agreement with the author I raised [URL='https://github.com/henrikfroehling/Trakt.NET/issues/30']tickets[/URL] for this two missing features and he promised to add it in the upcoming version. [USER=128278]@Alberto83[/USER] Movies don't have this limitation and I fixed the watched/unwatched issues. If you like, I can post tonight a version where syncing series is disabled and you can test the movies part. Or you can wait until a new Trakt.NET lib comes out and test it then. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
Trakt for MP2
Contact us
RSS
Top
Bottom