Closed meilon closed 1 year ago
@meilon The bug should be fixed now. The fix will be released in version 1.3.0. But you can already try it in this release preview package: Trakt.NET.1.3.0-release.preview.135.nupkg.zip
Great, thank you for the fix and this great library! This version did the trick. Finally my watched history reflects what actually happened and is now over 7000 plays lighter
Failure description?
I'm trying to write an app to clean up the mess that is my watched history. Some show and movie tracking apps have created a lot of duplicate plays and I'd like to clean that up programmatically.
I started with movies, so here's the code I came up with so far:
But when I try to run it I get an
System.ArgumentException: "no watched history items set"
for the callclient.Sync.RemoveWatchedHistoryItemsAsync(syncHistoryRemovePost)
The exception hails from ValidateHistoryPost. There only the movies, shows and episodes get checked for items, never the HistoryIds.From how I understand the API it is okay to just use the
ids
, thereforeValidateHistoryPost
should be okay with the built historyRemovePost only containing historyIds as well. I know that the same function gets used for adding watched history items, therefore maybe check if it is being used for removing from the history, only then being okay with only historyIds?Version
1.2.0 (Latest)
Relevant Stacktrace
No response
Code of Conduct