RepositoryC++
yappologistic

yappologistic/Sung

A native Material 3 music player for Linux. YouTube Music, local audio, synchronized lyrics, and Noctalia theming.

446stars
30forks
11issues
7views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: noctalia

#1 Repository of the week

2
TINIX TRENDING·Topic: youtube-music

#2 Repository of the week

2
TINIX TRENDING·Topic: qml

#2 Repository of the week

Sung showing music collections and synchronized lyrics Support Sung on Buy Me a Coffee

Sung

YouTube Music, your music files, and your music server. Native on Linux.

License: MIT Linux Qt 6

A minimal Material 3 player built with C++ and Qt Quick, designed for CachyOS and Wayland.

Install · Features · Development

Features

  • YouTube Music — search songs, albums, artists and playlists; play audio without an embedded browser or ad interface.
  • Navidrome / Subsonic — browse and search your server, play original or transcoded audio, edit server playlists, rate songs, sync favorites and listening history, and display server lyrics.
  • Your music — import FLAC, MP3 and other supported audio files or folders; browse albums and artists, search paths and group songs by folder. Mix local and YouTube songs in the same playlists.
  • Animated artwork — local animated covers and automatic online covers for matching YouTube songs, shared across the player, immersive view and mini player; lists use still covers.
  • Lyrics — synchronized lyrics, an immersive view, timing adjustments, LRC import, seek previews and search with jump-to-line playback.
  • Library tools — likes, listening history, smart mixes, custom smart playlists, custom playlist covers, playlist cleanup, multi-selection, drag reordering and Undo.
  • Playback controls — mini player, queue editing with source headings, shuffle, repeat, sleep timer, playback speed and audio-device selection.
  • Desktop integration — media keys through MPRIS, optional notifications, light/dark themes and Noctalia palette support.

Native rendering and bounded artwork caches keep Sung lightweight. Animated covers share one additional decoder, released when the player is hidden. Animations can be disabled in Settings.

Install

CachyOS / Arch Linux

Install the build and runtime dependencies:

sudo pacman -S --needed git base-devel cmake ninja python nodejs ffmpeg qt6-base qt6-declarative qt6-multimedia qt6-svg qt6-wayland qt6-imageformats

Download and install Sung:

git clone https://github.com/yappologistic/Sung.git
cd Sung
./scripts/install.sh

Open Sung from your application menu, or run:

~/.local/bin/sung

Installation is per-user in ~/.local; do not run the install script with sudo. Python dependencies are installed in an isolated environment. Internet access is needed during installation and for YouTube playback.

Other Linux distributions

Install the equivalent development packages for Qt 6.8+ (Core, Gui, Quick, Qml, QuickControls2, Multimedia, Network, DBus, Svg and Wayland), a C++20 compiler, CMake 3.24+, Ninja, Python 3 with venv/pip, Node.js 20+ and FFmpeg. Install the Qt image-format plugins for WebP artwork. Then follow the clone and install commands above.

Sung uses Google Sans Flex when installed and otherwise falls back to a system font. Noctalia is optional.

Getting started

Music library

Search for music or paste a YouTube song or playlist link. Use Library → Local files → + to add files, or Folders → Add folder… for a whole music folder. Enter its absolute path (or ~/Music), or use Browse…, then choose Add folder. This also works for network shares mounted as local folders and does not depend on the system folder picker. Subfolders are scanned recursively. Saved folders update automatically while Sung is running. Settings can disable automatic updates; the refresh button also rescans them. Missing files remain listed as unavailable; files and playlist entries are never deleted by a scan. Folder monitoring uses filesystem notifications and is bounded to 4,096 directories and 10,000 audio files; use manual rescan for larger libraries or mounts that do not deliver notifications.

In Local files, open Find and sort songs → Folder to group songs by their parent directory, with natural filename order inside each group. The filter also searches folder paths.

Create an automatic playlist from Library → Playlists → Smart playlist. Combine artist, title, source, liked status and last-played rules over your saved music. Use Edit rules to change it; matching songs update automatically.

Local files → Albums / Artists groups imported music by its tags. Albums use album-artist tags when present, with disc and track order preserved. Use Rescan after upgrading to refresh tags on existing imports.

In a playlist’s menu, choose Change cover… to crop a PNG, JPEG or WebP. Sung saves a 512px copy; the original stays untouched. Restore cover collage returns to automatic artwork.

Artwork and appearance

