MusicMagicDJ Script

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

DanielWebb
Posts: 32
Joined: Thu Sep 28, 2006 5:17 am

Post by DanielWebb »

I'm using:

MediaMonkey 2.5.3.959
MusicIP Mixer 1.7

The problem is in the code:

Code: Select all

var it = SDB.Database.QuerySongs("AND (Songs.SongPath='E:\New Music\Manu Chao - Mano Negra - [Discografia]\Hot Pants - Loco-Mosquito - 04 - Ball and chain.mp3')");

the iterator it returned always has the EOF flag set on your setups. Not on mine, oh no - I'm loving it here.

It looks fine to me, and if you're finding it with the search mentioned above then I have no other clue what the problem is apart from looking at the .mdb file, but I don't want to download a 60mb file.

Sorry, my recommendation is don't bother with this script
Regards

Daniel Webb
www.planetgriff.com
sasapuksic
Posts: 106
Joined: Tue Jan 03, 2006 11:43 am
Location: Maribor, Slovenia
Contact:

Post by sasapuksic »

I'm not a scripter so I don't have a clue what you are saying... I don't understand why other scripters are not interested in this as this could be far better than any DJ solution thats currently possible in MM...

I am using MM version: 2.5.4.969 if that matters....

I can upload my dbm to high speed server so it wouldn't be so hard for you to download ...

People please help!! I know you can make this one work!! I would die for it!! (not really hehe)

DanielWebb, make my day and continue to work on it!! Please!!

:cry:
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

DanielWebb wrote:
The problem is in the code:

Code: Select all

var it = SDB.Database.QuerySongs("AND (Songs.SongPath='E:\New Music\Manu Chao - Mano Negra - [Discografia]\Hot Pants - Loco-Mosquito - 04 - Ball and chain.mp3')");
This code will never work since the drive letter isn't stored in the songpath. Either remove the drive letter or link it in with Medias table.
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
Guest

Post by Guest »

thank you bex - that would explain it.

All my file paths are stored as network paths - eg: \\edge\media\music\beck\odelay\track1.mp3

Which is why the script works for me.

I'll see if I can work out what happens when your paths include a drive letter.

Regards

Daniel Webb
sasapuksic
Posts: 106
Joined: Tue Jan 03, 2006 11:43 am
Location: Maribor, Slovenia
Contact:

Post by sasapuksic »

yeeeeeeeeessssss ..... !!!!

:D
holterpolter
Posts: 292
Joined: Wed Feb 01, 2006 7:29 am
Location: Germany

Post by holterpolter »

Do you think it is enough to modify your SQLEscape function with

Code: Select all

removed
So it cuts the first Charakter which is the Drive Letter.
Perhaps there is a better method. but i tried this and i think that your script now works on my machine.
Last edited by holterpolter on Tue Oct 10, 2006 1:04 pm, edited 1 time in total.
psyXonova
Posts: 785
Joined: Fri May 20, 2005 3:57 am
Location: Nicosia, Cyprus
Contact:

Post by psyXonova »

Nice one, I am glad that more AutoDJs become available for MM.
It seems like that your problems are now solved.
I would love to help but there are two problems:
1. I dont use MusicIP mixer... I installed it once and didnt liked it... Its too slow for me with more that 20000 tracks.
2. Your script is on JS which is not my preffered language.

Nevertheless, from now on, i will try to follow the thread and help when I can

Again, great work...
sasapuksic
Posts: 106
Joined: Tue Jan 03, 2006 11:43 am
Location: Maribor, Slovenia
Contact:

Post by sasapuksic »

psyxonova wrote:1. I dont use MusicIP mixer... I installed it once and didnt liked it... Its too slow for me with more that 20000 tracks.
Well I have about 23000 tracks in my library and MusicIP Mixer worked three days analysing it. It seems lots but when its done its done ... now I dont have to do that anymore and the results are really great. Its true, however that its a god idea to make "archive analyses" as the library cache may become corrupt if the app. craches with system out of that or other reson. Version 1.7 is very stable and it is compatible with MM too as you can send playlist directly to MM with click of a one button.

This script is really something new as it works with the mix progression and not like most plugins that excist right now which just offer you to make a mix out of selected track. I would really like to see it work. Still hope for the best.

Thank you all, your the greatest!

:D
psyXonova
Posts: 785
Joined: Fri May 20, 2005 3:57 am
Location: Nicosia, Cyprus
Contact:

Post by psyXonova »

sasapuksic wrote:Well I have about 23000 tracks in my library and MusicIP Mixer worked
If this is true then you can imagine why MusicIP never finished analyzing my tracks in time...... :lol: :lol:
From my MM statistics wrote:Artists 28412
Albums 11895
Tracks 201283
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post by Teknojnky »

You don't have to add your whole library at one time, just add a few sub folders of your more favorite stuff and try it out. The mixes are usually pretty good.

That said, the larger the library, the longer it takes and the more resources it tends to need. I'm now using an amd64 4800x2 (dual core) and have 2 gig ram, so it's not really a problem for me, but on my previous amd64 3500 it could sometimes hog all the cpu/ram.

I'm up to ~65000 tracks, and it works fine most of the time (some files, espcially whole album tracks will tend to use up all ram during analysis).

The 1.7 version is also alot more stable and problem free than earlier versions, so if perhaps you tried the old music magic mixer or some of the early versions of musicip mixer (same thing, new name), then the 1.7 might work alot better for ya.
monitoringpost
Posts: 48
Joined: Sun Oct 08, 2006 12:43 pm

Post by monitoringpost »

Daniel,

New to MM and was attracted by the ability to run scripts among MM's other features. Despite the posts I thought I'd forge ahead and try your script along with MusicIP - seems to work as "advertised". Didn't run into any of the problems posted here :) . I'm sure I'll have some questions but thanks - it's just what I was looking for.

- M
DanielWebb
Posts: 32
Joined: Thu Sep 28, 2006 5:17 am

Post by DanielWebb »

I've put up a new version which should now work. Download link is still as per the first post.
Regards

Daniel Webb
www.planetgriff.com
sasapuksic
Posts: 106
Joined: Tue Jan 03, 2006 11:43 am
Location: Maribor, Slovenia
Contact:

Post by sasapuksic »

Every now and then I get: ERROR: http Error, Status: 12031, Unknown
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post by Teknojnky »

I finally got around to actually installing the script and seems to work very nicely so far.

Great job and thanks for sharing your efforts!

One idea for future enhancement would be an option to specify the number of songs to queue...

Ie be able to queue 1-10 tracks etc.
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post by Teknojnky »

I get this error occasionally:

error #5 - microsoft jscript runtime error
invalid procedure call or argument
file ....\musicmagicdj.js line: 359 column 1
In this case it was file:

J:\Music\M\Madonna\Madonna - 2006 - Confessions & Remixes - 20 - I Love New York [Club Mix].mp3

A wild guess is the proble is the & or the [ ] brackets.
Post Reply