So, it's been a while since I worked on this projects, and some bugs have since been discovered.
The main focus for this version is to stop using multiple processes for every player, and instead do everything in threads.
Here's a list of things to change:
[x] Remove metrics, as I wasn't using this feature anyways
[x] Allocate new players in-memory, instead of using subprocesses
[x] Make the audio work properly
[x] Fix issue #17
[x] Fix deadlocks
[x] Allow Spoticord to be used, even if the automatic device switching fails removed the automatic device switching
[x] Force communication through the closest Spotify AP, reducing latency
[x] Potential jitter reduction
[x] Bring back KV for storing total/active sessions, as prometheus is no longer being used
[x] Enable autoplay
Unintended benefits:
After skipping a song, you will no longer hear a tiny bit of the previous song after the silence
I'm marking issue #17 as fixed in the pull request, however this issue is not that straightforward to reproduce, so I'll keep the main issue open until I can confirm for certain that the issue is gone.
So, it's been a while since I worked on this projects, and some bugs have since been discovered. The main focus for this version is to stop using multiple processes for every player, and instead do everything in threads.
Here's a list of things to change:
even if the automatic device switching failsremoved the automatic device switchingUnintended benefits:
(this list is subject to change)