View Issue Details

IDProjectCategoryView StatusLast Update
0008482MMW v4Framework: Scripts/Extensionspublic2022-04-29 01:48
Reporterrusty Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status feedbackResolutionreopened 
Summary0008482: No 'On Startup' Event in MM4
DescriptionAny reason for this being deprecated?

Is there a replacement?



See: http://www.mediamonkey.com/forum/viewtopic.php?f=6&t=60977
Tagstodoc-dev
Fixed in build

Activities

jiri

2011-10-07 08:04

administrator   ~0028118

This event actually hasn't ever existed, it was a documentation error.

jiri

2011-10-07 08:04

administrator   ~0028119

Reminder sent to: peke

Peke, do you remember why you entered it to Wiki? I checked sources and such an event didn't exist.

rusty

2011-10-07 14:40

administrator   ~0028123

Should this entry be re-opened for future implementation?

peke

2011-10-08 00:29

developer   ~0028133

Last edited: 2011-10-08 20:14

@Jiri
At one point we have thought that adding Startup Event would allow Scripts/Plugins to delay while MM is on start and not overrun MM thread to speedup loading. But it was left on Wiki for no reason after we found that it is not needed.

@Rusty
I do not think that is needed there until maybe in Multi-Platform MM.

Ludek

2011-10-08 14:27

developer   ~0028138

This event has always existed for auto-scripts, see:
http://www.mediamonkey.com/forum/viewtopic.php?f=6&t=60977#p314095

peke

2011-10-08 20:13

developer   ~0028141

This is documentation issue as like Ludek and Zvezdan pointed it always existed for Auto-Scripts where MM call script SUB OnStartup() during MM start and script initial loading, but like Jiri pointed it does not exist in ISDBApplicationEvents sources.

Same Issue is with OnShutDown.

jiri

2011-10-10 07:19

administrator   ~0028161

Leaving open for possible future implementation of the COM event and removal of the current OnStartup procedure (but only after marking the solution as deprecated and leaving it this way for a long time).