Closed danielwerg closed 14 hours ago
playerctl -p spotify metadata --format "{{title}}|{{artist}}|{{album}}|{{status}}"
returns No players found
No players found
Caused by this hardcoded line: https://github.com/justinmdickey/goplaying/blob/main/main.go#L141
Let user to optionally pass player name, like so goplaying mpd or goplaying --player mpd or goplaying -p mpd to match playerctl that should only ever display info for mpd player`
goplaying mpd
goplaying --player mpd
goplaying -p mpd
playerctl
Resolved with https://github.com/justinmdickey/goplaying/commit/460911d0e32f1cb4508a8ea4b7ca5bf2502d2381
playerctl -p spotify metadata --format "{{title}}|{{artist}}|{{album}}|{{status}}"
returns
No players found
Caused by this hardcoded line: https://github.com/justinmdickey/goplaying/blob/main/main.go#L141
Proposed solitions
Let user to optionally pass player name, like so
goplaying mpd
orgoplaying --player mpd
orgoplaying -p mpd
to matchplayerctl
that should only ever display info for mpd player`