ffplayout/scripts/task-runner.sh

8 lines
165 B
Bash
Raw Normal View History

2023-07-19 15:45:15 -04:00
#!/usr/bin/bash
# media object
mObj=$1
# perform a meaningful task
notify-send -u normal "ffplayout" -t 2 -e "Play: $(echo $mObj | jq -r '.current_media.source')"