title
Products            Buy            Support Forum            Professional            About            Codec Central
 

WMA Conversion (with scripting)

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

    • May 2006
    • 36

    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
    • 44509

    #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 Guru

      • May 2004
      • 8288

      #3
      Re: WMA Conversion (with scripting)

      Moved to the Developer Forum.

      Comment

      • KJim

        • May 2006
        • 36

        #4
        Re: WMA Conversion (with scripting)

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

        Comment

        • Spoon
          Administrator
          • Apr 2002
          • 44509

          #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

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

            ]]>