Closed ChucKN0risK closed 1 year ago
I'm creating a player component that gets the current song that is playing.
From Subsonic API I see I need to call the following methods in this exact order:
The scrobble method needs to have the submission param set to false to add the a song in the playing queue.
submission
false
Issue: the scrobble method doesn't seem to take into account the submission param. The id and time params work well though.
id
time
When directly using the Subsonic API in Postman with the same params everything works well.
My code:
The request in the browser doesn't send the submission param:
Did I miss something?
Thanks in advance ;)
EDIT After setting the submission value as a string it works. It may be coming from this line in your package :)
Thanks for the report, fixed in https://github.com/explodingcamera/subsonic-api/commit/cce5a4c7406e1be355eb658bde22a646238cb6ba
I'm creating a player component that gets the current song that is playing.
From Subsonic API I see I need to call the following methods in this exact order:
The scrobble method needs to have the
submission
param set tofalse
to add the a song in the playing queue.Issue: the scrobble method doesn't seem to take into account the submission param. The
id
andtime
params work well though.When directly using the Subsonic API in Postman with the same params everything works well.
My code:
The request in the browser doesn't send the submission param:
Did I miss something?
Thanks in advance ;)
EDIT After setting the submission value as a string it works. It may be coming from this line in your package :)