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

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

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

Postby Viper21 » Fri Jan 20, 2012 10:47 am

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
Viper21
 
Posts: 45
Joined: Thu Jun 05, 2008 2:25 pm

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

Postby ZvezdanD » Sun Jan 22, 2012 10:07 am

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.2 (2011-07-01) RegExp Find & Replace 4.3 (2011-07-06)  Invert Selection/Select None 1.5 (2012-02-04)  Export/Create Playlists for Child Nodes 4.0.4 (2013-08-03)  Expand Child Nodes/Expand All 1.1.1 (2012-02-13)  Event Logger 2.4.1 (2012-02-06)  Filtered Statistics Report 1.5.1 (2009-10-09)  Track Redirection & Synchronization 3.4 (2012-10-08)  Restore/Synchronize Database 3.1.2 (2013-08-31)  Find Currently Playing Track 1.3 (2013-11-09)  Queue List 1.2 (2012-02-06)  Add to Library on Play 1.0 (2010-10-20)  Tree Report for Child Nodes 1.1 (2010-11-04)  Update Location of Files in Database 1.3.3 (2012-06-12)  Inherit Child Playlists 1.0.1 (2013-07-10)  Add Currently Playing/Selected Track(s) to Playlist 1.1.1 (2012-02-06)
ZvezdanD
 
Posts: 2739
Joined: Thu Jun 08, 2006 7:40 pm

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

Postby Viper21 » Sun Jan 22, 2012 1:14 pm

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
Viper21
 
Posts: 45
Joined: Thu Jun 05, 2008 2:25 pm

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

Postby allwi » Sun Jan 22, 2012 7:32 pm

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
allwi
 

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

Postby ZvezdanD » Sun Jan 22, 2012 7:49 pm

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.2 (2011-07-01) RegExp Find & Replace 4.3 (2011-07-06)  Invert Selection/Select None 1.5 (2012-02-04)  Export/Create Playlists for Child Nodes 4.0.4 (2013-08-03)  Expand Child Nodes/Expand All 1.1.1 (2012-02-13)  Event Logger 2.4.1 (2012-02-06)  Filtered Statistics Report 1.5.1 (2009-10-09)  Track Redirection & Synchronization 3.4 (2012-10-08)  Restore/Synchronize Database 3.1.2 (2013-08-31)  Find Currently Playing Track 1.3 (2013-11-09)  Queue List 1.2 (2012-02-06)  Add to Library on Play 1.0 (2010-10-20)  Tree Report for Child Nodes 1.1 (2010-11-04)  Update Location of Files in Database 1.3.3 (2012-06-12)  Inherit Child Playlists 1.0.1 (2013-07-10)  Add Currently Playing/Selected Track(s) to Playlist 1.1.1 (2012-02-06)
ZvezdanD
 
Posts: 2739
Joined: Thu Jun 08, 2006 7:40 pm

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

Postby allwi » Sun Jan 22, 2012 8:05 pm

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.
allwi
 
Posts: 20
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

Postby aprzybylo » Tue Jan 31, 2012 9:57 am

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
aprzybylo
 
Posts: 301
Joined: Tue Aug 21, 2007 2:58 pm
Location: Ottawa, Canada

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

Postby ZvezdanD » Tue Jan 31, 2012 11:23 am

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.2 (2011-07-01) RegExp Find & Replace 4.3 (2011-07-06)  Invert Selection/Select None 1.5 (2012-02-04)  Export/Create Playlists for Child Nodes 4.0.4 (2013-08-03)  Expand Child Nodes/Expand All 1.1.1 (2012-02-13)  Event Logger 2.4.1 (2012-02-06)  Filtered Statistics Report 1.5.1 (2009-10-09)  Track Redirection & Synchronization 3.4 (2012-10-08)  Restore/Synchronize Database 3.1.2 (2013-08-31)  Find Currently Playing Track 1.3 (2013-11-09)  Queue List 1.2 (2012-02-06)  Add to Library on Play 1.0 (2010-10-20)  Tree Report for Child Nodes 1.1 (2010-11-04)  Update Location of Files in Database 1.3.3 (2012-06-12)  Inherit Child Playlists 1.0.1 (2013-07-10)  Add Currently Playing/Selected Track(s) to Playlist 1.1.1 (2012-02-06)
ZvezdanD
 
