github FurqanHun/mpv-music v0.30.0-dev.1

latest release: v0.30.0
pre-release19 days ago

Features

  • logging: store session logs in system state directory (~/.local/state/mpv-music/logs/) with startup migration
  • search: store YouTube search cache in system cache directory (~/.cache/mpv-music/) with startup migration
  • tui: implement adaptive multi-section preview pane for Directory Mode with root headers, subfolder breakdowns, and direct track previews
  • tui: display Directory Mode items relative to configured root music directories
  • tui: pin configured root music directories with [Root] tags at the top of Directory Mode
  • filter: sort album and tag filter tracks naturally in numerical sequence when shuffle is disabled
  • search: implement natural alphanumeric track sorting for folder playback
  • tui: support multi-selection playback in playlist mode
  • indexer: probe track duration, sample rate, and bitrate via lofty properties with TUI preview support
  • indexer: implement atomic index writing with .tmp/.bak staging, crash safety, and automatic startup recovery
  • config: consolidate config migrations, auto-populations, and value clamps into a single unified startup notification
  • config: support dynamic ["default"] extension lists with addition and exclusion tokens (!ext, -ext) for audio_exts, video_exts, and playlist_exts, and auto-migrate legacy hardcoded defaults
  • indexer: add configurable filename_pattern supporting {artist}, {title}, {album}, {track} with graceful fallback to default heuristics on mismatch
  • indexer: strip leading track numbers from filenames in default fallback and infer artist/album from parent directory hierarchy
  • tui: add filtered deselect-all (ctrl-d) and global deselect (alt-d) keybindings
  • ui: add progress spinner for ytdlp operations and update check
  • player: add live stream detection, clean titles, and album powerbar
  • icons: update album nerd font icon to vinyl record
  • tui: align interactive search bar with CLI boolean operators
  • cli: add --or flag for multi-flag union filtering and candidate resolution
  • filter: support same-flag OR aliases and per-branch pruning
  • search: scale typo tolerance by length and add bounded edit distance fallback
  • search: support boolean OR and AND operators in unified queries
  • tui: enable native normalization, adaptive typo tolerance, and anchor column display
  • search: support unified multi-field query across title, artist, and album
  • filter: add smart ambiguity resolution in CLI filters
  • filter: remove exact-match hard-shadowing in CLI filters
  • search: handle prepended and appended typo edge cases in search tokens
  • search: add relevance scoring tiers and relevance sorting
  • search: add typo and fuzzy tolerance with skim matcher
  • search: add multi-word and out-of-order token matching
  • search: add noise tolerance helper for parentheticals, brackets, and featured artists
  • search: normalize unicode, accents, apostrophes, and full-width characters

Performance Improvements

  • search: pre-normalize query tokens once outside candidate scoring loops
  • tui: eliminate heap allocations in TagItem and DirItem Skim rendering via cached display strings
  • indexer: reuse line buffer and pre-allocate vector capacity during JSONL index loading
  • indexer: use fast DirEntry::file_type() checks in WalkDir with symlink fallback
  • player: wrap temporary queue playlist file writing in BufWriter

Bug Fixes

  • search: purge corrupted YouTube cache immediately on load failure
  • tui: isolate directory path prefix matching to whole path components and deduplicate nested multi-selection
  • search: add adjacent transposition to bounded edit distance
  • filter: route multi-match title filters to track picker and support middle-typo insertions

Refactoring & Maintenance

  • chore(config): bump default yt-dlp user agent to Firefox 160.0
  • youtube: reuse unified duration formatter with hour display support
  • docs(cli): update help screens and operator guides
  • docs(readme): update user guide for unified search, operators, and ui features
  • refactor(ytdlp): demote deno priority and update js runtime recs cause it's shutting down
  • refactor(search): organize search modules into src/search directory
  • chore(deps): update dependencies and bump skim to 5.9.0
  • ci(release): automate Fedora Copr build trigger via webhook
  • build(fedora): add COPR spec file and document Fedora package installation

Don't miss a new mpv-music release

NewReleases is sending notifications on new releases.