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

surfer
Posts: 296
Joined: Fri Oct 22, 2004 4:55 am

Re: Magic Nodes 2.7 w/ 170+ masks & real GUI (2009-06-29)[MM2+3]

Post by surfer »

how to create a node with the whole section of the "location" node from the last but one folder (and the tracks in the track list)?

I have tho follwing folder structure:

:\music\genres\latin\salsa\pop-salsa\artists\albums\tracks.mp3

I need a magic node "pop-salsa" directly under the "library" node showing the structure of the folders/tracks exactly the same way like in the "location node".
Last edited by surfer on Fri Jul 17, 2009 6:17 am, edited 1 time in total.
RobertSmith
Posts: 157
Joined: Wed Jun 24, 2009 1:05 am
Location: Stockholm, The home of Icebears

Re: Magic Nodes 2.7 w/ 170+ masks & real GUI (2009-06-29)[MM2+3]

Post by RobertSmith »

Edit:
I will try Track Redirection & Synchronization...
Boys Don't Cry
3.1.0.1256 - M$ Vista Business sp1, DELL laptop, WD USB HDD 1TB (iPhone 3GS 32GB, iPod 30GB, Archos AV500 60GB)
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: Magic Nodes 2.7 w/ 170+ masks & real GUI (2009-06-29)[MM2+3]

Post by ZvezdanD »

surfer wrote:I need a magic node "pop-salsa" directly under the "library" node showing the structure of the folders/tracks exactly the same way like in the "location node".
Well, you could try with the Split by qualifier, but it is very slow, especially if you want to show some folder which is very deep in the structure. Here is a mask for your example:

Code: Select all

Pop-Salsa|Child of:Library|Filter:<Path> LIKE ':\music\genres\latin\salsa\pop-salsa\%'\<Path|Split by:\\|Split part:6>\<Path|Split by:\\|Split part:7>\<Path|Split by:\\|Split part:8>
This qualifier needs some optimization. I will try to improve it for the next 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: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: Magic Nodes 2.7 w/ 170+ masks & real GUI (2009-06-29)[MM2+3]

Post by ZvezdanD »

RobertSmith wrote:Edit:
I will try Track Redirection & Synchronization...
Please, would you stop to edit your posts so frequently?

As an answer to the deleted part, you could take a look at my suggestion here: Creating a Playlist without Duplicates.
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
emalvick
Posts: 265
Joined: Tue May 15, 2007 9:44 am

Re: Magic Nodes 2.7 w/ 170+ masks & real GUI (2009-06-29)[MM2+3]

Post by emalvick »

I am curious if there is a way to set up an album node so that "The, A, etc" are ignored for sorting.

Magic Nodes does this (seemingly by default) with Artists based nodes, e.g. The Beatles are sorted as Beatles. Can this somehow be done with Albums? Right now all my albums that start with The (e.g. The Joshua Tree) sort as if they start with a T.
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: Magic Nodes 2.7 w/ 170+ masks & real GUI (2009-06-29)[MM2+3]

Post by ZvezdanD »

emalvick wrote:I am curious if there is a way to set up an album node so that "The, A, etc" are ignored for sorting.
Yes, there is a way, but you need to modify the script file by yourself. There is the IgnoreArticleDict collection from 744 till 746 lines and you should add the next line:

Code: Select all

.Add "ALBUM", True
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
emalvick
Posts: 265
Joined: Tue May 15, 2007 9:44 am

Re: Magic Nodes 2.7 w/ 170+ masks & real GUI (2009-06-29)[MM2+3]

Post by emalvick »

ZvezdanD wrote:
emalvick wrote:I am curious if there is a way to set up an album node so that "The, A, etc" are ignored for sorting.
Yes, there is a way, but you need to modify the script file by yourself. There is the IgnoreArticleDict collection from 744 till 746 lines and you should add the next line:

Code: Select all

.Add "ALBUM", True
Perfect... That's all I needed.

