mirror of
https://github.com/jeffvli/sonixd.git
synced 2026-05-06 22:22:38 -04:00
Fix scrobble finish condition for jellyfin (#111)
This commit is contained in:
@@ -635,6 +635,7 @@ export const scrobble = async (options: {
|
||||
jellyfinApi.post(`/sessions/playing/stopped`, {
|
||||
ItemId: options.id,
|
||||
IsPaused: true,
|
||||
PositionTicks: options.position && Math.round(options.position),
|
||||
});
|
||||
|
||||
return jellyfinApi.post(`/users/${auth.username}/playeditems/${options.id}`, null, {
|
||||
|
||||
Reference in New Issue
Block a user