Hello,
I'm using py-subsonic-cli to listen to music from my navidrome instance
for a while already.
It's not an audio player, but a tool that allows to easily send commands
and receive the json or data response from the server.
Example:
Read random song ID from subsonic server:
$ ID=$(subsonic-cli -c ~/.subsonic-cli.conf getRandomSongs \
| jq -r '.randomSongs[][0].id')
Play it:
$ subsonic-cli -c ~/.subsonic-cli.conf stream -p id "$ID"
$ cat ~/.subsonic-cli.conf
url = https://subsonic.server.net
username = myuser
password = mypass
It's a super simple python port with no extra dependencies.
Best Regards,
Stefan
No comments:
Post a Comment