For animated artwork, place a GIF, animated WebP, MP4 or WebM beside your music, named cover, folder, front or artwork (for example, cover.mp4). A matching song filename, such as Song.gif beside Song.flac, takes priority. Names are case-insensitive. JPG, PNG and static WebP sidecars also work as still covers. Import or rescan the folder after changing its artwork. Covers are limited to 128 MiB and 4096 × 4096 pixels; unreadable covers fall back to embedded artwork. Animation is silent, pauses with playback, and respects Settings → Animations and Animated album artwork. No artwork service account is needed.

For YouTube songs, Online animated covers looks for a matching album on Apple Music’s public pages. This unofficial, best-effort lookup needs no account; it sends the song’s title and artist to Apple and checks the album and duration when available. Singles can use artwork from a verified original album release; missing search results are checked against the album’s track list. Many albums have no animation, and uncertain matches keep the original still cover. Temporary lookup failures get one automatic retry. Downloads are limited to 16 MiB per silent cover and 64 MiB of disk cache. Disable the lookup in Settings or remove downloaded covers with Clear cache.

Open Settings → Current artwork to preview the current cover, view its source album, retry a match, disable animation for that song or choose a local GIF, WebP, MP4 or WebM. Local choices are saved per song and reference the selected file; keep it in place. Use automatic cover clears the override.

Settings → Use artwork accent colors controls from the current cover. It is off by default; desktop surfaces and Noctalia integration are preserved. Monochrome or missing covers use the normal theme.

The artwork controls also offer Fit / Fill, remembered per album where album metadata is available, otherwise per song. Immersive artwork requests a display-sized still cover up to 1600px; source quality remains the limit. Artwork accents transition smoothly when animations are enabled.

Playback and shortcuts

The queue shows remaining time and a finish estimate during uninterrupted playback. Unknown durations, random shuffle, repeat, autoplay or a sleep timer can make a finish estimate unavailable.

Album pages show the artist, release year when available, track count and duration, with disc headings when the source supplies disc numbers. Drag the lyrics/queue divider to resize the panel; double-click it to reset. Its width is remembered.

Press Ctrl+Shift+P for quick actions, saved playlists and audio outputs. Type to filter, use the arrow keys, then press Enter.

Listening sessions in Settings or Quick Actions save your queue, song position, speed, shuffle, repeat and autoplay settings. Resume asks before replacing the current queue. Sessions can be renamed, updated or deleted; up to 20 sessions of 2,000 songs each are kept locally.

Pause when audio output disconnects is optional. Sung pauses when the selected device disappears; wired headphone-port detection uses pactl from libpulse. Reconnecting does not automatically resume playback.

Track details shows playback codec, bitrate and decoded sample rate/channels when reported by the decoder. Local file metadata is labeled separately. Missing values are omitted.

Type in Settings to find a control.

Open a song’s menu to queue it, like it or add it to a playlist. Local playlist additions skip duplicates and can be undone. Views remember their filter, sort and scroll position during the session. Open Clean up in a local playlist to review duplicates and missing files; removal never deletes the original audio.

ShortcutAction
SpacePlay / pause
Ctrl+FFocus search
Ctrl+Shift+PQuick actions
Ctrl+JShow the playing song in the queue
? / F1Keyboard shortcut reference (outside text fields)
Ctrl+MToggle mini player
F11Toggle immersive player
Ctrl+ASelect songs in the focused list
EscapeClose the current view or clear selection

Connect a music server

Open Settings → Music server and enter your Navidrome or Subsonic server address, username and password. Use the server root, including any deployment subpath, without /rest. Use HTTPS for remote servers.

Open Library → Music server to browse. The main search bar searches your server while this view is open. The server menu offers library selection, playlist creation, and queue save/restore. Song menus include ratings and server playlist actions; playlists you own support rename, deletion, song removal and drag reordering.

Local playlists can mix YouTube, local files and server songs. Server playlists accept songs from that server only. One server account can be connected at a time. Server lyrics use synchronized lyrics when available, otherwise plain text.

Remember in desktop keyring uses secret-tool (the libsecret package on Arch) and a running Secret Service provider. If the keyring is unavailable, the connection works for the current session. Passwords and authenticated URLs are not saved in library exports. Disconnect removes the saved login.

Connection settings include audio quality and server listening history. Original audio is buffered on disk before playback, with a 512 MiB limit per song; choose a lower bitrate for very large files. Server transcoding must be available for the selected bitrate. Listening history is submitted after half a song or four minutes of playback, whichever comes first; private listening disables submission.

