musikcube
musikcube copied to clipboard
How to obtain the current playing song using a command?
trafficstars
A musikcube user opened a feature request https://github.com/hykilpikonna/hyfetch/issues/364 to display musikcube's current playing song on neofetch. How can I obtain this information using one command?
How can I obtain this information using one command?
I think the best solution for now would be parsing of playerctl metadata. Something like:
playerctl metadata --format "Now playing: {{ artist }} - {{ album }} - {{ title }}"
https://github.com/altdesktop/playerctl
How can i get it on macOS? becase musikcube is not registering the playback on MPNowPlayingInfoCenter, so I cannot get the song info or control it using nowplaying-cli