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

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[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: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2+]

by cokehearth » Fri Jun 09, 2023 10:36 pm

Hi there,
I was wondering if this is possible with Magic Nodes:

A list of duplicate tracks (i.e. same artist, same title) where at least ONE of those duplicate tracks has the genre "90s Anthems".

So if there's ten tracks of "Cher - Believe" in my library, and one or more of those ten tracks has the genre "90s anthems", Magic Nodes will display all ten tracks.

My thanks as always!

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

by ZvezdanD » Wed Nov 09, 2022 2:39 am

Reading of the Usage section of the addon's web page is highly recommended. You could open it in your default web browser if you click on the version number displayed in the top-right corner of the addon's Options dialog box. Here is the excerpt from it:
"There are also three different ways to delete an existing mask:
1. choose Edit / Magic Nodes / Mask Settings, then choose the mask from the Caption combo box and click on the Delete button on the bottom of the dialog box.
2. choose Edit / Magic Nodes / Manage Masks, then select the mask(s) in the table and click on the Delete button.
3. right-click on the corresponding node in the Media Tree panel and choose Delete Magic Node command."

All masks will be removed during uninstall if you choose Yes when you are asked if you want to remove your MN settings. Also, when you install the add-on you will be asked if you want to import the supplied masks and, if you choose No, you would not have any MN node displayed.

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

by Darryl_Gittins » Mon Nov 07, 2022 6:12 pm

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. :(

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

by MMFrLife » Mon Oct 17, 2022 8:10 pm

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+]

by ZvezdanD » Sun Oct 16, 2022 4:58 pm

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+]

by MMFrLife » Sat Oct 15, 2022 7:31 pm

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+]

by MMFrLife » Sat Oct 15, 2022 6:30 pm

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+]

by ZvezdanD » Mon Aug 15, 2022 8:27 am

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+]

by MMFrLife » Sun Aug 14, 2022 4:51 pm

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+]

by chrisdukes » Tue Apr 19, 2022 6:05 am

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+]

by chrisdukes » Mon Apr 18, 2022 7:13 pm

Worked Perfectly!

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

by MMFrLife » Sun Apr 17, 2022 10:25 pm

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+]

by ZvezdanD » 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?
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+]

by chrisdukes » Sun Apr 17, 2022 2:25 pm

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+]

by MMFrLife » Sun Apr 10, 2022 11:39 pm

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').

Top