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

Magic Nodes Experts

Post by MPG » Thu Nov 02, 2017 10:14 pm

I have a challenge for all you Magic Nodes experts!
I'm looking for a query that will return a random list of albums where:
1) I have all of the songs on the album
2) I have not listened to all of the songs on the album (if you can get it to be an album where I haven't listened to any of the songs....even better)
3) They are in the genre of Blues, Classical, Comedy, Country, Documentary, Easy Listening, Jazz, Pop, or Rock
4) Return a maximum of 40 albums.

Any takers?

Re: magic nodes filter by <Type> fails

Post by ZvezdanD » Fri Oct 27, 2017 2:59 am

SteveMills wrote:The "manual" is 9 years old and for a previous version. I am using MN 4.3.1 on MM 4.1.18.1853 Gold

The manual implies that Type is not a valid field.

The manual is 9 years old indeed, but the add-on's Web page and its Usage section is quite new and up to date.

If some field cannot be found in the Fields and Filter combo boxes in the Mask Settings dialog box, then it is not supported.

By the way, the donation-only version has a support for the fields added in MM4 as Type:
v5.0 - 2014-04-19
* Added: new MM4 fields: Actor(s), Producer, Season #, Episode #, Episode # - Title, Parental Rating, Framerate, Resolution, Video Width, Video Height, Bookmark, Start Time, Stop Time, Skipped #, Type

magic nodes filter by <Type> fails

Post by SteveMills » Thu Oct 26, 2017 7:27 pm

LET ME TRY AGAIN:
>For a "MagicNode", I would like a filter of:
><Type> = 'Classical Music' but that does not seem to be accepted.
>Suggestions?

When I try to open a node with that filter, I get the message:

"The mask defining this Magic Node produced an error. ... probably resides in the Filter or SQL filter ..."

The "manual" is 9 years old and for a previous version. I am using MN 4.3.1 on MM 4.1.18.1853 Gold

The manual implies that Type is not a valid field.

---
How can I filter a Magic Node to show only Type='Classical Music'???

magic node filter

Post by SteveMills » Thu Oct 26, 2017 1:54 pm

For a "MagicNode", I would like a filter of:

<Type> = 'Classical Music'

but that does not seem to be accepted.

Suggestions?

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

Post by ZvezdanD » Sun Oct 15, 2017 2:31 am

This mask works only in MM4 with MN5.x:
Code: Select all
<Group|Name:Playlists...>\Songs in playlists modified in last <ID:1> days|Icon:Top level|Filter:julianday('now') - julianday(Playlists.LastModified) <= <Number|Caption:Maximum number of days|Value:7|MinValue:1|MaxValue:1000|ID:1>\<Playlist>

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

Post by ZvezdanD » Sat Oct 14, 2017 2:55 pm

MagGyver wrote:So if I wanted to use this information somehow (about when playlist is last modified) in a node, would it give me a workaround for the list I'm looking for?


I don't know what you mean by "workaround". As I said, you cannot find a date when some particular file is added to the playlist. There is no a workaround for such thing. But there is information when some playlist was modified and that info could be used in Filter, e.g. to display all files from playlists that are modified on a specified date, or something like that. "Modified" means that some file is added to or removed from or moved inside a playlist.

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

Post by MagGyver » Sat Oct 14, 2017 12:25 pm

ZvezdanD wrote:
MagGyver wrote:does anyone know if it's possible to create a node that lists tracks that were recently added to playlists?

That is not possible since the PlaylistSongs table, which contains information about files in playlists, doesn't contain a field with a date when file is added to the table.

However, the Playlist table, which contains information about playlists and their relations, contains information when a playlist is last modified in any way. This is not what you want, but just as a note.


Thanks. So if I wanted to use this information somehow (about when playlist is last modified) in a node, would it give me a workaround for the list I'm looking for?

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

Post by ZvezdanD » Sat Oct 14, 2017 1:35 am

MagGyver wrote:does anyone know if it's possible to create a node that lists tracks that were recently added to playlists?

