Repository navigation
ddsonic 1.0.0
ddsonic 1.0.0
ddsonic (DaphnisDuck's Music Player) is a fast, keyboard-driven terminal music player for Spotify, YouTube Music, local music and internet radio. It keeps a local catalog of your libraries, so browsing and search are instant and work offline. Playback, the queue, lyrics, artwork, an equalizer and visualizers all live in one terminal interface.
ddsonic is a fork of cliamp, the Winamp-inspired terminal player by Bjarne Øverli. It keeps cliamp's audio engine, equalizer and visualizers, and changes how you find your music: a library that puts every source under one menu.
1.0.0 is ddsonic's first stable release. It adds no new features over 0.10. It settles the command line, removes what ddsonic does not support, fixes many reliability problems (especially in Spotify sign-in and YouTube Music playback), and ships a tested Linux build with a launcher entry and an icon.
Music
├── All Music Albums · Artists (Spotify, YouTube Music and Local together)
├── Spotify Albums · Artists · Playlists · Liked Songs
├── YouTube Music Albums from tracks · Artists from tracks · Playlists · Liked Music
├── Local Albums · Artists · Genres · Folders · Playlists
├── Radio Favorites · Browse Stations
└── Search
Highlights
These capabilities were built during the 0.x series and are what 1.0 makes stable.
- One library for every source. Spotify, YouTube Music, local files and radio each have their own entry. All Music lists the albums and artists of Spotify, YouTube Music and Local together, each row labelled with its source.
- Instant and offline. A local SQLite catalog holds your Spotify library, your YouTube Music playlists and Liked Music, and an index of your music folder. It syncs in the background, so lists open at once and browsing works without a network. Playback still streams from the service or plays the file itself.
rsyncs the source you are browsing. (catalog) - Search as you type.
/searches your Spotify and YouTube Music libraries, local music and radio stations at once, offline, with operators such asartist:,album:andsource:local. Rows at the end of the results search Spotify itself or the radio station directory. (search) - Spotify. Your saved albums, followed artists, playlists and Liked Songs, plus Spotify's own search. Requires a Spotify Premium account.
- YouTube Music. Your playlists and Liked Music. Each track's artist, album and year are read in the background, giving Albums from tracks and Artists from tracks. Sign in with browser cookies or your own Google OAuth client. Requires yt-dlp.
- Local files. Albums, artists and genres from your tags, a folder browser and saved playlists. Only changed files are reread at each start. No account needed.
- Internet radio. Favorite stations, the Radio Browser directory by country or tag, cliamp's radio channels and stations you add yourself. No account needed.
- Keyboard all the way. Vim-style movement, one set of keys on every screen (
qquits from anywhere,Esconly ever goes back), and a bar at the bottom that lists exactly the keys that work where you are. (navigation) - A terminal UI that uses the whole window. A taller terminal lists more rows, and a wide one lines rows up as a table. Resizing reflows at once. A rounded border frames the screen and can be turned off. (layout)
- Album artwork beside a track's details (
iin the queue), in Kitty and Ghostty, from Spotify covers and local files' embedded pictures or cover files. (artwork) - A real player underneath, inherited from cliamp: gapless playback, a 10-band equalizer with presets, spectrum visualizers, themes, lyrics, playback speed, shuffle and repeat. The queue view supports reordering, play next, track info and lyrics.
- Desktop integration. Media keys and desktop widgets work through MPRIS.
ddsonic pause,ddsonic next,ddsonic statusand similar commands control the running player from a script or a keybinding.
New in 1.0.0 (since 0.10.0)
Added
- A release build for Linux x86-64 with checksums, third-party notices, an SBOM and the complete corresponding source (see Release files and provenance).
ddsonic setupsets up Spotify, YouTube Music and the Local music folder, and keeps every other line of an existingconfig.toml.ddsonic --versionworks in every build. A release build names its exact source commit, and the archive'sRELEASE-MANIFEST.jsonrecords the version, that commit and the binary's SHA-256.- A logo and an icon (a duck at a terminal), a launcher entry (
ddsonic.desktop) and the icon in eight sizes from 16 to 512 pixels, so ddsonic appears in application menus and opens in a terminal. Desktop media controls can show the icon.
Reliability and fixes
Spotify sign-in
- Signing in works from a fresh install. Before, nothing on screen asked for a sign-in and every list read "Syncing your library…" for good. The same applied after
ddsonic spotify reset, and a revoked sign-in could not be renewed without a restart. - The library heading now reads
Spotify sign-in required, Spotify's menu starts with Sign in to Spotify, and signing in syncs your library at once. - A refused sign-in no longer deletes the stored credential.
- Token renewals no longer overlap. Overlapping renewals could mark a sign-in as refused or replace a newer credential with an older one.
- An empty Spotify list now says whether it needs a sign-in, is syncing, could not sync, or is simply empty.
- A network outage is no longer reported as "sign-in required".
Spotify connection and sync
- A stalled network or a stalled session start no longer freezes ddsonic or holds every Spotify action behind it. Session setup gives up after 30 seconds and the next action retries.
- Rate-limit waits renew the token only once.
- Syncs asked for during another sync are no longer dropped or run twice.
YouTube Music and yt-dlp
- Stop and skip end a track that is still loading, so holding the skip key no longer piles up yt-dlp processes.
- yt-dlp is interrupted before it is killed, and each run gets a private temporary folder that ddsonic removes afterwards. A stopped run no longer leaves a copy of your browser cookies in
/tmp. - yt-dlp's own configuration files are no longer read (
--ignore-config,--no-mark-watched). For example, a--mark-watchedin one could add every synced video to your watch history. - A stalled download no longer freezes every control. A sign-in made inside ddsonic no longer stops working after about an hour.
Library, search and radio
- Radio:
fstars and unstars stations again, in station lists, search results and the queue. - Search results label every track and station with its source.
- "Search Spotify for …" and its YouTube Music twin say whose results they show, and editing such a query while it runs starts a new search. The YouTube Music twin exists only when YouTube Music signs in with browser cookies alone; with an OAuth client configured, YouTube Music has no live search.
- A Local playlist that lists a track more than once no longer loses a copy on every save.
Desktop and other
- Quick volume changes from a desktop media control no longer freeze ddsonic, and a dropped session bus no longer crashes it.
- Further hardening of playback, catalog identity and sync from an independent review.
The complete list is in the changelog.
Upgrading: changes that may affect you
-
Renamed from ddmus to ddsonic. The renamed items:
- the executable;
- the config, data, cache and download folders, and the
[ddsonic]config section; - the
DDSONIC_CONFIG_DIRvariable; - the log and socket (
ddsonic.log,ddsonic.sock); - the media-key name (
org.mpris.MediaPlayer2.ddsonic); - the release files.
ddsonic does not read or move ddmus's folders: move settings, sign-ins and the library by hand, once (moving from ddmus). The candidate
v1.0.0-rc.1was published as ddmus and stays that way. -
config.tomlmust be valid TOML. A file that is not valid TOML now stops ddsonic from starting, with the file, line, column and parser message. The file is left as it was. A missing file still means defaults, and unknown keys are still ignored. One older line is still accepted:audio_device = <name>without quotes. -
Sources and features not in 1.0:
- cliamp's other providers (Navidrome, Plex, Jellyfin, SoundCloud, podcasts and the rest): their config sections are left untouched but have no effect.
- Lua plugins.
--daemon,--mono,--expandedand--simplified.- the
mono,open,protocol,qobuz,radioandtidalcommands. cliamp://links.- the Logo visualizer.
-
Behavior changes:
- In "Search Spotify for …" and its YouTube Music twin (cookie sign-in only), Enter replaces the queue.
shuffleandrepeatreject unknown values.- Spotify syncs at startup when its last sync is more than two hours old (it was 30 minutes).
- ddsonic refuses to start, and says why, if its config directory makes the IPC socket path too long.
- If you relied on a yt-dlp configuration file, use
cookies_fromand environment proxy settings instead (details).
-
From 1.0 on, a newer 1.x opens the config and catalog of an older one. Going back to an older version is not supported.
Install
Requirements
- Linux on x86-64 with glibc 2.36 or newer, or macOS 13 or later on Apple Silicon (provisional; see Platforms).
- On Linux, sound through ALSA. On PipeWire or PulseAudio, install
pipewire-alsaorpulseaudio-alsa(libasound2-pluginson Debian). - Optional:
ffmpeg(AAC, ALAC, Opus and WMA files) andyt-dlp(YouTube Music). - Any modern terminal. Artwork needs Kitty or Ghostty.
Release build (Linux)
sha256sum -c --ignore-missing SHA256SUMS
tar -xzf ddsonic-1.0.0-linux-amd64.tar.gz
install -Dm755 ddsonic-1.0.0-linux-amd64/ddsonic ~/.local/bin/ddsonicTo have ddsonic in your application menu, copy the launcher entry and icons and point the entry at the installed executable:
cp -r ddsonic-1.0.0-linux-amd64/share/. ~/.local/share/
sed -i "s|^Exec=ddsonic\$|Exec=\"$HOME/.local/bin/ddsonic\"|" ~/.local/share/applications/ddsonic.desktopRelease build (macOS on Apple Silicon, provisional)
This build is not signed with an Apple Developer ID and not notarized. Download it with curl, as below:
curl -fLO https://github.com/DaphnisDuck/ddsonic/releases/download/v1.0.0/ddsonic-1.0.0-darwin-arm64.tar.gz
curl -fLO https://github.com/DaphnisDuck/ddsonic/releases/download/v1.0.0/SHA256SUMS-darwin-arm64
shasum -a 256 -c --ignore-missing SHA256SUMS-darwin-arm64The line for ddsonic-1.0.0-darwin-arm64.tar.gz must read OK and the command must exit 0 (check with echo $?). If it reports FAILED, or prints no file was verified, do not use the file.
tar -xzf ddsonic-1.0.0-darwin-arm64.tar.gz
mkdir -p ~/.local/bin
install -m 755 ddsonic-1.0.0-darwin-arm64/ddsonic ~/.local/bin/ddsonic~/.local/bin is not on the default macOS PATH: add it, or run ~/.local/bin/ddsonic.
If you downloaded the archive in a web browser, the download may be marked as coming from the internet (the com.apple.quarantine attribute). The mark stays on a copy of the archive and on the files extracted from it, and macOS may then refuse to run the program. To run it: check the archive's checksum as above, delete any folder already extracted from it, remove the mark from the archive only, and extract and install it again:
xattr -d com.apple.quarantine ddsonic-1.0.0-darwin-arm64.tar.gz
tar -xzf ddsonic-1.0.0-darwin-arm64.tar.gz
mkdir -p ~/.local/bin
install -m 755 ddsonic-1.0.0-darwin-arm64/ddsonic ~/.local/bin/ddsonicWhat was observed, on one Apple Silicon Mac running macOS 26.6.2, with the archive served by a local web server on that Mac:
- Downloaded with
curl, the archive and the extracted program had no quarantine attribute, andddsonic --versionran. - Downloaded in Safari, the archive had the attribute. A copy of it and the program extracted from it had it too. macOS's security assessment (
spctl) rejected the program, and the attempted run exited with status 137. - After the attribute was removed from the archive only and the archive was extracted again, the program had no attribute, and
ddsonic --versionran.
Downloads from GitHub, other browsers, other Macs and other macOS versions were not tested.
From source: see the README.
AUR: a ddsonic-bin package is planned. It is not in the AUR yet.
Quick start
ddsonic setup # Spotify, YouTube Music and your music folder; each is optional
ddsonic # open the libraryWith nothing set up, ddsonic opens with Local (your ~/Music folder) and Radio. The main keys:
jkmove;lorEnteropens or plays;horEscgoes back;/searches;Spaceplays or pauses;Tabswitches to the queue;qquits.
Every screen lists its keys at the bottom.
Platforms
- Linux x86-64: supported. ddsonic is developed and used on Arch. The project's CI builds and tests it on Ubuntu; its last runs were for
v1.0.0-rc.3andmain, up to 2026-10-08. 1.0.0 itself did not go through CI: it was built locally by the maintainer in the project's pinned build image (see Release files and provenance). - macOS on Apple Silicon (ARM64): provisional. A build for macOS 13 or later was added to this release on 2026-11-08. The maintainer built it from the published
v1.0.0source and tested it by hand on one Apple Silicon Mac running macOS 26.6.2. It has not been tested on other Macs or other macOS versions. It is not signed with an Apple Developer ID and not notarized. - Other Macs: there is no release build. Building from source is configured, but it has not been verified for this release.
- Windows: not supported.
Known limitations
- Spotify sign-in timing. If ddsonic quits, or the work is cancelled, between Spotify issuing a new refresh token and ddsonic accepting it, the stored sign-in is left as it was, and the next start may ask you to sign in again. The stored sign-in is never left half-written.
- Replaced Spotify sessions. The session a sign-in replaces is retired at once, but its network connection is closed by the Spotify library. That can take a while when the library is reconnecting during a network fault, and several old connections can pile up if you sign in repeatedly during such a fault. They go when the library finishes, or when you quit.
- A track opening during a sign-in. A Spotify track that was being opened when its session was replaced fails; play it again. A track already playing keeps playing.
- Spotify Ogg Vorbis decoder memory. When a track's stream has arrived but the track is never played, its decoder's memory may not be released until you quit. This happens when opening it was cancelled or overtaken, or a sign-in replaced its session at that moment. The Spotify library ddsonic uses cannot yet release such a decoder safely. Nothing is played wrongly, and the stored sign-in is not affected.
- YouTube Music: saved Library Albums and followed artists are not synchronized. Albums from tracks and Artists from tracks come from your Liked Music and synced playlists, and an album may be incomplete.
- Artwork shows only in Kitty and Ghostty, and not inside tmux.
- The config reader, unchanged from cliamp, does not read a comment after a value, a comment after a
[section], or an array written over several lines. Keep each comment on its own line and each array on one line. - cliamp's documentation in
docs/has not yet been adapted to ddsonic. The README lists what still applies.
Release files and provenance
| File | SHA-256 |
|---|---|
ddsonic-1.0.0-linux-amd64.tar.gz |
1129103d5c11def05d5d334af1e4e37cd53eba9347c9d45196845d1ff391b8c5 |
ddsonic-1.0.0-source.tar.gz |
5e9758ba2a75e98d0363bb32f2c25fcb8fbc510ddcbdff020cc473b553b83f48 |
ddsonic-1.0.0-sbom.cdx.json |
bb2cbe2beea140ad2b362ddc0bc883f74d86adca946ff9e3591b9be87d455bfd |
ddsonic-1.0.0-THIRD_PARTY_NOTICES.txt |
1c0b3d786c0b2b6307df3f78793973c87b3fa900de9f6965c0662df529484a4e |
SHA256SUMS lists these four. Check a download with sha256sum -c --ignore-missing SHA256SUMS.
The macOS files, added on 2026-11-08:
| File | SHA-256 |
|---|---|
ddsonic-1.0.0-darwin-arm64.tar.gz |
e0a54700ef7260c338716f639687f815be07bcebffda8cc2e01cb341a7d6823b |
ddsonic-1.0.0-darwin-arm64-sbom.cdx.json |
c199d8d0c3c71e1d03c557e4d54d141439d926fb7ce53b3357586f524882b3d0 |
ddsonic-1.0.0-darwin-arm64-THIRD_PARTY_NOTICES.txt |
5838dfced7d3715f66d091b9c2b1bc96dc93aed3a538816c9137c6ecc1dccdf6 |
ddsonic-1.0.0-darwin-arm64-build-sources.tar.gz |
9dee523b3a4fcc99e72e08d8c809ce87f5990fc7831815cd23cef54598aeb15f |
SHA256SUMS-darwin-arm64 lists these four; SHA256SUMS is unchanged. On a Mac, check a download with shasum -a 256 -c --ignore-missing SHA256SUMS-darwin-arm64. The line for ddsonic-1.0.0-darwin-arm64.tar.gz must read OK and the command must exit 0 (check with echo $?). If it reports FAILED, or prints no file was verified, do not use the file.
The THIRD_PARTY_NOTICES inside ddsonic-1.0.0-darwin-arm64.tar.gz is the older copy written at build time, and lacks one notice: that of src/libmpg123/icy2utf8.c in mpg123. ddsonic-1.0.0-darwin-arm64-THIRD_PARTY_NOTICES.txt is the complete notices file for the macOS build.
- No build attestation. 1.0.0 was built locally by the maintainer in the project's pinned build image (Go 1.27.3), not by the release workflow. The macOS files were also built locally by the maintainer, on an Apple Silicon Mac, and have no attestation either.
gh attestation verifyhas nothing to check for it. The release candidatesv1.0.0-rc.1tov1.0.0-rc.3were built by the release workflow and do carry attestations. - Build source. The Linux binary names commit
497f88ef0c4ac2f8771f01c63b99950c9e5efc2b(ddsonic --version,RELEASE-MANIFEST.json), a private snapshot of tree3b891f57e7cb590e2fa6af9a801effcd851f9bae. That commit is not part of the public history. - Published source.
ddsonic-1.0.0-source.tar.gzholds commit9ae61bcf6604e032b6e690394d10cb0bade80543, which has no parent. It is a documentation-adjusted copy of the Linux build's source, and it did not build the Linux binary. The macOS binary was built from it:ddsonic --versionand itsRELEASE-MANIFEST.jsonname9ae61bcf6604e032b6e690394d10cb0bade80543.ddsonic-1.0.0-darwin-arm64-build-sources.tar.gzholds the codec sources and the build scripts that build used, and how to rebuild it.- One documentation file is not included, and some prose and one code comment differ.
- The attestation statements are corrected.
- All code, tests, build scripts, patches, licenses, vendored Go dependencies and codec sources are unchanged.
SOURCE-PROVENANCE.mdin the archive lists the differences.
- Reproducibility is not established. A build from the published source names a different commit, so its binary is not byte-identical to the Linux release. The macOS build also depends on its build scripts, codec sources, toolchain and SDK, which its manifest records. No claim is made that either release binary can be rebuilt bit for bit.
- Changelog correction. The
CHANGELOG.mdinside the Linux binary archive is the build's copy and still lists a build attestation under 1.0.0. That line is wrong.SECURITY.mdandSOURCE-PROVENANCE.mdin the source archive, and the changelog at thev1.0.0tag, correct it. - Official builds are the files on this release page. Report security problems privately, as SECURITY.md describes.
License
- ddsonic's source code is MIT-licensed, like cliamp's.
- The
ddsonicexecutable links go-librespot, which is GPL-3.0, so the executable as a whole is distributed under GPL-3.0. - The source archive is the complete corresponding source, and
THIRD_PARTY_NOTICESlists everything linked in, with its license. - For the macOS build,
ddsonic-1.0.0-darwin-arm64-build-sources.tar.gzadds the codec sources and the build scripts it used, a notice for code inside libmpg123, and how to rebuild it, including with a modified codec library. The separate macOS notices file,ddsonic-1.0.0-darwin-arm64-THIRD_PARTY_NOTICES.txt, lists what that build links, and is the complete one: the copy inside the macOS archive is the older build-time copy. - The ddsonic name, logo and icons are covered by the README's Name and artwork terms, not by the software licenses.
Thanks
ddsonic would not exist without Bjarne Øverli, who created cliamp, and everyone who has contributed to it. Nearly everything that makes ddsonic sound good is their work: the audio engine, the equalizer, the visualizers and the provider integrations. If you enjoy ddsonic, please support cliamp too.
ddsonic also builds on these projects:
- Bubble Tea and Lip Gloss;
- Beep;
- go-librespot;
- modernc.org/sqlite;
- yt-dlp;
- the Radio Browser directory.
Bug reports are welcome in Issues.