mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[Issue]: API, how to set playback progress? #3556
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @drgroot on GitHub (Jan 18, 2022).
Please describe your bug
The api allows us to set a user's item as played or unplayed. How can we set the playback for another user at a particular position tick for a given item? I cannot seem to find it in the API.
Jellyfin Version
10.7.7
if other:
No response
Environment
Jellyfin logs
No response
FFmpeg logs
No response
Please attach any browser or client logs here
No response
Please attach any screenshots here
No response
Code of Conduct
@nielsvanvelzen commented on GitHub (Jan 18, 2022):
You can find the API documentation for the latest release at https://api.jellyfin.org.
I think you want to use the OnPlaybackProgress endpoint. The URL contains the user and item id like so:
/Users/{userId}/PlayingItems/{itemId}/Progress.@drgroot commented on GitHub (Jan 19, 2022):
the doesnt seem to work,
This returns with
Request Failed with status code 400. Responded with "Error processing request."@drgroot commented on GitHub (Jan 25, 2022):
following these endpoints doesnt work
https://emby.media/community/index.php?/topic/75926-what-endpoint-to-update-a-users-watched-position/
It seems that there is no way in Jellyfin to do this. Using the 'PlayingItems' assumes there is an active session. In my case, there is no active session.