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

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

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

Re: Figured it out

by benfucius » Thu Dec 12, 2019 4:53 pm

ZvezdanD wrote:
Thu Dec 12, 2019 2:44 pm
The playlists created with Magic Nodes, which have the option "Show ordinal numbers" turned on, have the numbers exactly as you want, i.e. 01, 02, 03... If you didn't get them like that, you are doing something wrong.
I can confirm 100% that it is not inserting a zero in front of the initial nine numbers. I have not changed anything, fresh copy of the plugin/vbs. I simply click "Show ordinal numbers" in the Edit Magic Node box, and the results are 1,2,3 not 01,02,03.
ZvezdanD wrote:
Thu Dec 12, 2019 2:44 pm
I don't know about MMA, I am not using it, but nodes in MMW created with Magic Nodes within Music collection should appear there. If you didn't get them, you are doing something wrong again. Maybe you have those nodes disabled in Manage Collections / Edit Media Tree / Collection Options / Tree Nodes.
I found this and tried it, MMW shows these fine, but MMA does not detect it. Any possibility that nodes can be moved as a child node of Location? I'm taking a guess not, but if so that would be fantastic.

Re: Figured it out

by ZvezdanD » Thu Dec 12, 2019 2:44 pm

benfucius wrote:
Thu Dec 12, 2019 2:11 pm
The "Show ordinal numbers" feature starts 1-9 and then 10 beyond, but when auto-creating playlists with this enabled, the playlists are created in this order: 1,10,11,12,..,2,20,21,22,..,3,30,31 and so forth. Can the vbs (?) be modified to increase the number count so that it is: 01,02,03,...,10,11,12,etc.
The playlists created with Magic Nodes, which have the option "Show ordinal numbers" turned on, have the numbers exactly as you want, i.e. 01, 02, 03... If you didn't get them like that, you are doing something wrong.
benfucius wrote:
Thu Dec 12, 2019 2:11 pm
Is it at all possible to make the magic nodes available to MM for Android for syncing *without* needing to build them as playlists? Currently it seems the Android app can sync from "Music" and from "Playlists", but when I tried to make the node under "Music" it doesn't show up anywhere in MMW or MMA.
I don't know about MMA, I am not using it, but nodes in MMW created with Magic Nodes within Music collection should appear there. If you didn't get them, you are doing something wrong again. Maybe you have those nodes disabled in Manage Collections / Edit Media Tree / Collection Options / Tree Nodes.

Figured it out

by benfucius » Thu Dec 12, 2019 2:11 pm

Thanks for the clarification. I found your MN web page but wasn't finding the instructions until I found they were on enhanced plugin page. That squared away all my questions, and I've now built my nodes to spec.

Something I noticed along the way:

The "Show ordinal numbers" feature starts 1-9 and then 10 beyond, but when auto-creating playlists with this enabled, the playlists are created in this order: 1,10,11,12,..,2,20,21,22,..,3,30,31 and so forth. Can the vbs (?) be modified to increase the number count so that it is: 01,02,03,...,10,11,12,etc.

Question:

Is it at all possible to make the magic nodes available to MM for Android for syncing *without* needing to build them as playlists? Currently it seems the Android app can sync from "Music" and from "Playlists", but when I tried to make the node under "Music" it doesn't show up anywhere in MMW or MMA.

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

by ZvezdanD » Mon Dec 09, 2019 4:47 pm

benfucius wrote:
Mon Dec 09, 2019 2:55 pm
Is there a way to force the "Import Child Nodes to Playlists" feature to adhere to the order of the Magic Nodes?
Are you talking about Export/Import Playlists for Child Nodes add-on? If you do, why would you want to import nodes from Magic Nodes into playlists using that add-on when the Magic Nodes add-on allows that by itself? Did you read the Usage section of the MN web page and its Creating playlists sub-section?

All nodes in the Playlists branch are always sorted alphabetically in ascending order. If you want to get another order of playlists created by Magic Nodes, you could consider a possibility to turn on the Show ordinal numbers option.

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

by benfucius » Mon Dec 09, 2019 2:45 pm

Excellent! That is all I needed to be set on the right track. I was able to implement a Trim and it worked like magic. :) Thank you so much for the fast reply.

One more question:

Is there a way to force the "Import Child Nodes to Playlists" feature to adhere to the order of the Magic Nodes?

