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

Post a reply

Visual Confirmation

To prevent automated access and spam, you are required to confirm that you are human. Please place a check mark next to all images of monkeys or apes. If you cannot see any images, please contact the Board Administrator.

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:
BBCode is ON
[img] is ON
[flash] is OFF
[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+]

Script error message

Post by terrypin » Mon May 18, 2015 4:13 pm

I recently tried to tidy up but must have moved a script to the wrong place, because I now get this error message when I start MM:

https://dl.dropboxusercontent.com/u/401 ... odes-1.jpg

(I am running the latest MM version, 4.1.7.1741.)

Yet when I close that message, MM loads OK and Magic Nodes is in the tree.

Any suggestions on how I might fix this please?

The files MagicNodes.vbs, MagicNodes.ini and MagicNodes.ico, plus one called MagicNodes-Onenonymous.ini are all in C:\Program Files\MediaMonkey\Scripts\Auto

I'm also puzzled why scripts are in various different locations?

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

Post by willyvds » Thu Apr 30, 2015 6:01 pm

Hi Zvezdan, indeed I've had similar problems before. I tried al your suggestions and in the end I cleaned the library and it seems that that did the trick.
Thanks for helping again!

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

Post by ZvezdanD » Thu Apr 30, 2015 2:38 pm

willyvds wrote:Recently, Magic Nodes has become really ridiculouly slow. Nodes that used to take a few seconds do now need 5 minutes or more.
In the end they do run, but in the meantime I cannot do anything with MM.
Do you have an explanation? Or suggestion what I could do about it?
Regards, Willy

If I remember correctly, we already had the similar conversation. Firstly, please check if you have your database on some networked drive, e.g. NAS. Maybe its slowness is causing that.

Secondly, try some more complicated autoplaylists. If you get the similar timings then you have problem with the database, but not with the Magic Nodes. In that case you could try with the database's optimization.

You could also check if your database is causing slowness by executing the MN related SQL queries in some SQLite editor. To do that you should tick on the options to get the dialog box with the SQL queries whenever you select/expand some MN node ("Allow editing of SQL queries", "when expand field nodes" and "when select a field node"). After that copy displayed SQL query when you have expanded or selected some slow Magic node, paste it to the SQLiteSpy or some another SQLite editor and execute it.

If you have problem only with some MN nodes but not all, or if you have problem only with the latest version of Magic Nodes but not with the previous, then the add-on is causing that. In that case please be more specific with which version of the add-on you got slowness, and copy/paste here the problematic mask(s).

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

Post by willyvds » Thu Apr 30, 2015 11:13 am

Recently, Magic Nodes has become really ridiculouly slow. Nodes that used to take a few seconds do now need 5 minutes or more.
In the end they do run, but in the meantime I cannot do anything with MM.
Do you have an explanation? Or suggestion what I could do about it?
Regards, Willy

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

Post by ZvezdanD » Wed Apr 15, 2015 3:27 am

lostinthought wrote:HELP--MN Playlist saves music to MMA, but not the playlist

As I told you in e-mail, the MN created playlists are behaving in any aspect as regularly created static MM playlists. So, if you could synchronize your manually created MM playlists and get saved playlist files to your device, then you would get saved playlist files for MN created playlists as well.

You should have posted your message in the Device Synchronization forum without mentioning how you got playlists since that doesn't matter for your problem. I.e. your question should be: how to get exported playlists files (M3U) for corresponding MM playlists during synchronization automatically?

I don't have any experience with synchronization, but I suppose that you haven't enabled MN created playlists on the Auto-Sync (-->Device) tab of your Device settings.

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

Post by lostinthought » Tue Apr 14, 2015 7:13 pm

HELP--MN Playlist saves music to MMA, but not the playlist
I created my own custom magic node that I moved to the Playlist tree, by setting "Position" as "Child of Playlists". I have a Galaxy Note Edge on stock TouchWiz with MMA installed. I performed a wireless sync, selecting the newly created MN playlist and a MM auto playlist (for testing purposes). I ran the sync, which successfully transferred all the songs to my phone. The only problem is the actual MN playlist file failed to sync to my phone. I have all the music, but no playlist?! Scratching my head on this one, maybe I missed a setting somewhere? I did the same test on a SGS3 using stock touch wiz, but same results.

Has anyone else encountered this? Would love some guidance on this... :cry:

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

