Adding listento
This commit is contained in:
parent
3f0e9b8c84
commit
37307332df
1 changed files with 13 additions and 0 deletions
13
common/listento
Executable file
13
common/listento
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
# Listenbrainz + DeaDBeeF (or others) via rescrobbled
|
||||
if [[ $# -eq 0 ]]; then
|
||||
player="deadbeef"
|
||||
else
|
||||
player="$1"
|
||||
fi
|
||||
|
||||
echo "player = $player"
|
||||
|
||||
$HOME/.local/bin/rescrobbled &
|
||||
$player
|
||||
pkill rescrobbled
|
Loading…
Reference in a new issue