Posts: 2739
Joined: Thu Jun 08, 2006 7:40 pm

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

Postby thefaceman » Fri Feb 03, 2012 10:21 am

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?
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

Postby markeh » Fri Feb 03, 2012 12:34 pm

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.


.
markeh
 
Posts: 213
Joined: Fri May 25, 2007 1:30 am

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

Postby nohitter151 » Fri Feb 03, 2012 1:08 pm

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.
nohitter151
 
Posts: 22942
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA

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

Postby zephyr » Sun Feb 05, 2012 2:27 pm

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
zephyr
 
Posts: 93
Joined: Fri Oct 07, 2011 2:56 pm

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

Postby ZvezdanD » Fri Feb 10, 2012 4:36 am

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.2 (2011-07-01) RegExp Find & Replace 4.3 (2011-07-06)  Invert Selection/Select None 1.5 (2012-02-04)  Export/Create Playlists for Child Nodes 4.0.4 (2013-08-03)  Expand Child Nodes/Expand All 1.1.1 (2012-02-13)  Event Logger 2.4.1 (2012-02-06)  Filtered Statistics Report 1.5.1 (2009-10-09)  Track Redirection & Synchronization 3.4 (2012-10-08)  Restore/Synchronize Database 3.1.2 (2013-08-31)  Find Currently Playing Track 1.3 (2013-11-09)  Queue List 1.2 (2012-02-06)  Add to Library on Play 1.0 (2010-10-20)  Tree Report for Child Nodes 1.1 (2010-11-04)  Update Location of Files in Database 1.3.3 (2012-06-12)  Inherit Child Playlists 1.0.1 (2013-07-10)  Add Currently Playing/Selected Track(s) to Playlist 1.1.1 (2012-02-06)
ZvezdanD
 
Posts: 2739
Joined: Thu Jun 08, 2006 7:40 pm

Different Album name(s) in Folder

Postby zephyr » Fri Feb 10, 2012 2:06 pm

Hi

Is it possible to show any folders that have tracks with different album title?
Grateful noob
zephyr
 
Posts: 93
Joined: Fri Oct 07, 2011 2:56 pm

Re: Different Album name(s) in Folder

Postby ZvezdanD » Fri Feb 10, 2012 4:08 pm

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.2 (2011-07-01) RegExp Find & Replace 4.3 (2011-07-06)  Invert Selection/Select None 1.5 (2012-02-04)  Export/Create Playlists for Child Nodes 4.0.4 (2013-08-03)  Expand Child Nodes/Expand All 1.1.1 (2012-02-13)  Event Logger 2.4.1 (2012-02-06)  Filtered Statistics Report 1.5.1 (2009-10-09)  Track Redirection & Synchronization 3.4 (2012-10-08)  Restore/Synchronize Database 3.1.2 (2013-08-31)  Find Currently Playing Track 1.3 (2013-11-09)  Queue List 1.2 (2012-02-06)  Add to Library on Play 1.0 (2010-10-20)  Tree Report for Child Nodes 1.1 (2010-11-04)  Update Location of Files in Database 1.3.3 (2012-06-12)  Inherit Child Playlists 1.0.1 (2013-07-10)  Add Currently Playing/Selected Track(s) to Playlist 1.1.1 (2012-02-06)
ZvezdanD
 
Posts: 2739
Joined: Thu Jun 08, 2006 7:40 pm

PreviousNext

Return to Need Help with Addons?

Who is online

Users browsing this forum: Google [Bot], martialartsguy and 15 guests