I spent a day tracking this down and coming up with a workaround so I thought I'd share (while requesting a fix).
I use CDDBControl in Windows Script Host (WSH) VBScripts to automate MP3 ID3 tagging tasks such as retagging based on file names. I have one script that is over a thousand lines that I use almost daily.
My VBScripts begin with a line like:
Set oId3 = CreateObject("CDDBControl.CddbID3Tag")
This creates an object that can be used to read and write MP3 tags from files and which exposes read / write properties for common attributes ("LeadArtist", "Album", "Title", etc.).
This week all my tagging scripts stopped working after I upgraded to DVD Architect 5.0a (though at first I didn't realize any relation between the two).
It turns out DVD Architect 5.0a includes a new version of cddbcontrol.dll (the file that implements CDDBControl.CddbID3Tag) which is broken (at least as far as scripting in concerned).
With the new version, this line:
Set oId3 = WScript.CreateObject("CDDBControl.CddbID3Tag")
causes WSH to report this error:
Microsoft VBScript runtime error: Class doesn't support Automation
And these lines:
Set oId3 = CreateObject("CDDBControl.CddbID3Tag")
oId3.LoadFromFile "My.mp3", False
(or any attempt to actually use oId3)
causes WSH to report this error:
Microsoft VBScript runtime error: Object required: 'oId3'
I have a workaround. Reverting to the version of cddbcontrol.dll that comes with Vegas Pro 8.0c seems to fix my problem, but also removes any important features of the new version of CDDBControl.
Where can I find an updated version of CDDBControl that is scriptable?
Jim
I use CDDBControl in Windows Script Host (WSH) VBScripts to automate MP3 ID3 tagging tasks such as retagging based on file names. I have one script that is over a thousand lines that I use almost daily.
My VBScripts begin with a line like:
Set oId3 = CreateObject("CDDBControl.CddbID3Tag")
This creates an object that can be used to read and write MP3 tags from files and which exposes read / write properties for common attributes ("LeadArtist", "Album", "Title", etc.).
This week all my tagging scripts stopped working after I upgraded to DVD Architect 5.0a (though at first I didn't realize any relation between the two).
It turns out DVD Architect 5.0a includes a new version of cddbcontrol.dll (the file that implements CDDBControl.CddbID3Tag) which is broken (at least as far as scripting in concerned).
With the new version, this line:
Set oId3 = WScript.CreateObject("CDDBControl.CddbID3Tag")
causes WSH to report this error:
Microsoft VBScript runtime error: Class doesn't support Automation
And these lines:
Set oId3 = CreateObject("CDDBControl.CddbID3Tag")
oId3.LoadFromFile "My.mp3", False
(or any attempt to actually use oId3)
causes WSH to report this error:
Microsoft VBScript runtime error: Object required: 'oId3'
I have a workaround. Reverting to the version of cddbcontrol.dll that comes with Vegas Pro 8.0c seems to fix my problem, but also removes any important features of the new version of CDDBControl.
Where can I find an updated version of CDDBControl that is scriptable?
Jim