title
Products            Buy            Support Forum            Professional            About            Codec Central
 

dAP and The Godfather

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Wayne
    dBpoweramp Guru

    • Aug 2002
    • 1253

    dAP and The Godfather

    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
    Administrator
    • Apr 2002
    • 44507

    #2
    Re: dAP and The Godfather

    None, it is all through com scripting.
    Spoon
    www.dbpoweramp.com

    Comment

    • donny
      dBpoweramp Guru

      • Oct 2002
      • 761

      #3
      Re: dAP and The Godfather

      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.

      Comment

      • Wayne
        dBpoweramp Guru

        • Aug 2002
        • 1253

        #4
        Re: dAP and The Godfather

        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

        Comment

        • donny
          dBpoweramp Guru

          • Oct 2002
          • 761

          #5
          Re: dAP and The Godfather

          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...

          Comment

          • Wayne
            dBpoweramp Guru

            • Aug 2002
            • 1253

            #6
            Re: dAP and The Godfather

            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

            Comment

            • donny
              dBpoweramp Guru

              • Oct 2002
              • 761

              #7
              Re: dAP and The Godfather

              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"
              In talk about how to get dap working with other softwer as a player the problem that you can't queue form the command line arouse. So this script resolves it... Set Multiplayer = CreateObject("dBpowerAMP.Multiplayer") For each arg in Wscript.Arguments Multiplayer.Enque = arg Next should work perfectly

              Comment

              • Wayne
                dBpoweramp Guru

                • Aug 2002
                • 1253

                #8
                Re: dAP and The Godfather

                Thanks for that.

                Comment

                • donny
                  dBpoweramp Guru

                  • Oct 2002
                  • 761

                  #9
                  Re: dAP and The Godfather

                  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...

                  Comment

                  • Wayne
                    dBpoweramp Guru

                    • Aug 2002
                    • 1253

                    #10
                    Re: dAP and The Godfather

                    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
                    Last edited by Wayne; April 24, 2007, 11:52 AM.

                    Comment

                    • donny
                      dBpoweramp Guru

                      • Oct 2002
                      • 761

                      #11
                      Re: dAP and The Godfather

                      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

                      Comment

                      Working...

                      ]]>