Skip to content

feat: add global keybind to like/dislike currently playing track#215

Merged
LargeModGames merged 2 commits into
LargeModGames:mainfrom
shilicioo:feature/like-hotkey
Apr 16, 2026
Merged

feat: add global keybind to like/dislike currently playing track#215
LargeModGames merged 2 commits into
LargeModGames:mainfrom
shilicioo:feature/like-hotkey

Conversation

@shilicioo
Copy link
Copy Markdown
Contributor

@shilicioo shilicioo commented Apr 15, 2026

Summary

Fixes #214
Adds a global F keybinding to like/unlike the currently playing track from anywhere. Right now you can only like tracks using s on specific screens, but if you're browsing albums or searching and want to quickly like what's playing, you had to navigate back. Now just hit 'F'.

Default is F (for "Favorite") but configurable in config.yml as like_track.

Testing

Built and tested with:
cargo run --no-default-features --features telemetry
cargo test --no-default-features --features telemetry global_shift_f
cargo clippy --no-default-features --features telemetry -- -D warnings

Tested manually on Home, Album, Artist, Search, and Playlist screens. Heart icon updates correctly. The F key types normally in search input (doesn't trigger the hotkey). Existing s key still works as before.

Additional notes

Updated CHANGELOG.md and added unit tests. Follows the same pattern as the existing W (add to playlist) global hotkey.

Adds a configurable global keybinding (F by default) to like/unlike the
currently playing track from any screen. Complements the existing
context-specific 's' key.

- Default keybinding: F (for Favorite)
- Configurable in config.yml as 'like_track'
- Respects input mode (doesn't intercept when typing in search)
- Added unit tests for the new hotkey
- Updated CHANGELOG.md
@shilicioo shilicioo force-pushed the feature/like-hotkey branch from 42660cb to 229a5f4 Compare April 15, 2026 14:43
@LargeModGames LargeModGames merged commit 83569fd into LargeModGames:main Apr 16, 2026
5 checks passed
@LargeModGames
Copy link
Copy Markdown
Owner

@all-contributors add @shilicioo for code

@allcontributors
Copy link
Copy Markdown
Contributor

@LargeModGames

I've put up a pull request to add @shilicioo! 🎉

LargeModGames added a commit that referenced this pull request Apr 16, 2026
Adds @shilicioo as a contributor for code.

This was requested by LargeModGames [in this
comment](#215 (comment))

[skip ci]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Global shortcut to like currently playing track (e.g. Shift+L)

2 participants