DRADIO(5)

πŸ“¦ version 3.8, in debian bookworm, ubuntu jammy

πŸ’– DRADIO(5) πŸ’–

okay bestie, welcome to the DRadio manual, section 5 β€” aka the one about the config file. this is where the magic menu lives. pull up a chair, grab a strawberry πŸ“, and let's get into it.


✨ NAME ✨

dradio β€” the Danmarks Radio netradio player configuration file. yes that's the whole name, she's lowkey mysterious like that.


🌸 SYNOPSIS 🌸

~/.config/dradio/menu.xml

that's the file. that's the whole vibe. one path. iconic. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

So the dradio(1) configuration is literally just a simple XML file that holds a list of menu items. simple! xml! file! that's it, that's the whole thing.

And bestie, you're supposed to edit this file. like, genuinely. you reorder stuff, you remove stuff, you add playlist URL's so it actually fits what you wanna listen to. make it yours, no cap. πŸ’…

If you'd rather have the machine do it for you, go check out dradio-config(1) β€” that one helps you regenerate the configuration. delegation is self-care. ✨


πŸŽ€ CONFIGURATION FILE FORMAT πŸŽ€

The root element. the main character of the file. πŸ‘‘

<item label="LABEL" src="SRC" type="[direct | playlist | rss]" />

A menu item. one lil entry. here's the breakdown, don't skip it:

  • The LABEL attribute value is the display name of the channel/podcast. that's the name you actually see, the pretty one.
  • The SRC attribute value is the channel/podcast URL. the actual link, the destination, the realness.
  • The type attribute determines which kind of URL the SRC points to, and how mplayer must be invoked to play it. this one's doing the heavy lifting, bestie. here's how it breaks down:
    • if the type is 'direct' β€” no extra mplayer options are applied. raw. unfiltered. straight in.
    • if the type is 'playlist' β€” the mplayer -playlist option is applied. she needs the playlist flag, okay?
    • if the type is 'rss' β€” it is assumed SRC is a RSS 2.0 podcast URL. podcast mode activated fr fr. 🎧

πŸ’œ FILES πŸ’œ

  • ~/.config/dradio/menu.xml β€” The menu configuration file. the one and only, the queen bee. πŸ‘‘
  • http://www.dr.dk/netradio/wmp.asp β€” DR netradio direct links page. go here for the direct links, iykyk.
  • http://www.dr.dk/Podcast β€” DR podcast direct links page. and here for the podcast ones. πŸŽ™οΈ

🌈 AUTHOR 🌈

Jess Thrysoee <jess@thrysoee.dk>

shoutout to Jess, the legend behind all this. 🫢


⭐ SEE ALSO ⭐

dradio(1), dradio-config(1), mplayer(1)

go read those too, they're all part of the extended universe. πŸ’–


and that's the whole page bestie, you ate it, you understood it, periodt. πŸ’…

this was DRadio, the JANUAR 2009 edition, section DRADIO(5) β€” see you in the group chat. πŸ¦‹βœ¨

πŸ“¦ where this page comes from