[GH-ISSUE #737] ToggleLike actions config not working #436

Closed
opened 2026-03-02 23:47:30 +03:00 by kerem · 1 comment
Owner

Originally created by @jdsimcoe on GitHub (May 29, 2025).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/737

Describe the bug
I setup up a config.toml in this directory path: ~/.config/spotify-player/config.toml on macOS. Here are the contents:

[actions]
action = "ToggleLiked"
key_sequence = "C-l"

When I launch spotify-player from the CLI everythig runs fine but Ctrl + l doesn't do anything. It doesn't toggle a song as Liked.

To Reproduce
Load the above settings in config.toml and launch spotify-player. Observe that ToggleLiked is not working.

Expected behaviour
I would expect Ctrl + l with the above config to toggle a track as Liked.

Log and backtrace
Log and backtrace of a run reproducing the bug to help debug the issue, which are usually located in $HOME/.cache/spotify-player/.

https://gist.github.com/jdsimcoe/5133f5c708a9dea2332949bd143517aa

Environment

  • OS: macOS 15.5
  • Application version: 0.20.5
  • Application features: if applicable, provide cargo features used to build spotify_player
Originally created by @jdsimcoe on GitHub (May 29, 2025). Original GitHub issue: https://github.com/aome510/spotify-player/issues/737 **Describe the bug** I setup up a `config.toml` in this directory path: `~/.config/spotify-player/config.toml` on macOS. Here are the contents: ``` [actions] action = "ToggleLiked" key_sequence = "C-l" ``` When I launch spotify-player from the CLI everythig runs fine but `Ctrl + l` doesn't do anything. It doesn't toggle a song as Liked. **To Reproduce** Load the above settings in config.toml and launch spotify-player. Observe that ToggleLiked is not working. **Expected behaviour** I would expect `Ctrl + l` with the above config to toggle a track as Liked. **Log and backtrace** Log and backtrace of a run reproducing the bug to help debug the issue, which are usually located in `$HOME/.cache/spotify-player/`. https://gist.github.com/jdsimcoe/5133f5c708a9dea2332949bd143517aa **Environment** - OS: macOS 15.5 - Application version: 0.20.5 - Application features: if applicable, provide [cargo features](https://doc.rust-lang.org/cargo/reference/features.html) used to build `spotify_player`
kerem 2026-03-02 23:47:30 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@jdsimcoe commented on GitHub (May 29, 2025):

Nevermind, solved it. I had the key commands in config.toml and not keymap.toml. This solved it:

[[actions]]
action = "ToggleLiked"
key_sequence = "C-l"
target = "SelectedItem"

<!-- gh-comment-id:2920487855 --> @jdsimcoe commented on GitHub (May 29, 2025): Nevermind, solved it. I had the key commands in `config.toml` and not `keymap.toml`. This solved it: ``` [[actions]] action = "ToggleLiked" key_sequence = "C-l" target = "SelectedItem" ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#436
No description provided.