Author Topic: "gmusicbrowser" and "picard"  (Read 2130 times)

aboettger

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
"gmusicbrowser" and "picard"
« on: May 23, 2014, 18: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.
« Last Edit: June 20, 2014, 12:15:22 by aboettger »

staubi

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Re: "gmusicbrowser" and "picard"
« Reply #1 on: June 19, 2014, 18: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

aboettger

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: "gmusicbrowser" and "picard"
« Reply #2 on: June 20, 2014, 12:25:43 »
I'll try to explain it:

The script can be started:
Code: [Select]
/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.