Script gives error on activation

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Philby
Posts: 155
Joined: Wed Aug 10, 2005 7:49 am

Script gives error on activation

Post by Philby » Wed Mar 22, 2006 9:07 pm

Trixmoto,

I just downloaded and installed the CueReader from your own website.
I generated a small Cue file via mp3directcut, and get ther following error when I try to play the song

Line 18
Char 5
Activex component cant create object: 'SongsDB.SDBApplication'

Wazzup ?
Regards
Philby

Philby
Posts: 155
Joined: Wed Aug 10, 2005 7:49 am

Post by Philby » Thu Mar 23, 2006 4:34 am

Another Issue,

I created a cue file

FILE "...."
TRACK 01 AUDIO
TITLE "Surfing USA"
PERFORMER "Beach Boys"
Index 01 00:00:00 ; Start
Index 01 00:30:40 ; Inside, Outside
Index 01 00:47:31 ; Ooohs
Index 01 01:14:57 ; Gone Surfing
Index 01 01:35:66 ; And Again


When the Cuereader tries to process this file it gives the error

"CueReader: Multiple tracks not found in file"

but surely the indexes each need not point to different tracks, as they are just time values ?
Regards
Philby

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto » Thu Mar 23, 2006 4:59 am

The reason that the script cannot connect to SDB (MediaMonkey) is a security issue. You need to either set (in Internet Options) activex scripting to prompt or enable.

A valid cue sheet would be:

FILE "...."
TRACK 01 AUDIO
TITLE "Surfing USA"
PERFORMER "Beach Boys"
Index 01 00:00:00 ; Start
TRACK 02 AUDIO
TITLE "Inside, Outside"
PERFORMER "Beach Boys"
Index 01 00:30:40 ; Inside, Outside
TRACK 03 AUDIO
TITLE "Ooohs"
PERFORMER "Beach Boys"
Index 01 00:47:31 ; Ooohs
TRACK 04 AUDIO
TITLE "Gone Surfing"
PERFORMER "Beach Boys"
Index 01 01:14:57 ; Gone Surfing
TRACK 05 AUDIO
TITLE "And Again"
PERFORMER "Beach Boys"
Index 01 01:35:66 ; And Again
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.

Philby
Posts: 155
Joined: Wed Aug 10, 2005 7:49 am

Post by Philby » Thu Mar 23, 2006 5:02 am

The Cue file was created by CDRCue2004. But I will regenerate it with Tracks instead of Indexes and see what happens.
Regards
Philby

Philby
Posts: 155
Joined: Wed Aug 10, 2005 7:49 am

Post by Philby » Thu Mar 23, 2006 5:17 am

Regarding the SDB error,
I have set my Internet Options security "Run ActiveX controls and plugins" to "Enable" and rebooted. Same problem. Win XPpro.
Regards
Philby

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto » Thu Mar 23, 2006 7:44 am

As mentioned in the Cue Reader thread itself...
trixmoto wrote:You will need the Internet Explorer security setting "Initialise and script ActiveX controls not marked as safe" set to at least prompt if not enable (otherwise you will get the error messge "ActiveX component can't create object: 'SongsDB.SDBApplication' ") - this is all the script is doing, connecting to MM.
(http://www.mediamonkey.com/forum/viewto ... 2056#32056)
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.

Philby
Posts: 155
Joined: Wed Aug 10, 2005 7:49 am

Post by Philby » Thu Mar 23, 2006 7:16 pm

Got it, thanks.

Another issue, the times that are stored in the cue file are not correctly displayed on the panel. Try the file for yourself.
Regards
Philby

Philby
Posts: 155
Joined: Wed Aug 10, 2005 7:49 am

Post by Philby » Fri Mar 24, 2006 12:54 am

Wrong !
They are not time stamps in the tracks, they are durations !
Stupid me !

I seem to have this working properly now.
I shall continue my postings in the Cue Support thread. I have some suggestions and requests.
Regards
Philby

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto » Fri Mar 24, 2006 10:35 am

Glad it's working.

Suggestions and requests are always welcome! :)
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.

Post Reply