Tested against Navidrome 0.63.2. Other servers must support Subsonic 1.16.1 token authentication and JSON responses. OpenSubsonic lyrics and form POST are detected when available. Server administration, video and podcasts are outside this integration.

Accounts and saved data

YouTube browsing is anonymous. YouTube likes, local playlists and local history are stored locally and do not sync with your Google account. Settings offers library JSON import/export; audio files, custom cover images and imported LRC files are not bundled into exports.

For streams requiring sign-in, Settings can import a user-selected Netscape-format cookie file. Sung does not read your browser profile. Cookies can be removed in Settings.

Library data is stored in ~/.local/share/Sung/sung/, settings in ~/.config/Sung/, and cache in ~/.cache/Sung/sung/. Standard XDG directory overrides are respected. Sung has no analytics or telemetry. Optional LRCLIB lyric lookups send the song’s title, artist and duration; they can be disabled in Settings.

Troubleshooting

Playback depends on YouTube availability, region and network conditions. Sung buffers audio before playing, so starting a song can take a moment. It does not remove sponsor segments embedded in recordings or promise gapless playback.

If YouTube playback stops working after an upstream change, update the resolver:

~/.local/lib/sung/runtime/bin/python -m pip install --upgrade 'yt-dlp[default]' ytmusicapi

To update Sung, quit the player, then run git pull and ./scripts/install.sh from this checkout. To uninstall, run ./scripts/uninstall.sh; your library and settings are kept.

Development

Build and run from the checkout:

./scripts/setup.sh
./scripts/build.sh
./scripts/run.sh

Run automated tests:

./scripts/test.sh
./scripts/verify.sh --offline

The full integration suite is ./scripts/verify.sh. It needs network access, a working audio session, Google Sans Flex, Qt Test, qdbus6 and dbus-run-session (qt6-tools and dbus provide the command-line tools on Arch). It briefly plays audio at low volume and uses isolated test profiles. The online-artwork checks compare fresh downloads and cached replay across five albums, then verify native rendering with muted YouTube playback. These live checks depend on the albums remaining available.

Reports and screenshots are written to the ignored verification/ directory. Do not attach raw logs or cookie files to issues; playback logs may contain signed media URLs. The Git allowlist keeps build outputs, runtime environments, personal media and development reports out of the repository.

To test the server integration, build the test targets and provide a Navidrome executable:

./scripts/test.sh
python3 tests/navidrome_integration.py \
  --navidrome /path/to/navidrome \
  --test-binary build-tests/sung-subsonic-tests \
  --output verification/navidrome

The script starts a loopback-only server, creates a temporary account and 105 generated audio fixtures, and tests browsing, playback, seeking, lyrics, playlist edits, ratings, favorites, queue restoration and scrobbling. It stops the server and removes its temporary data afterward. Use a new output directory for each run. With a diagnostics build, add --ui-binary /path/to/sung to exercise the rendered interface too.

License

MIT. Material Symbols are licensed under Apache-2.0; see NOTICE for third-party acknowledgments. Sung is an independent project and is not affiliated with Google or YouTube.

Similar Projects

Discover other similar projects and AI models.

RepositoryC++
yappologistic/Spun

A CD-shaped music player for Linux, with local playback and Cider integration.

479
Sep 16, 2026
RepositoryKotlin
team-spotube/spotube

🎧 Open source music streaming app! Available for both desktop & mobile!

51.1k
Dec 1, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
156.6M
Jun 1, 2026
RepositoryTypeScript
pear-devs/pear-desktop

Pear 🍐 is extension for music player

34.1k
Nov 27, 2026
RepositoryDart
qier222/YesPlayMusic

A better-looking desktop music player for local files, media servers, and plugins. For macOS, Windows and Linux.

33.9k
Dec 1, 2026
RepositoryPython
practical-tutorials/project-based-learning

Curated list of project-based tutorials

290.9k
Nov 30, 2026
RepositoryJavaScript
CyC2018/CS-Notes

:books: 技术面试必备基础知识、Leetcode、计算机操作系统、计算机网络、系统设计

186.6k
Nov 27, 2026
RepositoryJavaScript
nodejs/node

Node.js JavaScript runtime ✨🐢🚀✨

124.1k
Nov 30, 2026
RepositoryC++
shadps4-emu/shadPS4

PlayStation 4 emulator for Windows, Linux, macOS and FreeBSD written in C++

34.4k
Nov 28, 2026