Commit graph drift/src
Author SHA1 Message Date
olivr
ad2a1462e8 fix(app): restore split_artists import after rebase onto upstream 1.4 2026-10-29 18:32:14 +01:00
olivr
d594184ff7 fix(ui): add savealbum and saveresults to command palette descriptions 2026-10-29 18:30:23 +01:00
olivr
1cd329d112 feat: add native support for saving albums and results as playlists 2026-10-29 18:30:23 +01:00
eb6b16e70b feat: discord presence, cached audio playback, multiinstance safety
Add
- Discord rich presence ("Listening to", cover, progress, Listen Along
  button). enable via [discord] client_id in config.toml : retries quietly
  if Discord isn't running. new dep: discord-rich-presence.
- :save! / :w! to overwrite a playlist. Plain :save now refuses to
  clobber an existing name.

Change
- Download audio with yt-dlp into the cache dir and play the local file
  (mpv --ytdl=no) instead of streaming. Keep the last 40 files and
  prefetch the next queued track.
- show the the actual yt-dlp/mpv error on playback failure instead of the
  generic "update yt-dlp" hint; allow wider status messages (70 - 120 char).
- Split artists from YouTube's linked artist runs and yt-dlp's 'artists'
  list (new Track::artists) rather than guessing from the display string.
  Fallback splitter keeps names like "Tyler, The Creator" whole and
  matches separators case-insensitively. (shit)
- Restyle selection (accent bold text + bar) and tab bar (underlined
  active tab instead of pills)
- Share one ureq agent across yt Music requests

Fix
- Multiple drift instances: only the first (flock on session.lock) owns
  the session, and playlist saves merge with what other instances wrote.
- Collection picker no longer steals keys while typing.
- "Play next" now shifts `played` indices so shuffle history stays right.
- Leaving the queue for a playlist/result list marks the queue as done.
- Replace unwrap() in lyrics sorting with total_cmp (NaN-safe).
2026-10-29 18:19:00 +01:00
da5b76ab06 feat(mpris, similar search, playlist)
- added feature to search for similar songs using YouTube API
   ; can go to similar songs by pressing (gs)
- added mpris support (added support for playerctl)
   ; this means you can show the current playing song on waybar, shells, etc
- added playlist search
- added go to album
2026-10-20 13:28:39 +02:00
71c2ef6410 cleanup(app,ui): remove unused imports 2026-10-18 21:47:23 +02:00
8f650f8820 feat: add synced lyrics panel and fullscreen view
- fetch lyrics from lrclib in the background, only while visible
- L toggles side panel, F opens fullscreen, :lyrics as a command
- highlight current line with a progress fill, fade surrounding lines
- fall back to scrollable plain lyrics when no synced version exists
2026-10-17 21:04:28 +02:00
bf11685a03 add: accent color option in config 2026-10-11 18:39:28 +02:00
1d579f5311 UI Overhaul
- Windows support: drift now runs natively on Windows, using named pipes instead of Unix sockets.
- Song context menu: press G on any song for quick actions like play, queue, add to playlist, and song info
- Redesined command menu: the : prompt has a new, cleaner design
- Visualizer: a live audio visualizer now sits in the bottomleft corner
- Keybind hints: the most useful shortcuts are showen next to the volume control
2026-10-11 17:56:25 +02:00
9c6b54b705 yes 2026-10-11 17:56:25 +02:00
8a049b6fca Commit 10/11/26
- Added [artist] in config
- Automatically lists new songs when scrolled on :search
- You can view most popular songs on artist profile
- By adding this to your config:

[artist]
popular_first = true
2026-10-11 09:54:07 +02:00
a69820e5a3 cleanup 2026-10-10 18:13:51 +02:00
f1eb55801f (add): add confirmation for deleting playlists + fix playlist name overwriting 2026-10-10 18:13:30 +02:00
576801f108 (cleanup): cleanup on src/ 2026-10-10 18:04:20 +02:00
0fc9c0bb2c fix clippy warnings in app.rs 2026-10-10 14:51:00 +02:00
e2dfb42373 (fix): queue bugs 2026-10-10 10:26:43 +02:00
4431840c03 yes 2026-10-10 10:03:06 +02:00
d1e643e348 fix artist search 2026-10-09 21:43:36 +02:00
6d386dfe9a Add source code 2026-10-09 16:52:03 +02:00