Run a predefined external command upon sync completion.
setting | value | description | version |
---|---|---|---|
command | string | command to execute (passed to the shell) | git master branch |
One might want to run an external program when all podcast episodes get synchronized to external database (refresh a player’s database or enqueue the episode, download episode statistics, run other device-related program like Last.FM scrobbler, etc.). This extension makes it possible to execute any command.
extensions.command_on_sync.command
entry to the command you want to run.If the command is a bit long, write a wrapper script. You can also directly edit
$GPODDER_HOME/Settings.json
to refine your command.
zenity --info --width=600 --text="All episodes synchronised"
displays all variables in a dialog window (requires zenity).
rb-scrobbler -f $SCROBBLER_LOG_FILE -n delete-on-success
You can obtain rb-scrobbler on Github.
© 2005-2023 The gPodder Team · Edit this page on GitHub