[Issue]: Unable to set positionTicks for an item via API_KEY #4774

Closed
opened 2026-02-07 01:08:53 +03:00 by OVERLORD · 7 comments
Owner

Originally created by @luigi311 on GitHub (Apr 7, 2023).

Please describe your bug

I am unable to set the positionTicks for an item for a user via the api key from the server. Using a delete request as following /Users/{userId}/PlayingItems/{itemId}?positionTicks={positionTicks} via a user token works but using that same request with a api key from the server does not. It also doesnt seem like theres any way to generate a user token via the api key so it doesnt look like theres a way to handle it that way either.

The logs report that the playback was stopped for the correct item at the correct time but since its with a api key it doesnt seem to handle it correctly even though the request has the user id in it so it should know who this belongs to.

Jellyfin Version

10.8.0

if other:

No response

Environment

- OS: Unraid
- Virtualization: Docker
- Clients: Python Script
- Browser: N/A
- FFmpeg Version:
- Playback Method:
- Hardware Acceleration:
- Plugins:
- Reverse Proxy: traefik
- Base URL:
- Networking: bridge
- Storage: local

Jellyfin logs

[INF] [85] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "JellyPlex" "5.0.0" playing "Missing". Stopped at "1800000" ms
[INF] [137] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "JellyPlex" "5.0.0" playing "Just a Regular Irregular". Stopped at "900000" ms

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Originally created by @luigi311 on GitHub (Apr 7, 2023). ### Please describe your bug I am unable to set the positionTicks for an item for a user via the api key from the server. Using a delete request as following /Users/{userId}/PlayingItems/{itemId}?positionTicks={positionTicks} via a user token works but using that same request with a api key from the server does not. It also doesnt seem like theres any way to generate a user token via the api key so it doesnt look like theres a way to handle it that way either. The logs report that the playback was stopped for the correct item at the correct time but since its with a api key it doesnt seem to handle it correctly even though the request has the user id in it so it should know who this belongs to. ### Jellyfin Version 10.8.0 ### if other: _No response_ ### Environment ```markdown - OS: Unraid - Virtualization: Docker - Clients: Python Script - Browser: N/A - FFmpeg Version: - Playback Method: - Hardware Acceleration: - Plugins: - Reverse Proxy: traefik - Base URL: - Networking: bridge - Storage: local ``` ### Jellyfin logs ```shell [INF] [85] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "JellyPlex" "5.0.0" playing "Missing". Stopped at "1800000" ms [INF] [137] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "JellyPlex" "5.0.0" playing "Just a Regular Irregular". Stopped at "900000" ms ``` ### FFmpeg logs _No response_ ### Please attach any browser or client logs here _No response_ ### Please attach any screenshots here _No response_ ### Code of Conduct - [X] I agree to follow this project's Code of Conduct
OVERLORD added the bugstale labels 2026-02-07 01:08:53 +03:00
Author
Owner

@jellyfin-bot commented on GitHub (Aug 6, 2023):

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

@jellyfin-bot commented on GitHub (Aug 6, 2023): This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments. If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label. This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on [Matrix or Social Media](https://docs.jellyfin.org/general/getting-help.html).
Author
Owner

@luigi311 commented on GitHub (Aug 6, 2023):

This is still an issuee

@luigi311 commented on GitHub (Aug 6, 2023): This is still an issuee
Author
Owner

@jellyfin-bot commented on GitHub (Dec 6, 2023):

This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.

If you have any questions you can use one of several ways to contact us.

@jellyfin-bot commented on GitHub (Dec 6, 2023): This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs. If you have any questions you can use one of several ways to [contact us](https://jellyfin.org/contact).
Author
Owner

@luigi311 commented on GitHub (Dec 6, 2023):

this is still an issue

@luigi311 commented on GitHub (Dec 6, 2023): this is still an issue
Author
Owner

@chuckgmthompson commented on GitHub (Mar 14, 2024):

+1

@chuckgmthompson commented on GitHub (Mar 14, 2024): +1
Author
Owner

@jellyfin-bot commented on GitHub (Jul 13, 2024):

This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.

If you have any questions you can use one of several ways to contact us.

@jellyfin-bot commented on GitHub (Jul 13, 2024): This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs. If you have any questions you can use one of several ways to [contact us](https://jellyfin.org/contact).
Author
Owner

@luigi311 commented on GitHub (Jul 15, 2024):

This was resolved in 10.9

@luigi311 commented on GitHub (Jul 15, 2024): This was resolved in 10.9
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#4774