Closed bungh0l10 closed 1 year ago
This is possibly more an issue with cspot, but I'll let @philippe44 and @feelfreelinux to chime in.
Yes, it is by design - the current track must be reloaded
I had an idea and submitted a PR to @feelfreelinux but it's a touchy topic and I know he is busy currently so I don't know he will agree or even have time to review it.
You can try the latest artifacts
WOW! Thanks for the swift replies! Currently checking latest build and my first observations look very promising. No gaps thus far while editing the current playlist on the fly. I wasn't able to test Spotify Jam with others yet though, neighther remote nor within the same wifi. This might take a while to report back.
Ok going to close for now. Reopen it if needed
Hey guys,
I'm very sorry for the late reply. I just wanted to give you a response on my outstanding feedback.
I tried multiple variants adding songs to queue while being in jams, locally, and remote as well. None of those sessions produced gaps anymore while me or others were adding songs to the queue :) Thank you so much, that is awesome!!!
I encountered one thing while testing. I actually do not know if I should report it here (new issue) or with cspot. Please guide me to the correct direction for this report. ;)
Steps to reproduce:
1.) Connect to Squeezeamp (or different capable ESP32) via Spotify app. 2.) Start a playlist (for example, "release radar" from Spotify. I was able to reproduce with other playlists as well.) 3.) After the first song has finished and the second song starts playing, add 4 random songs to the queue. 4.) After those 4 songs have finished, let the following song from the initial playlist play and add another random song to the queue. 5.) The now queued song will not be played afterwards, but is skipped instead. You can add +x songs to the queue afterwards, but none of them will be played anymore and the initial playlist will keep playing. The only way to "reset" this behavior is to clear the current queue by overriding it with a single song or another playlist.
I know this takes some time to reproduce, but I wanted to provide a reliable way to reproduce instead of a wonky description.
The reason I'm providing this here is because 1634 (the version before the patch) behaved differently (not better) and I just wanted to highlight it with you guys as you might be able to recognize what changed and puzzle bits and pieces together for good. You can follow on 1634 with the previously provided steps but step 5 behaves as follows..
5.) The now queued song will not be played afterwards but is skipped instead. You can try to add songs to the queue afterwards, but after adding the first song to the queue, it will be started straight away instead of being added to the queue. Unfortunately all further added songs will be ignored/skipped as well .
Thanks again for developing this stellar project! :)
Hello again,
I've had some time to do some more testing today and I just wanted to highlight my findings with you as @philippe44 mentioned it might be a touchy topic where I think (assume) he is onto something here. It is not about the gap, this seems to be solved (thanks again). I'm just trying to express onto different behaviours before/after the patch.
I'm just writing steps to reproduce as I was able to reproduce this having two SqueezeAmps and another ESP32 device as well, ecountering the same behaviours and hope you can reproduce on your end as well (If not please tell me and I'll add logs or file it with cspot instead).
-> 1634 (before patch) 1.) Connect to Squeezeamp (or different capable ESP32) via Spotify app. 2.) Start a playlist or an album (for example, "release radar" from Spotify. I was able to reproduce with other playlists as well.) 3.) During the First song add 1 more random song to the queue. 4.) After this 1 song has finished, let the queued song play as well as the following from the initial playlist and add another random song to the queue. 5.) The now queued song will be played immideatly instead of being queued (Spotify app will still display the previous played song with progress bar progressing) 6.) You can add another song now to queue which get s started instant again (It seems to start with the exact seconds progresed already as the currently played song .
-> 1650 1.) Connect to Squeezeamp (or different capable ESP32) via Spotify app. 2.) Start a playlist or an album (for example, "release radar" from Spotify. I was able to reproduce with other playlists as well.) 3.) During the First song add 1 more random song to the queue. 4.) After this 1 song has finished, let the queued song play as well as the following from the initial playlist and add another random song to the queue. 5.) The now queued song will be queued but skipped and not played. You can add more songs to queue but none of them will be played anymore.
Sorry but I haven't found an option to reopen.
Thanks again :)
I've pushed an update but I'm really not sure as I'm touching some cspot delicate pieces
I'm currently traveling. I'll check latest artifact and try to update you by the end of the week. Thanks a bunch!
Hi @philippe44 ,
Having a jam going on for 5+ hours now, we encountered literally little to complain about.
but (these might be physical issues related to ESP32 - not software related) just to mention it:
pros after latest patch
all previous mentions have been adressed
you can skip forward (IF) you ecounter misbehaviours and still add songs, and the queue will move along.
THIS IS GREAT! Thanks so much! It almost feels like controlling native clients like eg. Denon/Marantz receivers with only limitation not being able to skip back to previously queued songs. But this honestly is complaining on a high level.
It works like a charm and squeezeamp is a top notch party device!
Personally I'd say issue can be closed.
These changes might be also beneficial to get merged to the C-spot repo.
Thank you!
@bungh0l10 thanks for testing, highly appreciated. I've backported that to cspot indeed and the maintainer has accepted it.
Describe the bug
Editing playlist in spotify app (adding/removing a song from current queue) results in 1-2 second outage on the currently played track.
Preliminary Information
Hardware Details
SqueezeAmp v3.20
NVS Settings
Logs
Issue Description