title
Products            Buy            Support Forum            Professional            About            Codec Central
 

How to find dBpowerAMP state.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hamiltonjct

    • Jul 2004
    • 4

    How to find dBpowerAMP state.

    I have developed a pluggin which allows dBpowerAMP player information to be displayed on an LCD character display using LCDSmartie.

    I need to find a method of getting the process state of dbPowerAMP which does not utilize the dBpowerAMP.Multiplayer object. I need to find if the player process is running, whether or not music is being played. I am currently using Multiplayer.Play to test if the player is playing music. Every 300 ms LCDSmartie queries dBpowerAMP at which time if dBpowerAMP is not running it is launched. I'm hoping there is additional functionality for the dBpowerAMP.Amp object that is not documented which may provide this.

    Thanks,
    Hamiltonjct
  • donny
    dBpoweramp Guru

    • Oct 2002
    • 761

    #2
    Re: How to find dBpowerAMP state.

    well the problem is that when you are making the query, you are creating the object and hence starting dbpoweramp...
    you should try to get the list of active processes and then see if amp.exe is there... i think there was a thread about it so please search for it if you need it I'm in a hurry now...

    Comment

    • ChristinaS
      dBpoweramp Guru

      • Apr 2004
      • 4097

      #3
      Re: How to find dBpowerAMP state.

      This one? http://forum.dbpoweramp.com/showpost...55&postcount=5

      Comment

      • hamiltonjct

        • Jul 2004
        • 4

        #4
        Re: How to find dBpowerAMP state.

        ChristinaS and Donny,

        Thanks for the direction. I definitely would not have thought to go that direction. I will try this out tomorrow.

        Thanks again,
        Hamiltonjct

        Comment

        • donny
          dBpoweramp Guru

          • Oct 2002
          • 761

          #5
          Re: How to find dBpowerAMP state.

          yeah that's the post I was looking for, only I couldn't find it in the first few tries, and I had to hurry off.... glad you found it Christina

          hope it helps hamiltonjct

          Comment

          • ChristinaS
            dBpoweramp Guru

            • Apr 2004
            • 4097

            #6
            Re: How to find dBpowerAMP state.

            Originally posted by donny
            yeah that's the post I was looking for, only I couldn't find it in the first few tries, and I had to hurry off.... glad you found it Christina

            hope it helps hamiltonjct
            Hope so too.

            Well, my disjointed vague memories sometimes come in handy LOL! :D

            Comment

            • DJiK

              • Mar 2005
              • 1

              #7
              Re: How to find dBpowerAMP state.

              When I take the given code I have an error on Line 6 (this is the For Each...).
              The error code is 80041003. :(


              As I'm really very bad in VBS, can someone tell me why? I think it's a problem with WMI.


              Help! :blush:

              Comment

              Working...

              ]]>