illustrate
Products            Buy            Support Forum            Registrations            About           
 

WMA Conversion (with scripting)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KJim
    dBpoweramp Supporter
    • May 2006
    • 36

    #1

    WMA Conversion (with scripting)

    I know there are a few threads already covering this, but I've tried everything suggested with no results.

    I'm using the following code:

    Set dMC = CreateObject("dMCScripting.Converter")
    dMC.VolumeNormalize = False
    dMC.PreserveTags = True
    dMC.DeleteSourceFiles = False
    dMC.ConvertToFolder = True
    dMC.ToFolder = "C:/Converted Music/"
    Call dMC.AddFromToFiles("sourcefile.aif", "destinationfile")
    Call dMC.GoConversion("Windows Media Audio", True, True, True, False)

    I've installed, reinstalled, restarted at all the right points, converted successfully using the normal interface method, but I can't get it to convert using the script. It just says "Unable to create compression CODEC 'Windows Media Audio', please check software installation."

    Help!!
  • Spoon-
    Administrator
    • Apr 2002
    • 45969

    #2
    Re: WMA Conversion (with scripting)

    Call dMC.GoConversion("Windows Media Audio 9.1", True, True, True, False)

    might help
    Spoon-
    www.dbpoweramp.com

    Comment

    • LtData
      dBpoweramp Supporter
      • May 2004
      • 8288

      #3
      Re: WMA Conversion (with scripting)

      Moved to the Developer Forum.
      Lt. Data

      [URL="http://forum.dbpoweramp.com/showthread.php?t=13091"]Need to find your version?[/url]
      [url=http://forum.dbpoweramp.com/showthread.php?t=17415]dBpoweramp Renaissance[/url]
      Please don't PM me for tech support.

      Comment

      • KJim
        dBpoweramp Supporter
        • May 2006
        • 36

        #4
        Re: WMA Conversion (with scripting)

        I tried that edit- no effect I'm afraid...

        Comment

        • Spoon-
          Administrator
          • Apr 2002
          • 45969

          #5
          Re: WMA Conversion (with scripting)

          The name of the codec as to be identical to the one shown in dbpoweramp, also do one conversion (with WMA) before hand in dbpoweramp.
          Spoon-
          www.dbpoweramp.com

          Comment

          • KJim
            dBpoweramp Supporter
            • May 2006
            • 36

            #6
            Re: WMA Conversion (with scripting)

            Great stuff- that solved it! The name of the codec in the config file was "Windows Media Audio V9"

            Thanks!

            Comment

            Working...