Page 1 of 1

Magic nodes - accessible tracks?

Posted: Wed May 09, 2007 6:02 pm
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..

Posted: Fri May 11, 2007 5:25 am
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.

Posted: Fri May 11, 2007 5:34 am
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.

Posted: Fri May 11, 2007 2:45 pm
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.

Posted: Fri May 11, 2007 4:47 pm
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.

Posted: Fri May 11, 2007 5:12 pm
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...

Posted: Fri May 11, 2007 6:38 pm
by GSV3MiaC
For VCD albums f5 doesn't change anything - the ones not cached stay grey.