Open ironcrafter54 opened 1 month ago
Interestingly enough the official player does not seem to send us the position to start from. This probably needs to be fetched separately, most likely from the extended metadata endpoints. It will require some work.
FYI librespot seems to have this figured out as I do not see the issue when using that program. Although then I run into the other issue of librespot not updating spotify with how much I listened to the podcast, but luckily I believe this project fixes that issue.
I am no rust programmer but this https://github.com/librespot-org/librespot/blob/dev/protocol/proto/unfinished_episodes_request.proto as well as this https://github.com/librespot-org/librespot/tree/dev/protocol/proto/played_state may give someone more knowledgable in go than me a starting off point. As it seems to be some of the code librespot uses to figure out the state of a episode.
When I go to finish listening to a podcast instead of starting playback where I left off it starts at the beginning. -FYI I am using go-librespot through volumio.