gmusicbrowser Forum

Main board => Customization => Topic started by: aboettger on May 23, 2014, 13:47:46

Title: "gmusicbrowser" and "picard"
Post by: aboettger on May 23, 2014, 13:47:46
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.
Title: Re: "gmusicbrowser" and "picard"
Post by: staubi on June 19, 2014, 13:55:55
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
Title: Re: "gmusicbrowser" and "picard"
Post by: aboettger on June 20, 2014, 07:25:43
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.

(//)