Repository navigation
Sleep timer, find in a list, per-list sort, search history - #12
Merged
Merged
Conversation
… that keep up - z: sleep timer, 15 / 30 / 45 / 60 / 90 min or the end of this song. The volume fades out over the last 8 s, then trill pauses and puts the volume back. No timer runs while it's off; while on it wakes once, at the start of the fade. - F: find in the open list. It narrows as you type (title, artist or album), ↑↓ move in it, Enter keeps it, Esc clears it. The title shows "x of y". - o / O sort the open list, and each list remembers its own order. Albums and artist pages say they keep theirs instead of pretending to change. - ↑↓ in the search box bring back the last 30 searches. - D D in the queue removes a song you queued with a. - Pressing . or , quickly kept losing every other seek: Soloist's report for one seek arrived after the next was sent and reset the position. Reports far from the last seek's target are ignored for a second. - Sorts and searches go in the same settings file; files from older versions load as before.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Quality-of-life round. No new dependencies, no new config options, no idle timers.
New
zsleep timer: 15 / 30 / 45 / 60 / 90 min, or the end of this song. The volume fades out over the last 8 s, then trill pauses and restores the volume. The now-playing line showssleep 29m/sleep end. Off, it costs nothing. On, it wakes once, at the start of the fade (then every 0.5 s for the 8 s fade).Ffind in this list: narrows the open list as you type (title, artist or album, any case). ↑↓ move in it, Enter keeps it, Esc clears it. The title shows“strokes” 40 of 3953. Playing from a narrowed list plays what's shown.o/Onow sort the open list, and each list remembers its own order. Lists you never sorted keep the default from before. Albums and artist pages say they keep their own order, instead of reporting a sort that didn't happen.D Din the queue removes a song you queued witha.Fixed
./,quickly lost about every other seek: 12 presses moved about 1 minute instead of 2. Soloist's position report for one seek arrived after the next seek was sent and reset the position. Reports far from the last seek's target are now ignored for 1 s.Compatibility
Sorts and searches go in
audio_settingsassort <uri>=titleandsearch=…lines. Files from older versions load unchanged (test included). An older trill reading the new file ignores those lines.Numbers (same scenario as #10)
PSS idle 15.8 MB, Liked Songs open and playing 19.2 MB, after skips 18.6 MB. Paused: 1 wakeup / 20 s. These match 0.4.2. Typing in find on 3,953 rows: 9–20 ms key to frame in tmux, the same as any other key there.
Tested
cargo test(new: per-list sorts and searches round-trip, old file loads),cargo clippywith 0 warnings. The help-layout test still fits at 60×40: I merged 2 lines to make room.zcycling, and a full end-of-song fade. The debug log showsset_volumestepping 65 → 61 → … → 5, then pause and restore to 65, with nothing restarting. Rapid seeks: 12 presses moved exactly 2:00.