Jump to content

Unable to reset all videos in Continue Watching to Unwatched via API


Recommended Posts

Posted (edited)

Please help me, I want to get all the movies in the Continue Watching column through the API, and then reset all or part of them to unwatched. I reset through this https://dev.emby.media/reference/RestAPI/PlaystateService.html, but the result returned is always zero. The result of manual debugging

"curl -X GET "http://<EmbyServerAddress>:8096/emby/Users/<UserId>/Items/Resume?api_key=<YourAPIKey>"" is
{"Items":[],"TotalRecordCount":0}
But there are more than a dozen movies in my Continue Watching column, but it always shows that there are no movies in the Continue Watching column, so what is wrong

Edited by terse
Posted
3 hours ago, terse said:

"curl -X GET "http://<EmbyServerAddress>:8096/emby/Users/<UserId>/Items/Resume?api_key=<YourAPIKey>"" is
{"Items":[],"TotalRecordCount":0

Try adding "&MediaTypes=Video"

Posted
2 minutes ago, sa2000 said:

Try adding "&MediaTypes=Video"

thanks for reply, but adding where

Posted
7 minutes ago, terse said:

but adding where

"http://<EmbyServerAddress>:8096/emby/Users/<UserId>/Items/Resume?"

  • 2 weeks later...
Posted

Hi, did you figure this out? If not, did you try monitoring what the web app sends for the same operation by using the browser debugger?

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