
Thanks for the great work!
Code: Select all
Call SDB.Player.PlaylistAddTracks(SDB.PlaylistByTitle(Playlist).tracks)
Ah, do you mean the string fields? (it can handle number fields already). That would be the holy grail of search, but it would also mean quite a bit of coding and also slow the search down slightly due to the way the math filter works.Can the custom fields somehow be implemented into the math filter? I use the custom fields as numerical values for my scripts. It would be awesome to be able to use them in formulas.
Hmmm.. let's see. The name of the main MegaDJ node is called "rootNode". You may be able to access it with one of the following:Is there anyway to refresh and call the megadj node from a seperate script?
BigMatty, those are interesting ideas, though they would require quite a bit of arbitrary code to be added. If others express an interest, I would consider it...'Normal' - don't alter the results
'Smart' - it would try to mix up the artists as best it could, but not too much that it would ruin the 'bias' stuff
'Entire Album' - scans the results, works out which albums are mostly represented, and brings back the entire albums
Okay, this'll probably make it into version 2.1) "Duplicate this node" functionality. Having built a complex node, it would be useful to be able to duplicate it so as to tweak some parameters for a new list. Currently you have to create a new node and then copy and paste the lines over manually.
Hey, now that's interesting. I use Excel in this way sometimes to get a multi-line display. I will certainly consider it for version 2 aswell.2) Would it be possible to change the filter inputs from "lines" to "multi-line text areas"? If you then ignored the newline character, it would be possible to input your queries (and nested if's etc) in standard indented format - that all computer programmers inherently use for ease of readability. I intend to develop some complicated queries, and having it all on one line means readability suffers a bit!
Aha!Found 1 more.....
3) Allow genre in the Maths Filter so I could do this for example:
(if((genre='Dub') ,3 ,(if((genre='Rock'),1 ,2))))*(lastplayedage^0.* (Rating^2)/ (PlayCounter^0.5)
This sort of things tends to happen when MM uses the database for itself. Unfortunately, I can't figure out how to prevent them both trying to access the database at the same time. I'll look into this.Okay, so the problem is that I keep getting "ERROR: Database opening error. Please contact me with a bug report quoting error: 1005". I generally only see this right at startup. When MM starts up it scans through my monitor folder hierarchy looking for changes which generally takes 5-10 seconds. If during this time I click on a MegaDJ node (any filter) and hit f4 I get the error. Even when the monitor folder scan has finished hitting f4 again brings up the same error, meaning that MegaDJ is effectively unusable.
Heh, I saw that error a while ago, and meant to fix it but never got round to it. It's actually fixed now (for v2 of MegaDJ).Anyway, one more small "bug".
If I do the query:
Rating = 4
I get nothing, however,
Rating > 3.99 & Rating < 4.01
Code: Select all
Year>=19650000 & Year<=19750000
Code: Select all
If (grouping,2,1)
This isn't planned for version 2, although the multiline edit fields will somewhat make up for that.And would it be possible to include or exclude already made playlists in the query?
Then I restarted MM 3 but don't find MegaDJ. How do I start it up?Installation
...is a piece of cake - simply expand the zip file, and copy the MegaDJ folder and MegaDJ.vbs file into your "Mediamonkey/Scripts/Auto" folder.