07-08-2024, 01:46 PM
(07-08-2024, 12:16 PM)ehsan2023 Wrote:(07-07-2024, 02:03 PM)steve4star Wrote: I do not have Plexamp to test, but this suggests that you can query it …
get_plexamp_playing_status.py
Thanks Steve,
I tested and can confirm the python code method is working and it respond with 0 while not playing and 1 while Plexamp is playing.
Code:pi@moodeEdifier:~ $ python3 plexamp_status.py
1
pi@moodeEdifier:~ $ python3 plexamp_status.py
0
Moode audio + PlexAmp is a super power music player for me. considering the official Tidal support that comes with Plexamp.
Does the ALSA output get closed immediately after playback stops?
This test will give you an idea of how long it takes for Plexamp to close and release the ALSA output.
Code:
1. Start playback
2. watch -n .5 "date +%M:%S && moodeutl --hwparams"
3. Stop playback
When the watch command reports "closed" note the number of secs that have elapsed.