OLE error 800A01C2

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey for Windows 4.

Moderators: Gurus, Addon Administrators

allwi
Posts: 67
Joined: Sun Jan 22, 2012 7:34 pm
Location: Sydney NSW

OLE error 800A01C2

Post by allwi »

Hi,

sorry for this beginner question - but I don't know what's going on.

I tried to write a script which takes action every time a track stop for whatever reason. So I wrote an event handler for OnPlaybackEnd
But whenever I skip to the next track, I get the error 'Error executing script event / OLE error 800A01C2'.

I stripped it down to the bare basic but still see this error and have no idea why :(

Any thoughts? Tips?

Code: Select all

Option Explicit

Dim AppTitle : AppTitle = "MediaMonkeyTest"
Dim Version : Version = "1"

'---------------------
Sub OnStartup
    Script.RegisterEvent SDB, "OnPlaybackEnd", "PlayerOnPlaybackEnd"   'When track don't play anymore
End Sub

Sub PlayerOnPlaybackEnd        'Track don't play anymore
    MsgBox "OnPlayBackEnd"
End Sub
This only happens when I skip to the next track, not when the track stops as normal, when I click on another track in the playlist, not when I use 'prev'
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Re: OLE error 800A01C2

Post by Bex »

I tried your script without any errors. What version of MM do you use?
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
allwi
Posts: 67
Joined: Sun Jan 22, 2012 7:34 pm
Location: Sydney NSW

Re: OLE error 800A01C2

Post by allwi »

Thanks Bex - MM 4.0.6.1501

... I started to think, if this might be related to other scripts/plugin!?
Most important ones I use are:
- MagicNodes (why should this interfer ...)
- MonkeyRok
- and MonkeyFlow (nooooooooo ... not this one, I will be missing a good cover flow display which even support full screen ... please ...)

Thanks
Klaus
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Re: OLE error 800A01C2

Post by Bex »

You can disable all auto scripts by renaming the Auto folder to AutoOFF or similar. Create a new folder Auto which you put your script in. If your script now works, put back one script at the time, restart MM. Repeat until you find the offending script.
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
allwi
Posts: 67
Joined: Sun Jan 22, 2012 7:34 pm
Location: Sydney NSW

Re: OLE error 800A01C2

Post by allwi »

Cool ta - will try.

Many thanks for you help Bex :)
Post Reply