local-bin/common/listento

14 lines
212 B
Plaintext
Raw Permalink Normal View History

2022-12-14 15:16:43 +02:00
#!/bin/sh
# Listenbrainz + DeaDBeeF (or others) via rescrobbled
if [[ $# -eq 0 ]]; then
player="audacious"
2022-12-14 15:16:43 +02:00
else
player="$1"
fi
echo "player = $player"
$HOME/.local/bin/rescrobbled &
$player
pkill rescrobbled