You can also also view the full archives of micro-posts. Longer blog posts are available in the Articles section.
/me is listening to “Love Hides” by The Doors
The Beauty of $\LaTeX$: Some of the crap that has kept me from using MS Word for years. Now I’m too old and remain a happy $\TeX$er for the days ahead. Fun thing: we did the same MSc (which was called a DEA at that time in France) one year apart!
I’m pretty happy with new management system for my audio file. Thanks to Beets I now have access to the whole power of command line utilities. Here’s a brief overview of the top genres in my library:
» beet summarize | head -n 12
genre | count
---------------------- | -----
Rock | 3045
Post-Punk | 2754
Jazz | 2509
Alternative | 1212
Electronic | 948
Indie Rock | 838
Pop | 817
Classic Rock | 679
Alternative Rock | 497
Indie Pop | 424
How many total tracks having a genre tag, excluding tracks from playlists which contain, following poor design choice, duplicate records?
» beet summarize ^context:playlist | head -n 12 | cut -f2 -d\| | tail -n +3 | paste -sd+ | bc
10603
And so on… Wanna looks at the tlistening stats for the current song?
» beet ls -f '$artist ($album): $title ($length) [$genre, $play_count, $last_played]' $(mpc current | sed s/-//)
Diana Krall (The Girl in the Other Room): Narrow Daylight (3:31) [Contemporary Jazz, 12, 2024-11-11 20:38:09]
/me is listening to “Darkening of the Light” by Concrete Blonde
Ncmpcpp with no color enabled. Much better for my eyes!
I was going to spent some times trying to output the sound of my built-in speakers to my old Apple TV which is connected via a DAC to my wi-fi system, until I realized it is as simple as loading Pipewire RAOP module, pactl load-module module-raop-discover
. Then, launch pavucontrol and switch to your Airplay device.
The Airplay system is now listed in the list of available devices.
» wpctl status
PipeWire 'pipewire-0' [1.0.5, chl@aliquote, cookie:758904776]
└─ Clients:
32. WirePlumber [1.0.5, chl@aliquote, pid:1915]
33. WirePlumber [export] [1.0.5, chl@aliquote, pid:1915]
34. pipewire [1.0.5, chl@aliquote, pid:1916]
54. gnome-shell [1.0.5, chl@aliquote, pid:2575]
55. GNOME Shell Volume Control [1.0.5, chl@aliquote, pid:2575]
56. GNOME Volume Control Media Keys [1.0.5, chl@aliquote, pid:2728]
57. xdg-desktop-portal [1.0.5, chl@aliquote, pid:3033]
58. Music Player Daemon [1.0.5, chl@aliquote, pid:1905]
64. Mutter [1.0.5, chl@aliquote, pid:2575]
65. gsd-power [1.0.5, chl@aliquote, pid:2732]
81. pipewire [1.0.5, chl@aliquote, pid:1916]
88. Firefox [1.0.5, chl@aliquote, pid:82644]
102. speech-dispatcher-dummy [1.0.5, chl@aliquote, pid:90304]
103. wpctl [1.0.5, chl@aliquote, pid:90700]
Audio
├─ Devices:
│ 50. Built-in Audio [alsa]
│
├─ Sinks:
│ * 51. Built-in Audio Analog Stereo [vol: 0.28]
│ 66. Apple TV Salon [vol: 1.00]
│
├─ Sink endpoints:
│
├─ Sources:
│ * 52. Built-in Audio Analog Stereo [vol: 1.00 MUTED]
│
├─ Source endpoints:
│
└─ Streams:
59. Music Player Daemon
61. output_FL > Apple TV Salon:send_FL [active]
63. output_FR > Apple TV Salon:send_FR [active]
82. speech-dispatcher-dummy
98. output_FR > ALC3254 Analog:playback_FR [init]
101. output_FL > ALC3254 Analog:playback_FL [init]
We can even make it the default output audio channel:
Now, since Pipewire supports multiple streaming output devices, much like mpd, I just need to configure the audio source in their config files to get everything right for the next time.
/me is listening to “Man of Anatomy” by Tom Hickox
/me is listening to “Amor Fati” by Washed Out
I guess all is working now ;-) I’ve converted my automated script that shows current track on the micro-blog (for casual IRC users), I’ll just need to figure out how to manage tagging and playlist management under ncmpcpp.