Post by MMFrLife » Thu Feb 05, 2015 9:34 am

Doh! Thank You, Thank You!
That Worked! :)

I was only accounting for one of the fields before (needs to be both as you point out) :-? .

I still have a couple of other questions and will post back later when have a little more time. :D

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

Post by Guest » Thu Feb 05, 2015 4:58 am

Code: Select all
Songs.Artist Not Like '%;%'


Code: Select all
Songs.AlbumArtist Not Like '%;%'


To filter out both at the same time

Code: Select all
Songs.Artist Not Like '%;%' AND Songs.AlbumArtist Not Like '%;%'

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

Post by MMFrLife » Wed Feb 04, 2015 11:00 pm

Guest wrote:eg

Code: Select all
<Album artist> <> 'Various Artists'


That works if you have "various artist" written in a field but not if you have something like "Lou Reed; Iggy pop; Joey Ramone".
[albums that don't have a main album artist and then various other artists. In other words, it's no one's album. It's thematic, and
artist and album artist are both various but listed out]

...and besides, if you are not using multi-artist in MN property drop down menu, what is it for?

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

Post by Guest » Wed Feb 04, 2015 7:24 pm

eg

Code: Select all
<Album artist> <> 'Various Artists'

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

Post by MMFrLife » Wed Feb 04, 2015 6:18 pm

How do you exclude "multi" items?

I'm trying to exclude "multi-artist albums.
I tried:

ma is not
ma excludes
...the above 2 with --> ;

I can't figure out the right combination/setting for it.

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

Post by fizzjob » Wed Jan 28, 2015 3:37 pm

I know it must be possible, but I've not been able to figure it out:

A node similar to the "Artists with at least one track with track rating >= 4 stars", but filtering out any tracks that aren't rated 4+ stars. Ideally, filtering out any artists with fewer than x tracks rated 4+ stars.

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

Post by ZvezdanD » Sun Jan 25, 2015 12:37 pm

This mask works only in the new version of Magic Nodes:
Code: Select all
<Group|Name:Albums...>\(Complete) Albums with <ID:1> or more files on <ID:2> or more playlists|Icon:Top level|Filter:Songs.IDAlbum IN (SELECT IDAlbum FROM Songs WHERE Songs.ID IN (SELECT IDSong FROM PlaylistSongs GROUP BY IDSong HAVING Count(*) >= <Number|Caption:Min. number of playlists per file|Value:2|MinValue:1|MaxValue:100|ID:2>) <If|Caption:Only complete albums having number of files equal to maximal track #|Value=1|ID:3>AND Songs.IDAlbum IN (SELECT IDAlbum FROM Albums INNER JOIN (SELECT IDAlbum, Count(*) AS CntFld FROM Songs GROUP BY IDAlbum, DiscNumber HAVING CntFld = Max(Cast(TrackNumber As integer)) AND CntFld >= <Number|Caption:Min. number of files per disc|Value:5|MinValue:1|MaxValue:20|ID:4>) AS T1 ON Albums.ID = T1.IDAlbum GROUP BY IDAlbum HAVING Albums.Tracks = Sum(CntFld)) <End If>GROUP BY IDAlbum HAVING Count(*) >= <Number|Caption:Min. number of files appearing on playlists|Value:1|MinValue:1|MaxValue:100|ID:1>)\<Album|Trim:1|Statistic:Count(Album)|Unknown:No>\<Album with album artist|Statistic:Count(Disc number), Count(All), Concat(Playlist)|Show if empty:Yes|Unknown:No>\<Disc number|Unknown:No|Statistic:Count(All)>

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

Post by ohneland » Sat Jan 24, 2015 3:07 pm

Do you folks think I can solve this problem viewtopic.php?f=1&t=78959 with magic nodes?
I tried to have a look into this add-on and discovered the predefined setting "Albums with some tracks rated" but I don't have the slightest idea of how to use sql or whatever Magic Nodes is based on. Any help or suggestions is very welcome!

Re: Show magic nodes in Column Browser

Post by theonlyrick » Sat Jan 24, 2015 6:53 am

Shame, but thanks!

Richard

ZvezdanD wrote:
theonlyrick wrote:Is there any way to get the artists listed by number of tracks in the column browser?

MM developers didn't provide any kind of customization of the Column Browser to the scripts.

Top