Starting a script when a song starts

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

Post Reply
User avatar
ffio
Posts: 3
Joined: Fri Nov 09, 2012 7:12 pm

Starting a script when a song starts

Post by ffio »

Hi, new guy here...

I'm using GForce 4.4 Platinum on OSX with iTunes. I'm having some issues getting scripts to run. According to the docs, a script will fire when "The name of a script matches the name of a new audio track's title." This doesn't seem to be the case for me. I tried using the name of the song as it shows up in itunes (title), but no luck. I also tried using the same name as the mp3 file, but that doesn't. What am I missing?

Thanks!

User avatar
BTT
Administrator
Posts: 2262
Joined: Sun Jun 20, 2010 9:34 pm
Location: United Kingdom

Post by BTT »

Hello ffio

Is this what you are wanting to do?

How do I coordinate the start of an audio track with a script?

When a new audio track starts in your media player, G-Force will look for a script with a matching name to run (note: if the audio track is an mp3 file and contains ID tag data, then G-Force will use the ID track name instead of the track's filename). For example, suppose you have a script that's timecoded for "Andy Sings Opera.mp3". Rename your script to "Andy Sings Opera.txt", restart G-Force, play the audio track, and G-Force will automatically start the script. The scripting section describes scripts in detail, allowing you to coordinate G-Force with an audio track in exciting ways.

Remember to save your script to the G-Force Scripts folder.

There is some good info regarding scripts here:-
http://www.soundspectrum.com/g-force/Do ... pting.html


Regards BTT

User avatar
ffio
Posts: 3
Joined: Fri Nov 09, 2012 7:12 pm

Post by ffio »

Hi BTT, thanks for the prompt response and extra details about how this should work.

My file, "01 - Boombox.mp3" has ID tag data. The ID name tag of the mp3 is "Boombox." I started by naming my script "Boombox.txt" and restarting iTunes/G-Force. When I play the track in iTunes, the script does not run. I renamed the script "01 - Boombox.txt" matching the file name. Restarted iTunes/G-Force, but it still didn't run. I renamed the script "CTRL 9.txt", restarted iTunes/G-Force and it runs by pressing CTRL+9.

Thanks again for the help!

Post Reply