View Full Version : dAP and The Godfather
Wayne
04-19-2007, 04:07 PM
I'm currently having a play with The Godfather to see how good it is as regards to organising my music collection whilst I wait for MMC to be given a makeover.
I have managed to configure the program to use dAP as the external player to play tracks immediately but I find that I am at a loss as to how to configure the track enqueue option.
What command line switches if any does amp.exe have?
Wayne
Spoon
04-20-2007, 08:40 AM
None, it is all through com scripting.
donny
04-20-2007, 05:59 PM
what switcher would you need?
maybe you can write some vb scripts that could do the job?
or if you make a nice list, I could try and make some command line app that sends the data to dap. the interfaces I have in QM already.
Wayne
04-21-2007, 04:56 AM
All I wanted was to the ability to configure The Godfather's enqueue function so that I can enqueue the tracks to dAP as the external player.
Wayne
donny
04-21-2007, 11:27 AM
I'll see what I can come up with. I think it can be done trhu scripting, though I'm not sure. Do you have any experience with the vb scripts? The guide to it is in the developers section of dbpoweramp website...
Wayne
04-22-2007, 05:01 AM
I remembered the developers section before posting my query but could I find it. I look today and I spot it straight away. I haven't had much experience coding in VB script but if given some code can soon work out what going on.
Wayne
donny
04-22-2007, 08:09 AM
I checked it out and it works :)
just a small script in vb. I putted it in Developer section "Script to enque files from the command line"
http://forum.dbpoweramp.com/showthread.php?p=63340#post63340
Wayne
04-23-2007, 12:42 PM
Thanks for that.
donny
04-23-2007, 04:00 PM
no problem. it was easier than I thought it would be.
does it do what you need? if you have some other requests just shoot...
Wayne
04-24-2007, 07:42 AM
I'm planning at having a go at writing a vb script myself now that I realise that I'll need one that I can pass a parameter instructing it whether to play or enque the tracks.
Shouldn't be too hard now that I know the function to read any arguments from the command line and the wonder that is Google. :)
Wayne
donny
04-24-2007, 08:07 AM
well you can have 2 options
1) write two separate scripts, one for play, one for enq
2) one that for example plays the first argument, except if it is something like "-q" in which case it enques all the other arguments
anyway I wish you good fun with scripting and experimenting
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.