so i just gave up upon mpv and switched to this bastard contraption for a music player:

while true; do
shuf biglist.pls | (
while IFS="\n" read F; do
ffplay -autoexit "http://music/$F"
done
)
done

additionally, i've configured jwm to not focus on windows of class ffplay

so far it's working out rather well...

@millihertz Why not cmus? I also used to use mpv and a shell script of sorts, but switched to cmus recently and never looked back. It's easy on resources and still has a TUI, a control utility in case you want to bind some keys in your window manager, a selection of utilities that display "now playing" notifications on track change. It's good!

@m0xee i checked out cmus when i was looking for an alternative for continuously playing a single radio stream, and it didn't seem to be able to do that

i've just looked at it again, and it seems to want its music library to be on a filesystem it can scour, rather than an http server it has to access via playlist. that alone rules it out

Follow

@millihertz Oh, yes, I didn't realize streaming was important part of your setup.
You may run cmus on the host where the library is and stream the audio back using JACK to the computer where you want the sound to come from, but that would be a quirk and a workaround.
cmus does support http, but it appears that https might be a problem: github.com/cmus/cmus/issues/20

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml