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

Viper21
Posts: 49
Joined: Thu Jun 05, 2008 2:25 pm

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

Post by Viper21 »

ZvezdanD wrote:
Viper21 wrote:However, MagicNodes won't let me include the backslash in the "Right of" local qualifier so as to hide it.
I am not sure that understand what you exactly want, but you are wrong that MagicNodes won't let you include the backslash in the "Right of" local qualifier. You just need to escape it with the same character, i.e. you should specify it twice. If you are using GUI and type string directly into the Right of text box, the script would automatically add one more "\" character into the mask.
Thank you ZvezdanD. The doubleslash did the trick. :D

My node now contains a list of folder paths. Each folder path maps to an album in this naming convention: <artist> - <album> (<year>).
E.g. 1: ABC - Greatest Hits (2012)\
E.g. 2a: Band - Greatest Hits (2012)\CD1\
E.g. 2b: Band - Greatest Hits (2012)\CD2\
However, when they are displayed they also have a slash at the end. Is there some kind of qualifier to also hide the last backslash?
E.g. 1: ABC - Greatest Hits (2012)
E.g. 2a: Band - Greatest Hits (2012)\CD1

Thank you,
-Viper21
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

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

Post by ZvezdanD »

Viper21 wrote:Is there some kind of qualifier to also hide the last backslash?
You could do that by adding |Split by:\\|Split Mode:String Before|Split part:-1 to the Folder local node.
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
Viper21
Posts: 49
Joined: Thu Jun 05, 2008 2:25 pm

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

Post by Viper21 »

ZvezdanD wrote:
Viper21 wrote:Is there some kind of qualifier to also hide the last backslash?
You could do that by adding |Split by:\\|Split Mode:String Before|Split part:-1 to the Folder local node.
Sweet!!! 8) Works like a charm.

Thank you ever so much!

-Viper21
allwi

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

Post by allwi »

First of all: Zvezdan - thanks very much for your wonderful scripts.

But as usual, when you get something which solves your problems, you want even more :wink:

My idea is the following: I want a library tree organised alphabetically by Artist. Below each artist node, I want all the Albums on which a song of this artist appears. Basically this is the "Album Artist" tree but includes also the samplers which contain tracks of the artists. E.g.

Code: Select all

Library
+- A
+- B 
   +- BAND 1
      +- Band Album
         +- 01 Song 1
         +- 02 Song 2
         +- ...
      +- Sampler
         +- 04 - Song 1
This works well with the config

Code: Select all

Library|Filter:SongArtists.Albums>0\<Artist|Trim:1>\<Artist>\<Album>
All tracks are shown in the Album (leaf) node, the artist and the inital letter node (I would be nice to show all tracks as well in the library node but the SQL query takes ages ...)

So far, so good ... Now I want to get rid of the duplicate/redirected tracks in the "inner" nodes, i.e the initial letter and the artist node BUT NOT in the album node.
I.e. in the example above I want to show under BAND 1: Song 1 once (from Band Album but not from Sampler).
On the other hand, when selecting the Sampler node, I still want to see that it contains Song 2 ...

Does this make sense? Is this possible? (I think the filter has to be node specific which is not possible).

Many thanks
allwi
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

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

Post by ZvezdanD »

allwi wrote:Is this possible? (I think the filter has to be node specific which is not possible).
You are right, that is not currently possible, but it is already on my ToDo list.
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
allwi
Posts: 67
Joined: Sun Jan 22, 2012 7:34 pm
Location: Sydney NSW

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

Post by allwi »

ZvezdanD wrote:
allwi wrote:Is this possible? (I think the filter has to be node specific which is not possible).
You are right, that is not currently possible, but it is already on my ToDo list.
Cool, many thanks - esp. for the immediate response.
aprzybylo
Posts: 301
Joined: Tue Aug 21, 2007 2:58 pm
Location: Ottawa, Canada
Contact:

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

Post by aprzybylo »

I wrote the node that is using wavg function. I notice that the result is rounded. What I meant that all results are or xxx.x5 or xxx.x0. Example wavg rating of my album is 4.00 even if in reality it's 4.03. I know not big deal but using avg function it works correctly
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

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

Post by ZvezdanD »

