Hey that looks good too, but like you say will need more checking out. I've cross-linked this page with here:
http://www.mediamonkey.com/forum/viewto ... 19&t=62317
...where Thanasis has also come up with some promising solutions.

twinbee wrote:@MonkeyEargasms - MegaDJ doesn't create m3u files, but instead uses the internal Mediamonkey song number. Each file is named, 1, 2, 3, 4 etc., for each node, and inside each file, you might see something like this for 5 songs:
129,466,1113,3027,5872
These are in the scripts/auto/MegaDJ folder, which itself is probably found in the the Mediamonkey folder.
twinbee wrote:@AnthonyM1229 - After some brain-strain, I think I've sorted out the path thing now. See my latest posts at this thread, and let me know what you think:
http://www.mediamonkey.com/forum/viewto ... 7&p=320851
Dim strMMPath
Dim settingsPath
isPortable = instr(SDB.Database.Path, SDB.ApplicationPath) ' Checks if the Application path string is contained inside the DataBase path string
if(isPortable=false) Then
MsgBox("not portable")
Set oFSO = CreateObject("Scripting.FileSystemObject")
Set shell = CreateObject("WScript.Shell")
settingsPath = shell.ExpandEnvironmentStrings("%appdata%") & "\MediaMonkey\"
set objFSO = createobject("Scripting.FileSystemObject")
If objFSO.FolderExists(settingsPath) = False then
objFSO.CreateFolder(settingsPath)
end If
strMMPath = settingspath & "Scripts\Auto\"
Else
MsgBox("portable")
settingsPath = SDB.ScriptsPath & "Auto\"
strMMPath = settingsPath
End if
MsgBox("final settings path: "+settingsPath)Dim strMMPath : strMMPath = SDB.ApplicationPath & "Scripts\Auto\"LastPlayedAge > 2 & (Year >= 20090000 & Year <= 20110000 | Dateadded > 40847) & (Genre = "House" | Genre = "Electronic" | Genre = "DnB") & (mood ~ "energetic" | mood ~ "uplifting" | mood ~ "happy")
& ((occasion ~ "whatever1" | occasion ~ "whatever2" | occasion ~ "whatever3") | (Tempo = "medium" |Tempo = "medium fast"| Tempo = "fast") | rating > 3.5)I'll actually get 37-39 queued most of the time? Because those last few excluded were dupes?
That check for dupes doesn't seem slow to me, and it works well.
I'd be curious to take a look at the C/C++ code..., and see if I can understand any of it.
Users browsing this forum: No registered users and 10 guests