💾 Archived View for idiomdrottning.org › tui-music-players captured on 2024-08-31 at 14:34:20. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-09-08)

-=-=-=-=-=-=-

Re: TUI music players

Vitorg has realized that TUI music players suck.

Yeah, that’s just facts. Most TUI things are bad. CLI is where it’s at. mpc, for example, is a good basis for shell scripts & automation. I love it. And since it’s for mpd, you can still connect it to a GUI or TUI app also, to get the best of both worlds.

He also thinks that a conf file full of comments, including commented-out defaults, is bad. That’s also a good point. With a good editor it’s easy to hide away all comments or to navigate a huge file, ostensibly making the advantages of having those comments outweigh the drawbacks, but not everyone has that and starting from a blank file can often be a lot easier.

Here is how to make a neater copy of your mpd.conf file:

grep -v '^ *#' /etc/mpd.conf > /tmp/uncommented-copy-of-mpd.conf

To also get rid of blank lines, here’s one way:

grep -v '^ *#' /etc/mpd.conf | grep -v '^


 > /tmp/uncommented-copy-of-mpd.conf