Currently I have the node I created earlier to be sorted by Date Added in Descending order. When I then do the import child nodes, so that it automatically creates playlists based on the date that the album/folders are added to MM, it creates the playlists but the order of them is in Ascending order of the Folder names themselves. It does not follow the order of the Magic Node.

Is there some way to force it to do this? I've looked in the Magic Nodes options, but do not see anything that sticks out.

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

by ZvezdanD » Mon Dec 09, 2019 2:19 pm

benfucius wrote:
Mon Dec 09, 2019 12:44 pm
Is there anything else I can do, some new way I haven't thought of, to enable just yyyy-MM for this?
Here is the excerpt from the Usage section of the add--on's web page that could help:
Substr. start
With the Substr. start, Trim and other controls below them you could set which part of the selected field you want to get displayed as the caption of local nodes. The Substr. start control determines the starting position of the substring that should be returned (the corresponding qualifier is Substring start). For example, if some field contains "The Beatles" and if I specify 5 with that control, I will get displayed "Beatles" in the caption of the corresponding node. If the negative number is specified, the first character of the substring is found by counting from the right rather than the left, e.g. with -5 I will get "atles".

Substr. length / Trim
The next control has two captions, depending of the value set by Substr. start control. If Substr. start is zero, the next control has Trim caption; in other cases it is Substr. lenght, but in general their effect is the same: with that control you could set how many characters of the field you want to display from the left to the right (if the Substr. lenght value is positive) or from the right to the left (if it is negative), starting from the character specified by Substr. start (the corresponding qualifier is Trim). If Substr. start is zero, the result will be same as if it is 1. If Substr. lenght is zero, then the whole string is returned starting from the Substr. start in the proper direction.

Examples with the "The Beatles" text:
* Substr. start = 5 and Substr. lenght = 4 shows "Beat";
* Substr. start = -5 and Substr. lenght = 4 shows "atle";
* Substr. start = 5 and Substr. lenght = -4 shows "The ";
* Substr. start = -5 and Substr. lenght = -4 shows "e Be".

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

by benfucius » Mon Dec 09, 2019 12:44 pm

Hi there. I am a paid user of this addon, and have a question.

I am trying to make a Magic Node that allows for this logic:
  • Date Added > Folder
So far, I've been able to create this, but the trouble is that I cannot figure out how to make the "Date Added" only show yyyy-MM. Currently, it defaults to yyyy-MM-dd. I want the days removed from the end, because this creates too many sub-nodes. Being only by year-month, would consolidate the nodes enough to suffice.

I tried modifying the main .vbs file to remove "-dd" from all "Date Added" instances, but then my nodes broke, so I reverted it. Is there anything else I can do, some new way I haven't thought of, to enable just yyyy-MM for this?

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

by willyvds » Wed Sep 04, 2019 6:58 am

Thanks, works fine!

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

by ZvezdanD » Wed Sep 04, 2019 6:09 am

willyvds wrote:
Wed Sep 04, 2019 4:25 am
The autoplaylist works fine, except that the nodes are sorted alphabetically. Also, the descending option does not have the result that I expect.
Here is the excerpt from the Creating playlists subsection of the add-on's web page:
"All nodes in the Playlists branch are always sorted alphabetically...
...
There are some limitations with the masks that create Magic playlists: ... You could specify Sort by qualifier for some level of sub-nodes in the Magic playlists, but there is a chance that you would not get what you want, because the playlists are always sorted alphabetically (in such case consider a possibility to turn on the Show ordinal numbers option for that level)."

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

by willyvds » Wed Sep 04, 2019 4:25 am

I've made an autoplaylist with sorted results, based on the number of tracks in each sub-node.
I am using the count function in "sort node (prefixes)" with "descending order" and "show sort key" checked.

The autoplaylist works fine, except that the nodes are sorted alphabetically. Also, the descending option does not have the result that I expect.

What I would like as sort order is (eg): 14 - 9 - 5 (large to small, numerically).
What I get is: 14 - 5 - 9 (small to large, alphabetically).

This is the mask:
Componist/tempo|Filter:<Genre> = 'Classical'|Child of:Playlists|Position:Auto child\<Composer|Sort by:Count(Tempo) Desc|Filter:Count(DISTINCT <Tempo>) <> 1|Top:10>

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