That is not possible since the PlaylistSongs table, which contains information about files in playlists, doesn't contain a field with a date when file is added to the table.

However, the Playlist table, which contains information about playlists and their relations, contains information when a playlist is last modified in any way. This is not what you want, but just as a note.

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

Post by MagGyver » Fri Oct 13, 2017 9:24 pm

Hi all, does anyone know if it's possible to create a node that lists tracks that were recently added to playlists? I know I can have a node that shows when tracks were added to the database, but I'd like one for when I add them to playlists. I'm getting turned around trying to modify an existing node for this...

Thanks!

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

Post by ZvezdanD » Sun Oct 08, 2017 10:08 am

Well, without regular expressions, hardly. MM devs promised that they will implement regex to their database engine, but there is still nothing in sight.

It could be relatively simple if you have only space character in the front and/or the end of such word, but problem will rise if you have also some punctuation characters, e.g. dot or comma or dash or parentheses.

It would be much easier if you use RegExp Find & Replace for such things.

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

Post by MMFrLife » Sun Oct 08, 2017 8:52 am

If I'm trying to isolate certain words in say, the title, how would I filter out any variations of that word?

For ex.,
If I do something like: <Title> Like '%polar%' OR <Lyrics> Like '%polar%'
How do I prevent it from including words that have that at their root, like "polarize"; without having to add negations
for all the variations to the filter?

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

Post by ZvezdanD » Sun Sep 10, 2017 4:58 pm

MMFrLife wrote:here are a couple of shots of the box that I can't find a proper name for

That is a simple multi-line text box that is made floating and resizable by MM developers. Unfortunately, such text boxes are not available through their scripting API. They could be made resizable in scripts as you resize their parent form like Filter text box in Mask Settings dialog box, but they cannot be made floating and resizable independently of their parent form.

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

Post by MMFrLife » Sun Sep 10, 2017 3:34 pm

ZvezdanD wrote:I am sorry, but I still don't understand what you want.


Ok, it sounds like it won't work. Your idea to add description sounds good, even though
I'm not certain exactly what you mean.

Thinks for the Windows info. I learned a couple of proper names. Just to clarify/name what I
was talking about, here are a couple of shots of the box that I can't find a proper name for

https://imgur.com/a/vIfet
"Resizable" (something or another)

I was thinking at the bottom of MagicNodes edit & settings where add, update, cancel are. Similar
to where Find is in both RFR and Manage of MN.

But it sounds like it won't work from what you are saying. Can't resize it both ways
and/or even put it in that location. Oh well :wink:

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

Post by ZvezdanD » Mon Sep 04, 2017 1:29 pm

I am sorry, but I still don't understand what you want. Currently, you cannot add notes to masks. The only place where you could put some description is in the mask caption. I already though about adding the Description control/field to the masks, similar to the one in RFR, it is on ToDo list.

You cannot have two controls in a resizable dialog box that will change the same dimension (vertically or horizontally). In the Mask Settings dialog box the only control which could change both dimensions when you resize dialog box is Filter (in the Manage Masks dialog box it is the table with masks, in the Preset Settings dialog box of RFR it is the table with files). So, if I add a new control to the Mask Settings dialog box like Description, it could be resized only horizontally, but not vertically. That is the reason why the Description control in the RFR could be resized only horizontally.

However, if you click on the "^" button, you will get displayed the whole mask inside one large text box that covers the whole Mask Settings dialog box.

By the way, about terminology, I suggest that you use control names that Microsoft use for their applications: https://msdn.microsoft.com/en-us/library/windows/desktop/dn742399(v=vs.85).aspx

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

Post by MMFrLife » Mon Sep 04, 2017 11:53 am

...well, sorry, Comments and lyrics are not typical dropdowns, rather they stretch/expand outward when being pulled.
Is it possible with either type (arrow clickable or stretch fields). Are the far-right arrow fields even capable of showing a block of info?
Sorry about the terminology. I'm sure their are better terms.

Top