Maybe this is interesting for someone:
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.
I don't get the meaning of this script ;-)
And by the way, the link is broken, needs to be:
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.