by ZvezdanD » Thu May 16, 2019 10:58 am

el_mundi wrote:
Thu May 16, 2019 4:28 am
Has there ever been a solution for this wish to combine fields in one node?
In my particular case I would like to see Composer and Lyricist in one Node.
No, it is not currently possible and I am not sure if it would be so easy to implement at all. I don't have any idea how to update the syntax of masks to allow such request. The thing is similar to the case with the previous post: there is a list of predefined fields and users do not have ability to add new fields to that list. I could add one or more new fields hard-coded in the script that I find interested (as it is suggested "Artist Comment"), but the combination of two or more fields is not possible even hard-coded. Not to mention that you want the used-defined combination of several fields which would be even more complicated. Of course, we are not talking here about the combination of two or more fields that is already done, e.g. with the "Artist - Title", or "Album (Album Artist)", since that is completely different.

However, i will add that suggestion to the ToDo list anyway.

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

by el_mundi » Thu May 16, 2019 4:28 am

Anamon wrote:
Mon Nov 21, 2011 9:56 am
ZvezdanD wrote:
IWakeUpStrange wrote:I'm wondering if it's possible to use Magic Nodes to create a node that combines the content of two separate fields into one list, where the same entry in both fields would appear only once in the node list. Essentially, it would be like MM's native "Artist & Album Artist" node, only using different fields (in my case, Custom 1 and Custom 2).
Sorry, but this is not possible.
Dug this up from a year ago, because I tried to do the same thing. I'd like to have an Involved People node that doesn't only list people from the Involved People field, but also Composer (and possibly Conductor and Lyricist, too). I don't redundantly add people from these fields to Involved People a second time. Each node would then bring up all the tracks this person has been involved in, no matter in which of the fields they appear.

Since this does not seem to be currently possible with MagicNodes, I'd like to cast my vote as feature request for such an option, maybe someday, in some distant update? :D It's literally the only idea I have ever had that I was not able to realise with MagicNodes, so thanks for this amazing add-on, it is an invaluable tool!
It's quite a few years, since these posts have been written.
Has there ever been a solution for this wish to combine fields in one node?
In my particular case I would like to see Composer and Lyricist in one Node.

Re: Adding Artist Comment to Magic Nodes field selector

by ZvezdanD » Tue May 14, 2019 2:32 am

GbMedusa wrote:
Sun May 12, 2019 6:20 pm
Since the Artist Comment field is a valid database field, is there a way to add it to the Field selector drop-down in Magic Nodes?
Sorry, but it is not possible with the existing version of the add-on. The MM database has too many "valid database fields", and many of them are not directly supported through the Field drop-down in Magic Nodes.

However, I think your suggestion is a nice one and I will add it to the ToDo list.

Adding Artist Comment to Magic Nodes field selector

by GbMedusa » Sun May 12, 2019 6:20 pm

I have a Magic Node with the following SQL query to match (or not match) Artist Comments with a certain string.

Code: Select all

<Group|Name:Comments>\Artist Comment doesn't start with "Sorted Name: "|Filter:Songs.ID NOT IN (SELECT Songs.ID FROM Songs, ArtistsSongs, Artists WHERE Songs.ID = ArtistsSongs.IDSong AND ArtistsSongs.IDArtist = Artists.ID AND Artists.Comment LIKE ('Sorted Name: %'))\<Artist|All:Yes|Show rank:Yes>
Right now, I have them listed by Artist. I would like to add another node with the same query but listed by Artist Comment so I can look at each comment and see if it is formatted correctly and which ones are empty. However, the Comment field in the Magic Nodes drop-down list is for the Song Comment.

Since the Artist Comment field is a valid database field, is there a way to add it to the Field selector drop-down in Magic Nodes?

Thanks in advance.

Re: Magic Nodes keeps disappearing

by TheMadZymurgist » Wed May 08, 2019 5:56 pm

When I open up Tools->Options, it is on the General options tab/selection. I immediate click on 'OK' to close the Options box and magic nodes is gone.

However, upon exploring the File->Manage Collections box (previously unvisited by me), I see greyed out options for Magic nodes with an unchecked box in front of it. Although the words 'Magic Nodes' are grey (rather than black like most of the rest), I can check the box and Magic Nodes. When I do, magic nodes again appears in my collections tree. Hurray! Problem solved.

Top