Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2+]

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

Moderators: Peke, Gurus

rrfpacker
Posts: 1074
Joined: Sat Jul 12, 2008 5:47 pm

Re: Magic Nodes 4.0 w/ 320 masks & real GUI (2010-06-24) [MM

Post by rrfpacker »

So that's what the "Move" spin box is for!! That proved harder to use than the Export/Import dialogue. Thank you for the quick response.
SonicNova
Posts: 54
Joined: Fri Jun 04, 2010 8:45 pm
Location: Brisbane Australia

Re: Magic Nodes 4.0 w/ 320 masks & real GUI (2010-06-24) [MM

Post by SonicNova »

Hi Guys, I'm trying to understand the Magic Nodes manual and am not following it. In trying to create my first custom node, the instructions say: to create a node, use the EDIT => CREATE MAGIC NODE menu item. There is no "create magic node" menu item from the edit menu list at the top of the program. Even when I right click Magic Nodes there is no create option. So where to from here guys? How do I actually create my own custom node? Thanks.
MM User since 2010.
ZvezdanD
Posts: 3265
Joined: Thu Jun 08, 2006 7:40 pm

Re: Magic Nodes 4.0 w/ 320 masks & real GUI (2010-06-24) [MM

Post by ZvezdanD »

SonicNova wrote:There is no "create magic node" menu item from the edit menu list at the top of the program.
That manual is for version 1.7 of this add-on. Magic Nodes from version 2.0 have one menu item (Magic Nodes Settings) instead of 3 previous: Create/Edit/Delete Magic Node. However, the syntax of masks remains unchanged (more or less), so that manual is still worth reading.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
SonicNova
Posts: 54
Joined: Fri Jun 04, 2010 8:45 pm
Location: Brisbane Australia

Re: Magic Nodes 4.0 w/ 320 masks & real GUI (2010-06-24) [MM

Post by SonicNova »

Thanks Zvezdan, just worked it all out. what a fabulous script. Love it, it's perfect. Thanks for writing it.
MM User since 2010.
ZvezdanD
Posts: 3265
Joined: Thu Jun 08, 2006 7:40 pm

Re: Magic Nodes 4.0 w/ 320 masks & real GUI (2010-06-24) [MM

Post by ZvezdanD »

SonicNova wrote:so the trick here is to know how to write the mask code in the bottom box of Magic Nodes as the first step?
In most cases you don't need to write the mask code directly - you could create masks using controls above Mask text box and the mask code would be automatically created.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
Mizery_Made
Posts: 2283
Joined: Tue Aug 29, 2006 1:09 pm
Location: Kansas City, Missouri, United States

Re: Magic Nodes 4.0 w/ 320 masks & real GUI (2010-06-24) [MM

Post by Mizery_Made »

This may have already been covered, seeing as there's over 1,500 posts in there! Anyway, I had a node set up right under my (built in) "Album Artist" node which is labeled "Album Artist with Year." As you may or may not have guessed, it mimics the Album Artist node (in that it lists album artists, and then shows their albums as child nodes) with the exception of it having the Year sort key (and shown). I opened it up earlier on an artist which happens to have a couple years where he had released multiple albums, so I thought to myself "Hm, wonder if 'Date' is a sort key instead of simply Year." To my surprise, I found a "Date" option already implemented, however I'm wondering if it's actually working.

With the Date chosen as the sort key (and year deleted), it still only displays the release year (instead of the full release date as I was expecting). It also doesn't appear to be sorting the albums correctly, as "K.O.D." is being shown before "Sickology 101" in the 2009 grouping, despite the former being released on October 26th and the later on April 28th. Then again in the 2010 grouping, "The Gates Mixed Plate" appears before "The Lost Scripts of K.O.D." when the former was released on July 27th and the later on March 30th.

What's the deal here? I can't really think of what may be causing this. I thought maybe it's due to the way my computer displays dates (which is MM/DD/YYYY, without zero padding) but even then, the March 30th date should sort before the July 27th. It also doesn't really explain why it only displays the year instead of full date. Maybe this feature is hard coded to only work with "YYYY-MM-DD" values perhaps? That's actually how I'd like the dates to appear in MM, but since it's governed by the Windows settings... well, MM is really the only place I would like it to appear that way so I'm kinda stuck on that one.

Anyway, any ideas?

PS, here's the node code:

Code: Select all

Album Artist with Year|Icon:Top level|Child of:Artist\<Album Artist>\<Album|Sort by:Max(Date)>
MonkeyBone
Posts: 66
Joined: Sun Nov 19, 2006 9:39 am

Re: Magic Nodes 4.0 w/ 320 masks & real GUI (2010-06-24) [MM

Post by MonkeyBone »

MonkeyBone wrote:Hello, Monkeys! ;)


I have a node here to display "recently played albums"

Code: Select all

Recently Played|Child of:Library|Position:First child\<Time since last played|Statistic:Count(Album)>\<Album artist with album|Sort order:Random|Top:20|Statistic:Count(Tracks)>
I hope someone could help me to make a "recently added albums" node.. I always add whole albums (when I buy CD's), never single-songs, so if the albums could be listed as the "recently played", it would be great; so I've got a "folder" for "this day", "this week", within a month, a year, etc..


Thank you very much in advance! :)
I'm bumping this one.. :)
It would be very nice if someone could help me with a similar node to this one, -but instead showing when the album was added (same day, within a week, month, year, or beyond, etc..)

Again, thanks! :D
[AMD Athlon 64 FX-60] . [Hiper Type-R 580W] . [Western Digital Raptor X] . [Lian Li PC777B]
[Hightech Excalibur Radeon x1900xtx 512 MB] . [OCZ EB DDR PC-4000 2 GB Pl.Ed. Dual Channel]
[DFI Lanparty UT RDX200 CF-DR] . [Creative SB X-Fi Fatal1ty FPS] . [DELL UltrasSharp 2405 FPW 24"]
3DMark05 : 11043 . 3DMark06 : 5856 . (a non-clocked system) . AudioScrobbler . Xfire . YMDb
ZvezdanD
Posts: 3265
Joined: Thu Jun 08, 2006 7:40 pm

Re: Magic Nodes 4.0 w/ 320 masks & real GUI (2010-06-24) [MM

Post by ZvezdanD »

Mizery_Made wrote:With the Date chosen as the sort key (and year deleted), it still only displays the release year (instead of the full release date as I was expecting).
You are using some version of this add-on older than 4.0. Please, upgrade to the latest version.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
ZvezdanD
Posts: 3265
Joined: Thu Jun 08, 2006 7:40 pm

Re: Magic Nodes 4.0 w/ 320 masks & real GUI (2010-06-24) [MM

Post by ZvezdanD »

MonkeyBone wrote:I'm bumping this one.. :)
I already gave you an answer - this add-on already has the requested mask. If you choose not to install predefined masks during installation, you could import just that one really easily:
1. open Edit \ Magic Nodes Export/Import dialog box;
2. select File radio button;
3. enter c:\Program Files\MediaMonkey\Scripts\Auto\MagicNodes.ini into the next text box (or use ... button to find that file);
4. click on the top left check box to deselect all masks;
5. click on the check box in the front of the mentioned mask;
6. click on the Import button.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
Mizery_Made
Posts: 2283
Joined: Tue Aug 29, 2006 1:09 pm
Location: Kansas City, Missouri, United States

Re: Magic Nodes 4.0 w/ 320 masks & real GUI (2010-06-24) [MM

Post by Mizery_Made »

ZvezdanD wrote:
Mizery_Made wrote:With the Date chosen as the sort key (and year deleted), it still only displays the release year (instead of the full release date as I was expecting).
You are using some version of this add-on older than 4.0. Please, upgrade to the latest version.
Extensions window indicates I have version 4.0.4
ZvezdanD
Posts: 3265
Joined: Thu Jun 08, 2006 7:40 pm

Re: Magic Nodes 4.0 w/ 320 masks & real GUI (2010-06-24) [MM

Post by ZvezdanD »

Mizery_Made wrote:Extensions window indicates I have version 4.0.4
Well, in that case I don't know what is happening to you. That bug is removed in 4.0 version and now I am getting displayed full release date (with month and day) and correct sort - just tried your mask and it works fine.

When you open the Options dialog box which version do you see in the top right corner of the Magic Nodes tab?
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
Mizery_Made
Posts: 2283
Joined: Tue Aug 29, 2006 1:09 pm
Location: Kansas City, Missouri, United States

Re: Magic Nodes 4.0 w/ 320 masks & real GUI (2010-06-24) [MM

Post by Mizery_Made »

"v4.0.4" is what is displayed. However, while I had the options for it open, I found the problem. "Display sorting/statistic results only if all values are defined" was checked, un-checking it sorts as and displays as expected. Not all of my albums have full release dates (a, because 2.x didn't support full dates from what I recall and I've been kind of lazy about inputing the data since and b, because some of my older local albums... not official release date is really widely known). Either way, that problem is solved. To be honest, I think that is the first time I've been on the MN options sheet, haha.

Couple of questions while I'm in here though, one relating to the previous issue. Seeing as not all albums have a full date, some have the date and others have the year. Would it be at all possible to "pad" the ones that don't (thus, display them as "YYYY-00-00 - {Album}" so that the album names are aligned? Not that big of a deal, but thought I might ask.

Secondly, I've noticed that occasionally while browsing through a MN, and you open up a child for instance, the entire node closes with no explanation. Any ideas on that?
ZvezdanD
Posts: 3265
Joined: Thu Jun 08, 2006 7:40 pm

Re: Magic Nodes 4.0 w/ 320 masks & real GUI (2010-06-24) [MM

Post by ZvezdanD »

Mizery_Made wrote:"Display sorting/statistic results only if all values are defined" was checked, un-checking it sorts as and displays as expected.
This is obviously a bug and I will fix it with the next version. Thanks for the report.
Mizery_Made wrote:Would it be at all possible to "pad" the ones that don't (thus, display them as "YYYY-00-00 - {Album}" so that the album names are aligned?
It is possible, but I am not sure if it would be wise to implement something like that. In that case such padded format would get everybody, even those like myself who didn't enter a release date with a month and a day.
Mizery_Made wrote:Secondly, I've noticed that occasionally while browsing through a MN, and you open up a child for instance, the entire node closes with no explanation. Any ideas on that?
Sorry, but I don't have any idea what could be a cause for that. IIRC, Magic Nodes does not collapse nodes at all, except when editing them using the Update button in the Settings dialog box. However, if you didn't have displayed sub-nodes, but just tried to expand some node and its plus sign disappeared, then this could be because such node has not child nodes. Maybe you could try to turn off the option "Show node if empty" for such mask. Could you always reproduce such problem?
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
Mizery_Made
Posts: 2283
Joined: Tue Aug 29, 2006 1:09 pm
Location: Kansas City, Missouri, United States

Re: Magic Nodes 4.0 w/ 320 masks & real GUI (2010-06-24) [MM

Post by Mizery_Made »

It's not an issue with empty nodes. For instance, using the aforementioned Album Artist with Year node as an example. There have been times where I have it open, then open up an Album Artist (who has albums to display) and for some unexplained reason, the node collapses all the way to the top level (leaving "Album Artist with Year" unopened). As stated however, it's not a predictable occurrence or even an often one. Just randomly occurs every once in a blue moon. Essentially, it acts as though you've updated the node, when you haven't. Could be a "perfect storm" of events which causes the MM Tree to "refresh" (and close the node in question). Can't really say.

Thought it would at least be worth bringing up. Cheers for putting a fix for the Date/Defined "bug" on your To-Do for the next version.
kiwichick
Posts: 335
Joined: Tue Jul 21, 2009 6:35 am

Re: Magic Nodes 4.0 w/ 320 masks & real GUI (2010-06-24) [MM

Post by kiwichick »

Hi there, what code do I need to get "songs added today"? Cheers.
Post Reply