Skip to content

Using the GUI

lpcornel edited this page May 13, 2026 · 3 revisions

Using the GUI

Home


Main Window Layout

MusicLib main window screenshot


Side Panel Tabs

Tab Purpose
Library Browse, search, filter, and rate your collection
Mobile Upload playlists to phone, view sync status
Maintenance Build database, import tracks, clean/conform tags, boost album
CD Ripping Configure K3b rip profile (format, bitrate, error correction)
Smart Playlist Analyze pool and generate variety-optimized playlists
Settings Paths, device IDs, behavior options

Rating Tracks

Three methods — all save instantly to the database and the file's POPM tag:

  1. Library View — Click stars in the Rating column (track doesn't need to be playing)
  2. Now Playing strip — Click stars in the toolbar while a track is playing
  3. Global keyboard shortcutsMETA+1 through META+5 (see Desktop Integration below)
  4. Dolphin — Right-click any audio file → Rate Track → pick stars

POPM Values Written

Stars POPM Written Configurable via
1 POPM_STAR1 in musiclib.conf
★★ 64 POPM_STAR2
★★★ 128 POPM_STAR3
★★★★ 196 POPM_STAR4
★★★★★ 255 POPM_STAR5

Kid3's config is auto-synced to match your POPM values on every rating operation.


Library View — Right-Click Menu

MusicLib main window screenshot

Action Description
Play / Queue Send to the active player immediately or add to queue
Edit in Kid3 Open track in Kid3; double-click any DB field after saving to sync
Rebuild Tag / Tags Rewrite tag(s) from database-authoritative values
Remove Remove database record (optionally delete the file)
Open Music Library Launch Dolphin to the track's folder
Copy Location Copy file path to clipboard (also shown in status bar)

Importing New Music

Always use Add New Tracks — never copy files to your library manually.

MusicLib import screenshot

  1. Place the album in your download directory (one artist/album at a time)
  2. Open the album in Kid3 — verify the Artist and Album tags (Album tag determines the destination folder name)
  3. Maintenance PanelAdd New Tracks → enter artist name → Execute

MusicLib normalizes filenames (Pink Floydpink_floyd), creates MUSIC_REPO/artist/album/, and adds tracks to the database.


Tag Maintenance

MusicLib tag screenshot

Tool When to use
Clean Tags Format-level repair: merge ID3v1→v2, remove APE tags, embed album art. Use on files before library import.
Conform Tags Sync in-library file tags back to database values. Use after bulk edits or database changes.
Rebuild Tag (right-click) Quick single-track tag repair from the library view.
Boost Album Apply ReplayGain loudness targeting to an album directory. Requires rsgain.

Note: Conform Tags reads from musiclib.dsv but never writes back to it. Don't run it after a manual Kid3 edit — it will overwrite your changes. Use the Edit Field workflow instead.


Desktop Integration

System Tray

MusicLib lives in the system tray. Hover for now-playing info.

  • Right-click: Library, Maintenance, Mobile, Settings, Quit MusicLib tag screenshot

  • Left-click: Rate Current Track, Edit in Kid3, Copy Filepath, Library Record MusicLib tag screenshot

Configure via Settings → Advanced → GUI Behavior.

Dolphin Context Menu

Installed automatically by musiclib-cli setup to ~/.local/share/kio/servicemenus/musiclib-rate.desktop.

MusicLib tag screenshot

  • Rate Track → submenu ★ through ★★★★★ — calls musiclib-cli rate <n> <filepath> directly
  • Works on any audio file without opening MusicLib

Global Shortcuts

Set up via KDE Menu Editor (create entries pointing to musiclib-cli rate 1 through rate 5), then assign keys under System Settings → Keyboard → Shortcuts.

Shortcut Action
META+1META+5 Rate currently playing track
META+0 Clear rating

Works system-wide even when MusicLib window is closed.

Conky Integration

MusicLib tag screenshot

MusicLib writes to ~/.local/share/musiclib/data/conky_output/:

File Content
detail.txt Artist/album summary from the track's comment tag
starrating.png Visual star rating image
artloc.txt Path to current album art
folder.jpg Album art image
playlistposition.txt Current track position within the active playlist
playlistlength.txt Total number of tracks in the active playlist

Toolbar Reference

Button Action
Now Playing + stars Shows current track; click stars to rate
Album View Opens album detail window for current track
Playlist Select and activate a player playlist
Audacious Launch/raise Audacious (or your configured MPRIS2 player)
Kid3 Launch/raise Kid3 for current track
Rip CD Deploy MusicLib rip profile and launch K3b (disabled if K3b not installed)
Dolphin Launch/raise Dolphin at current track's folder

Clone this wiki locally