aprzybylo wrote:I wrote the node that is using wavg function. I notice that the result is rounded. What I meant that all results are or xxx.x5 or xxx.x0. Example wavg rating of my album is 4.00 even if in reality it's 4.03. I know not big deal but using avg function it works correctly
Thanks for the report. That bug will be fixed in 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
thefaceman
Posts: 367
Joined: Sun Aug 28, 2005 10:43 pm

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

Post by thefaceman »

willyvds wrote:It would be usefull if very popular add ons (like Magic Nodes) had it's own forum under Technical Support.
I would be easier then to follow a specific discusion, and look up old answers.
Regards, Willy
GREAT IDEA. Moderators is this possible?
markeh
Posts: 269
Joined: Fri May 25, 2007 1:30 am

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

Post by markeh »

thefaceman wrote:
willyvds wrote:It would be usefull if very popular add ons (like Magic Nodes) had it's own forum under Technical Support.
I would be easier then to follow a specific discusion, and look up old answers.
Regards, Willy
GREAT IDEA. Moderators is this possible?
Yes....please - following this as it's currently organized is a pita....

I think that the developers would like Magic Nodes to be "just another add-on," like many others. But I think that MNodes, along with RegExperssions, and maybe a few others are so key to making MMonkey valuable, their loss could kill the product.

They either need to be incorporated, or at least given more support.


.
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

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

Post by nohitter151 »

thefaceman wrote:
willyvds wrote:It would be usefull if very popular add ons (like Magic Nodes) had it's own forum under Technical Support.
I would be easier then to follow a specific discusion, and look up old answers.
Regards, Willy
GREAT IDEA. Moderators is this possible?
Only an admin can create new forum sections.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
zephyr
Posts: 101
Joined: Fri Oct 07, 2011 2:56 pm

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

Post by zephyr »

Hi!

Is it possible to see which albums in a path (a tree node in the library, to exclude folders containing compilations, or to quickly analyse new files) have different album artist and artist tags?

If possible, if this conditional format can also include "but album artist is NOT various artists", that could be an added bonus...

Thanks

Z
Grateful noob
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

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

Post by ZvezdanD »

zephyr wrote:Is it possible to see which albums in a path (a tree node in the library, to exclude folders containing compilations, or to quickly analyse new files) have different album artist and artist tags?
Did you try "Artist does not equal Album Artist" node from the Artists... branch?
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
zephyr
Posts: 101
Joined: Fri Oct 07, 2011 2:56 pm

Different Album name(s) in Folder

Post by zephyr »

Hi

Is it possible to show any folders that have tracks with different album title?
Grateful noob
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: Different Album name(s) in Folder

Post by ZvezdanD »

zephyr wrote:Is it possible to show any folders that have tracks with different album title?

Code: Select all

<Group|Name:Albums...|Show tracks:No>\Folders with multiple Albums|Icon:Bottom level|Filter:<Folder> IN (SELECT <Folder> AS Folder FROM Songs INNER JOIN (SELECT *, CASE WHEN DriveLetter IS NOT NULL THEN SubStr('ABCDEFGHIJKLMNOPQRSTUVWXYZ', DriveLetter + 1, 1) ELSE '' END AS DriveStr FROM Medias) AS Medias2 ON Songs.IDMedia = Medias2.IDMedia GROUP BY Folder HAVING Count(DISTINCT IDAlbum) > 1)\<Folder|Unknown:No|Statistic:Count(Album with album artist)>\<Album with album artist|Unknown:No|Statistic:Count(All)>

Code: Select all

<Group|Name:Albums...|Show tracks:No>\Albums with multiple Folders|Icon:Bottom level|Filter:Songs.IDAlbum IN (SELECT IDAlbum FROM Songs INNER JOIN (SELECT *, CASE WHEN DriveLetter IS NOT NULL THEN SubStr('ABCDEFGHIJKLMNOPQRSTUVWXYZ', DriveLetter + 1, 1) ELSE '' END AS DriveStr FROM Medias) AS Medias2 ON Songs.IDMedia = Medias2.IDMedia WHERE IDAlbum > 0 GROUP BY IDAlbum HAVING Count(DISTINCT <Folder>) > 1)\<Album with album artist|Statistic:Count(Folder)|Unknown:No>\<Folder|Statistic:Count(All)|Unknown:No>
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
Post Reply