Wawrzek Niewodniczanski <main@wawrzek.name> wrote:
Silly question. What would be a good choice to play an audio CD in Crux? I cannot find any obvious candidate in ports.
It's not a silly question. Now that manufacturers of optical drives have mostly stopped providing an analog audio output, the burden of decoding CD-audio in real time has shifted from hardware to software. Many GUI programs quickly adapted and provided support for CDDA extraction, but text-mode programs often lagged behind [1]. Among the few text-mode apps that implemented support for on-the-fly extraction of digital audio data (rather than a two-step process of ripping and playback), there are mpv and mpd. These days I tend to prefer mpv (with ~/.config/mpv/mpv.conf having the single line cdda-speed=4), since I don't have to remember to clear a playlist after the disc is done. The contrib collection has ports for both mpv and mpd, but I can see why it might be difficult to search for them. Neither `prt-get dsearch cdda` nor `prt-get dependent --all libcdio-paranoia` turns up mpv or mpd in the search results. You do find these ports with a manual search of the optional dependencies, though: grep -lr '^# Optional: .*libcdio-paranoia' /usr/ports/contrib If you want a more familiar interface for searching through the optional dependencies, my fork of prt-get will do the job [2]. Just run `prt-get dependent --all --softdeps libcdio-paranoia` to see all the ports that would be eagerly linked to the cdio-paranoia libraries if found at compile-time. The --softdeps switch has analogous effects with other commands, mostly useful when running sysup, install, update, or deptree. If this fork gets more extensive testing, then maybe some of the new features will land in CRUX 3.8. [1] https://directory.fsf.org/wiki/Cdcd [2] https://git.sdf.org/jmq/prt-get/src/branch/mixed-upinst Best regards, John