By the way, this script has become fantastic. I just recently upgraded to the 2.X versions (as a long time user of the 1.x versions you were working on earlier, and the GUI is great, although I'll admit that I'd gotten so used to typing the mask that I still tend to start that way.
RobertSmith
Posts: 157
Joined: Wed Jun 24, 2009 1:05 am
Location: Stockholm, The home of Icebears

Re: Magic Nodes 2.7 w/ 170+ masks & real GUI (2009-06-29)[MM2+3]

Post by RobertSmith »

ZvezdanD wrote:
RobertSmith wrote:Edit:
I will try Track Redirection & Synchronization...
Please, would you stop to edit your posts so frequently?
I'm so sry, I only try to reduce your incredible work. The reason for edit my question was that I understood I was going in wrong direction.
ZvezdanD wrote:As an answer to the deleted part, you could take a look at my suggestion here: Creating a Playlist without Duplicates.
Teknojnky wrote:There is no way that I know of, to accomplish your objective with regular auto-playlist functionality. And anything script related will not be referencable by auto-playlists.

As a work around, you could use a field(s) to identify dupes and exclude them from auto-playlists.
And I'm so pleased for your answers in Track Redirection & Synchronization :D
Boys Don't Cry
3.1.0.1256 - M$ Vista Business sp1, DELL laptop, WD USB HDD 1TB (iPhone 3GS 32GB, iPod 30GB, Archos AV500 60GB)
surfer
Posts: 296
Joined: Fri Oct 22, 2004 4:55 am

Re: Magic Nodes 2.7 w/ 170+ masks & real GUI (2009-06-29)[MM2+3]

Post by surfer »

@ZvezdanD: Thanks a lot for your help!

the tracks in the track list are there: this works. but the folder structure (splitting) on the left won't work, i get an error when i want to expand it.
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: Magic Nodes 2.7 w/ 170+ masks & real GUI (2009-06-29)[MM2+3]

Post by ZvezdanD »

surfer wrote:the tracks in the track list are there: this works. but the folder structure (splitting) on the left won't work, i get an error
when i want to expand it.
Well, this a consequence of too many nested levels and as I said the Split by qualifier is not very efficient with this in regard. You could wait for the next version if I manage somehow to optimize mentioned qualifier. However, even if it would work without an error, it could not replace the Location (sub-)node because they have totally different behavior.
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: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: Magic Nodes 2.7 w/ 170+ masks & real GUI (2009-06-29)[MM2+3]

Post by ZvezdanD »

RobertSmith wrote:The reason for edit my question was that I understood I was going in wrong direction.
Deleted part of your post contained some very interesting suggestions about criteria for duplicates. Currently the Track Redirection & Synchronization script has only bitrate as a criteria, but maybe I should consider others as well.
RobertSmith wrote:
ZvezdanD wrote:As an answer to the deleted part, you could take a look at my suggestion here: Creating a Playlist without Duplicates.
Teknojnky wrote:There is no way that I know of, to accomplish your objective with regular auto-playlist functionality. And anything script related will not be referencable by auto-playlists.

As a work around, you could use a field(s) to identify dupes and exclude them from auto-playlists.
And I'm so pleased for your answers in Track Redirection & Synchronization :D
Well, I don't know what you want to say with that Teknojnky's comment. As I explained, you could create Magic Node to get unique tracks without duplicates, then you could copy them to some static playlist and you could create auto-playlist with a criteria Playlist is that_static_playlist. So, there is a way for scripts related tracks to be referencable by auto-playlists.

By the way, I think that the next version of Magic Nodes would be even more close to such thing.
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
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: Magic Nodes 2.7 w/ 170+ masks & real GUI (2009-06-29)[MM2+3]

Post by nynaevelan »

Can someone tell me how to modify my masks to be limited by the file extension? I tried adding AND Extension = 'mp3' but that didn't work.

Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: Magic Nodes 2.7 w/ 170+ masks & real GUI (2009-06-29)[MM2+3]

Post by ZvezdanD »

nynaevelan wrote:Can someone tell me how to modify my masks to be limited by the file extension? I tried adding AND Extension = 'mp3' but that didn't work.
There are several solutions. If you are looking only for one specific extension, then you could write SubStr(Songs.SongPath, -3, 3) = 'mp3'. Here is a more general way which works with any number of characters in extension (3 for mp3, 4 for flac): <Format> = 'mp3'.
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
onenonymous
Posts: 374
Joined: Sat Feb 02, 2008 1:09 pm
Location: Texas

Re: Magic Nodes 2.7 w/ 170+ masks & real GUI (2009-06-29)[MM2+3]

Post by onenonymous »

nynaevelan wrote:Can someone tell me how to modify my masks to be limited by the file extension? I tried adding AND Extension = 'mp3' but that didn't work.

Nyn
try <Format> = 'mp3'

edit: drat = Z beat me... :-) and a better answer
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: Magic Nodes 2.7 w/ 170+ masks & real GUI (2009-06-29)[MM2+3]

Post by nynaevelan »

Thank you both that worked perfectly. :D :D

Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
Post Reply