iamdb / hifi.rs

a high resolution Qobuz streamer built in Rust
GNU General Public License v3.0
75 stars 10 forks source link

Seem to be unable to copy whats currently playing #155

Closed LTSCommerce closed 8 months ago

LTSCommerce commented 1 year ago

Pretty normal thing for me to do is find something I like in a playlist etc and want to share it or look into it

The TUI seems to prevent any normal copy actions, I can't figure out a way to grab the current track details

LTSCommerce commented 1 year ago

found a workaround

install playerctl sudo dnf install playerctl

then you can get current track details with playerctl metadata

a little bash snippet to give you an easy copy/pasteable text you can use

while true; do playerctl metadata --format "Now playing: {{ artist }} - {{ album }} - {{ title }}"; sleep 60;echo; echo; echo; done
LTSCommerce commented 1 year ago

this gnome shell extension will display the details, but doesn't enable me to copy the details

https://extensions.gnome.org/extension/4928/mpris-label/