May 23, 2014, 13:47:46 Last Edit: June 20, 2014, 07:15:22 by aboettger
Maybe this is interesting for someone:
https://github.com/aboettger/ShellScripts/blob/master/gmb_call_picard
https://github.com/aboettger/ShellScripts/blob/master/gmb-call-picard

I use this script together with the programs "gmusicbrowser" and "picard".  With each song change this script is called and decided whether the program "picard" should be started or not.

Hi,
I don't get the meaning of this script ;-)

And by the way, the link is broken, needs to be:

https://github.com/aboettger/ShellScripts/blob/master/gmb-call-picard

I'll try to explain it:

The script can be started:
/home/aboettger/bin/gmb-on-track-change "%f" "/home/aboettger/gmb_listen_history" 960

"/home/aboettger/gmb_listen_history" is the history file
960 : The number of hours. During this time, the entry remains in the history file and picard is not started.

Picard is started when the currently playing album is not available in the history file.