title
Products            Buy            Support Forum            Professional            About            Codec Central
 
Results 1 to 6 of 6

Thread: dMCScripting.Converter

  1. #1

    dMCScripting.Converter

    I'm attempting to read the id3 tags created by dBpoweramp within my .wav files
    I'm doing this through python 2.7 and am utilising the win32api and win32com.client on my windows 7 PC.
    However it appears that I need the dMCScripting.Converter in order to access audio information via
    AudioProperties and ReadIDTagElementValue
    Where and how do I obtain dMCScripting.Converter and am I even on the right track?

  2. #2
    Administrator
    Join Date
    Apr 2002
    Posts
    43,855

    Re: dMCScripting.Converter

    It is installed with dBpoweramp, try the scripting .vbs example, save the file and run it from your computer, if dMCScripting.Converter is working it will show various things.

  3. #3

    Re: dMCScripting.Converter

    Thanks for instantaneous response - however I don't appear to have any .vbs files installed within dBpoweramp. Is it possible I installed code without scripting features (I was originally only interested in ripping and converting my music collection and setting tag information)

  4. #4

    Re: dMCScripting.Converter

    Apologies - it's late - didn't realise the vbs script was in your web pages. Copied the script and ran - everything ran ok so it would appear that dMCScripting.Converter is installed and is working.

    However - python code:-
    dmc = win32com.client.Dispatch("dMCScripting.Converter")

    just returns error
    com_error: (-2147221164, 'Class not registered', None, None)

  5. #5
    dBpoweramp Guru
    Join Date
    Dec 2008
    Location
    London, UK
    Posts
    4,015

    Re: dMCScripting.Converter

    Quote Originally Posted by Graeme Baillie View Post
    However - python code:-
    dmc = win32com.client.Dispatch("dMCScripting.Converter")

    just returns error
    com_error: (-2147221164, 'Class not registered', None, None)
    Try changing dMCScripting.Converter to dMCScriptinglib.Converter

  6. #6

    Re: dMCScripting.Converter

    thanks - ok did that, but now have:
    Traceback (most recent call last):
    File "C:\Users\Graeme\Documents\Python Code\ReadID3.py", line 3, in <module>
    dmc = win32com.client.Dispatch("dMCScriptinglib.Converte r")
    File "C:\Program Files (x86)\Python2.7.3\lib\site-packages\win32com\client\__init__.py", line 95, in Dispatch
    dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userN ame,clsctx)
    File "C:\Program Files (x86)\Python2.7.3\lib\site-packages\win32com\client\dynamic.py", line 114, in _GetGoodDispatchAndUserName
    return (_GetGoodDispatch(IDispatch, clsctx), userName)
    File "C:\Program Files (x86)\Python2.7.3\lib\site-packages\win32com\client\dynamic.py", line 91, in _GetGoodDispatch
    IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
    com_error: (-2147221005, 'Invalid class string', None, None)

    think I'm now out in python error country - unless anyone has any ideas

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •