Bug with ISDBTree::AddNode during start-up? [MM3]

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

ZvezdanD
Posts: 3084
Joined: Thu Jun 08, 2006 7:40 pm

Bug with ISDBTree::AddNode during start-up? [MM3]

Post by ZvezdanD » Sun Jan 13, 2008 8:21 am

If used in the OnStartUp, sometimes it works correctly, but sometimes don't, especially if it is used with NodePosition = 1 and ParentNode = some_of_MM_built-in_nodes. I think this depends of the node caption. Here is an example:

Code: Select all

Dim CustomNode
Set CustomNode = SDB.MainTree.CreateNode
CustomNode.Caption = "Drive type"
SDB.MainTree.AddNode SDB.MainTree.Node_Location, CustomNode, 1
Node is created not immediately after Location, but randomly (most of the time as last node of the Library). The same script code works fine in MM2.

Anybody noticed similar?

PetrCBR
Posts: 1624
Joined: Tue Mar 07, 2006 5:31 pm
Location: Czech
Contact:

Re: Bug with ISDBTree::AddNode during start-up? [MM3]

Post by PetrCBR » Tue Jan 15, 2008 5:16 pm

Hi. Please send me an example script (petr < att > mediamonkey < dott > com).

Post Reply