What is Nostr?
pistolero /
npub1prd…gnhy
2024-12-01 00:40:22
in reply to nevent1q…chx4

pistolero on Nostr: reeeeeelman Zergling_man ✙ dcc :pedomustdie: :phear_slackware: Well, you view it in ...

reeeeeelman (nprofile…9cjg) Zergling_man (nprofile…pltp) ✙ dcc :pedomustdie: :phear_slackware: (nprofile…3hg5) Well, you view it in a terminal so it works in screen; there is cmus-remote for the socket interface if that is what you mean, but that's not related to ncurses. So I can type `cmus-remote -C player-stop` and it stops playing music. I also have this mapped to some keys in fvwm2 so I can skip songs without even looking at it.

The other advantage is that it is playing music and has like 700 hours of music loaded into it and it is sitting at 46MB RAM and 0% CPU usage: most of the CPU it uses is dedicated to decoding mp3s and that's pretty lightweight nowadays, nearly anything can do that.

So it just sits there and plays music. I don't have to look at it or even have it visible if I don't want to. The left screen has a urxvt kuake terminal attached to a screen session, and I usually have cmus in there: if I press Pause/Break (which is Fn+P on the HHKB), it pops into view (immediately, with no animation) and if I press it again, it pops out of view (again, immediately). So I have my DevTerm, I can ssh in and attach to that screen session and control the music player; there are other ways to control the music player, since cmus-remote is just another program and it can be called by other programs, so I expose it to the network and hand off the auth part to Inferno's listen(1) program, so even without attaching to the screen, I can run a little Tk program on Inferno to control it, and get to the mp3 player from any machine on earth.

Half the time, I don't even use ncurses stuff: it's just streams of text. I like streams of text. That's the reason I don't have a lot of patience for all of these extra-fluoridated programs: I push a button and I see the effect on the monitor in front of me faster than I can perceive having pushed the button, I run a program and if it doesn't do what I want, I plug another program in.

> I liked the playlist feature of Clementine

I don't know how Clementine works but as far as I can tell, everything has playlists.
Author Public Key
npub1prdy6x4ccuupdaepfv9995ryjkyxx89gznkgs50hg7cft6gntcpqvpgnhy