Page 169 of 170

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

Posted: Sat Apr 09, 2022 8:12 pm
by MMFrLife
MN vrs 6.0.0.38:

If I choose Mask Settings > New button > and just start typing in the Caption field, it behaves as if it is just a search function
for previously used masks (I start typing with a 'K', it populates with a mask whose caption starts with a 'K').

However, if I type a single character in the mask field first, it activates all the controls without populating anything from previous
use and now I can get started building the new mask by adding a Group , Caption, etc. and editing as needed at "any area"
of the dialog box.

Is this a thing/known issue? I didn't notice anything on your webpage for it. I looked over 'important info' section at bottom.
Or, is it related to one of those MM API issues from way back that you tried to get the devs to fix, to no avail?

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

Posted: Sun Apr 10, 2022 1:55 am
by ZvezdanD
That is a thing with that combo (dropdown) box, and the same "issue" has the Preset combo box in RegExp add-on. I think that you already reported that long time ago.

This is how many (all?) combo boxes work, not only in MM but in any Windows program. The Mask box is not combo box, but just a text (edit/input) box, and it doesn't have such problem.

I think that I reported that thing to MM developers in Mantis asking them to add an option for controls to disable such behavior, but maybe I am wrong. I am involved with MM add-ons 16 years already, I cannot remember for sure all things that I have done so far.

The only suggestion that I can give is that you just type the name of the new preset, ignoring what is added in that combo box by program, and when you finish typing it you remove the added part (press Shift+End then Delete).

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

Posted: Sun Apr 10, 2022 11:39 pm
by MMFrLife
ZvezdanD wrote: Sun Apr 10, 2022 1:55 am I think that you already reported that long time ago. .............................
........................I think that I reported that thing to MM developers in Mantis asking them to add an option for controls to disable such behavior.....
I was thinking something similar. I think I reported to you about same type of weird caption field vs mask field behavior
involving trying to do something that didn't involve the New button. When building new ones, I've almost always used
pre-existing Groups-Nodes.
ZvezdanD wrote: Sun Apr 10, 2022 1:55 am The only suggestion that I can give is that you just type the name of the new preset, ignoring what is added in that combo box by program, and when you finish typing it you remove the added part (press Shift+End then Delete).
I would suggest to people, when using the New button, to type caption in the Mask field, first. Then, use controls at top to build the rest and the Mask field will automatically populate with correct code/correct order. The problem is that when you start typing in Caption field it often jumbles what you type (ex. if you type, 'Apples are Great' the cursor jumps around and you get something like 'pplesA are Great' or 'lesApp are Great').

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

Posted: Sun Apr 17, 2022 2:25 pm
by chrisdukes
How do you make a Magic Node for Missing Artwork?

Basically I want a node for all the tracks that don't have artwork. In the built-in Files To Edit node, there's a sub-node for Unknown Artwork that does the same thing, but I'd rather use a Magic Node so I can see the count. There's a Magic Node for Cover Storage and Cover Type but I couldn't figure out how to make them work for tracks that have no artwork.

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

Posted: Sun Apr 17, 2022 3:22 pm
by ZvezdanD
chrisdukes wrote: Sun Apr 17, 2022 2:25 pm How do you make a Magic Node for Missing Artwork?
Maybe with this filter:

Code: Select all

Songs.ID NOT IN (SELECT Songs.ID FROM Songs INNER JOIN Covers ON Songs.ID = Covers.IDSong)

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

Posted: Sun Apr 17, 2022 10:25 pm
by MMFrLife
ZvezdanD wrote: Sun Apr 17, 2022 3:22 pm
chrisdukes wrote: Sun Apr 17, 2022 2:25 pm How do you make a Magic Node for Missing Artwork?
There is also this

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

Posted: Mon Apr 18, 2022 7:13 pm
by chrisdukes
Worked Perfectly!

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

Posted: Tue Apr 19, 2022 6:05 am
by chrisdukes
My counts have stopped updating and only show (0 file). If I rename the Magic Node, then the count will update to the right number. But, if I restart MM4, then the count returns to (0 file).

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

Posted: Sun Aug 14, 2022 4:51 pm
by MMFrLife
I need a mask that isolates Album Artist's with only 1 track.

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

Posted: Mon Aug 15, 2022 8:27 am
by ZvezdanD
MMFrLife wrote: Sun Aug 14, 2022 4:51 pm I need a mask that isolates Album Artist's with only 1 track.
Why it should be Album Artist and not Artist?

Maybe you could use "Artists with <ID:1> files or less (One-hit wonders)" and just change <Artist|...> node to <Album Artist|...>.

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

Posted: Sat Oct 15, 2022 6:30 pm
by MMFrLife
I'm trying to contrast Titles with Filenames.
It appears there is no Filename option, so something like,

Path "does not contain" Title?

I can't figure out how to make it work.


...similar issue in this earlier post,
https://www.mediamonkey.com/forum/viewt ... 40#p483140

btw, thanks for the suggestion on previous issue :wink:

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

Posted: Sat Oct 15, 2022 7:31 pm
by MMFrLife
I found 'File name'!
I will test and report back here.

EDIT:
I can't figure it out :(

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

Posted: Sun Oct 16, 2022 4:58 pm
by ZvezdanD
Here is the simplest one (case insensitive):
<File name> NOT LIKE '%' || <Title> || '%'

It doesn't work correctly with the titles containing _ ' @ or %

Or, case sensitive:
<File name> NOT GLOB '*' || <Title> || '*'

Or maybe you could try this:
InStr(<File name>, <Title>) = 0

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

Posted: Mon Oct 17, 2022 8:10 pm
by MMFrLife
Great! Thanks.

I'm using
InStr(<File name>, <Title>) = 0
and it seems to be working well.

However, I also need a version that will ignore if there are any leading numbers and/or spaces
at the start of the title and/or filename, I guess, similar to how it ignores the extension at the end of the filename.

ex. [single quote marks of first example are only for framing]

Title: '01 Lucifer Sam'
Filename: 'Lucifer Sam'.mp3
[the above two should be seen as the same and "not" matched (their sameness has nothing to do with the number/space at start)]
...and many variations, as below:

Title: 01 Lucifer Sam
Filename: Stairway to Heaven.mp3
[the above two should be seen as different and matched (the difference has nothing to do with the number/space at start)]

Title: Lucifer Sam
Filename: 01 Lucifer Sam.mp3
...are the same

Title: 001 Lucifer Sam
Filename: Lucifer Sam.mp3
...are the same

Title: Lucifer Sam
Filename: 001 Killing Yourself to Live.mp3
...are different

Title: 1 Lucifer Sam
Filename: Lucifer Sam.mp3
...are the same

Title: 1 Lucifer Sam
Filename: 025 Lucifer Sam.flac
...are the same

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

Posted: Mon Nov 07, 2022 6:12 pm
by Darryl_Gittins
I accidentally installed ALL of the preset nodes and MM is slow to open now. I can't figure out how to remove unwanted nodes. MM won't let me delete them by using the context menu or F2. I tried uninstalling Magicnodes, then deleting what I could find that appeared to be magicnode related but then when I reinstalled it, ALL of the preset nodes were added again. :(