[GH-ISSUE #781] Configures icons in status message #313

Closed
opened 2026-02-28 14:48:27 +03:00 by kerem · 2 comments
Owner

Originally created by @AckslD on GitHub (Apr 7, 2021).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/781

I've set the following icons in my config:

behavior:
    playing_icon:  
    pause_icon:  

When a song is playing spt pb -s -f "%s" correctly gives , however when paused gives instead of my configured icon. Is this the intended behaviour?

I would like to use spt pb -s -f "%s" in some of my scripts to know if spotify is playing or not and for this reason would like to know what output I can expect.
For this reason I would actually prefer getting an output e.g. Playing/Paused rather than an icon. But icons are fine, if they could be configured.

Originally created by @AckslD on GitHub (Apr 7, 2021). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/781 I've set the following icons in my config: ``` behavior: playing_icon:  pause_icon:  ``` When a song is playing `spt pb -s -f "%s"` correctly gives ``, however when paused gives `` instead of my configured icon. Is this the intended behaviour? I would like to use `spt pb -s -f "%s"` in some of my scripts to know if spotify is playing or not and for this reason would like to know what output I can expect. For this reason I would actually prefer getting an output e.g. `Playing`/`Paused` rather than an icon. But icons are fine, if they could be configured.
kerem closed this issue 2026-02-28 14:48:27 +03:00
Author
Owner

@OrangeFran commented on GitHub (Apr 10, 2021):

Try paused_icon instead of pause_icon. I think this is the correct name.

Edit: I think you can just set them to Playing/Paused in the config file. That makes it easier to work with them.

<!-- gh-comment-id:817134536 --> @OrangeFran commented on GitHub (Apr 10, 2021): Try `paused_icon` instead of `pause_icon`. I think this is the correct name. Edit: I think you can just set them to `Playing`/`Paused` in the config file. That makes it easier to work with them.
Author
Owner

@AckslD commented on GitHub (Apr 10, 2021):

Thanks a lot @OrangeFran! Stupid typo by me... Also really nice that one can use "Playing"/"Paused" as "icons 👍

<!-- gh-comment-id:817204500 --> @AckslD commented on GitHub (Apr 10, 2021): Thanks a lot @OrangeFran! Stupid typo by me... Also really nice that one can use "Playing"/"Paused" as "icons 👍
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-tui#313
No description provided.