Magic nodes - accessible tracks?

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

GSV3MiaC
Posts: 455
Joined: Wed Jul 06, 2005 5:32 pm
Location: Shropshire, England

Magic nodes - accessible tracks?

Post by GSV3MiaC »

Is there a way to write magic node formula which will ignore inaccessible tracks (e.g. Virtual CD tracks which have a rating, but which are not actually on the machine?). I'm trying to get 'album rating' out of MM2.5, without being confused by the albums that have been sent to the scrap heap long since..
Eyal
Posts: 3123
Joined: Sun Jun 26, 2005 9:27 am
Location: Québec
Contact:

Post by Eyal »

I don't think MagicNodes can do it, because it queries the database. The're no info in the database that specifies if a file exists or not. You know it only when you try to play it.
Skins for MediaMonkey: Cafe, Carbon, Helium, Spotify, Zekton. [ Wiki Zone ].
GSV3MiaC
Posts: 455
Joined: Wed Jul 06, 2005 5:32 pm
Location: Shropshire, England

Post by GSV3MiaC »

There must be something stored somewhere, otherwise MM would have no way to display inaccessible tracks in a light colour. For VCD tracks the database has a 'cached' flag (True/False) and if True, a 'cached copy' path (which may, or may not, be valid). However I can't see any obvioous way to get at any of that info from magic nodes codes.
Eyal
Posts: 3123
Joined: Sun Jun 26, 2005 9:27 am
Location: Québec
Contact:

Post by Eyal »

True, MediaMonkey displays an inaccessible track in a light colour, but only after it have tried to play it, thus didn't find it on the disk. Like you said, for a CD, it he knows tracks are inaccessible if the CD is not inserted.
Skins for MediaMonkey: Cafe, Carbon, Helium, Spotify, Zekton. [ Wiki Zone ].
GSV3MiaC
Posts: 455
Joined: Wed Jul 06, 2005 5:32 pm
Location: Shropshire, England

Post by GSV3MiaC »

Yes, but once it has not found it, it remembers that it hasn't been able to find it, somewhere, somehow.

For VCD tracks there is definitely a 'cached' flag in the database. Note sure where it records the info on non-VCD tracks because I don't have any.
Eyal
Posts: 3123
Joined: Sun Jun 26, 2005 9:27 am
Location: Québec
Contact:

Post by Eyal »

GSV3MiaC wrote:Yes, but once it has not found it, it remembers that it hasn't been able to find it, somewhere, somehow.
I don't think so. Press F5 (refresh) and it's forgotten...
Skins for MediaMonkey: Cafe, Carbon, Helium, Spotify, Zekton. [ Wiki Zone ].
GSV3MiaC
Posts: 455
Joined: Wed Jul 06, 2005 5:32 pm
Location: Shropshire, England

Post by GSV3MiaC »

For VCD albums f5 doesn't change anything - the ones not cached stay grey.
Post Reply