-
Hi, it is possible to get the current song info, using a global shortcut? Lets say I am working with gimp, and listening an online radio, I like the song currently played, so I hit the global shortcut to get that info, and pasted into a text file, all this without having to change from gimp to strawberry. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I use
On Linux you could also try using notify-send "$(playerctl --player=strawberry metadata xesam:title)" |
Beta Was this translation helpful? Give feedback.
-
Thanks that is useful |
Beta Was this translation helpful? Give feedback.
I use
playerctl
for that (on Ubuntu 22.04)playerctl --player=strawberry metadata
prints out all metadata for the current trackplayerctl --player=strawberry metadata xesam:title
specifically specifies the titleOn Linux you could also try using
notify-send
to display the title as desktop notification, perhaps something like this:notify-send "$(playerctl --player=strawberry metadata xesam:title)"