musicsync
musicsync copied to clipboard
Read timeouts on spotify api
Hi Max, thanks heaps for moving this to java11!
I'm trying to run it on latest MacOS 12.1.
When running it, it runs into read timeout exceptions on the spotify.api. Any clues? Running ping or normal curl commands from the same terminal works just fine.
Cheers, Andreas
Hi Max, thanks heaps for moving this to java11!
I'm trying to run it on latest MacOS 12.1.
When running it, it runs into read timeout exceptions on the spotify.api. Any clues? Running ping or normal curl commands from the same terminal works just fine.
Cheers,
Andreas
Hey Andreas, How did you get this run on MacOS? Stream_reader.pl requests pacmd and pactl on my system, but I did not found the binaries for macOS
For pacmd as part of pulseaudio: https://formulae.brew.sh/formula/pulseaudio
The weird thing is that I don't get any proper logs out of the musicsync application running for hours until it sometimes decides to show me a timeout.
When running the app in me Linux VM, I noticed that stream_recorder.pl is called for every single track from the requested playlist. So far so good, but my Spotify queues all other tracks from the playlist as well. seems linke stream_recorder.pl does not recognize this and keeps on recording until Spotify stops. Perhaps this produces the timeout on your side.
I tried calling stream_recorder.pl
from terminal, with my parameters and this works like charm
perl stream_recorder.pl --uri 'spotify:album:<ALBUMID>' --format mp3 --outdir records
I'll try to build the musicsync app around this call.
For pacmd as part of pulseaudio: https://formulae.brew.sh/formula/pulseaudio
The weird thing is that I don't get any proper logs out of the musicsync application running for hours until it sometimes decides to show me a timeout.
Thanks!
How did you make Spotify findable for the stream_reader.pl. When installing it via brew or Spotify page, that does not work.