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 »

ElGringo

Thanks for your input. I'll add them to the script if you can get them to me.
I'll pm you.
1. I have put in a average songs rating to the algorithm to respect when choosing a new song from MusicIP.
Great.
2. You did a modification to always pick the first song returned by MusicIP, instead of picking a random one. With that modification. each HTTPREquest to MusicIp with the Track A was always returning the same song at the first position, cause HTTPRequests caches the requests to be faster. so the same response is always returned. So i did a modification, so the requests is not cached, and its not always the same song returned.
I wondered about that. I thought it was because of the MusicIP settings I had were so conservative that each request generated the same suggestions but I like your explanation.
Excuse for my english is not perfect, don't hesitate if you don't understand.
No apology needed. I only speak english and some compiler languages...
Regards

Daniel Webb
www.planetgriff.com
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post by Teknojnky »

You could be right about the not accessable files, I recently moved some flac's of my ext drive cause I was running out of room (again =/ ).

Thanks for getting an update out!
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post by Teknojnky »

Occasionally still get this error:

error #-2146697211 - misxml3.dll
the system cannot locate the resource specified

musicmagicdj.js line 101 column 1

Code: Select all

Friday, November 24, 2006 5:05:50 PM: TRACE: ******************************************************************
Friday, November 24, 2006 5:05:50 PM: TRACE: Entered MusicMagicDJ
Friday, November 24, 2006 5:05:50 PM: TRACE: seed:, 10, style, 150
Friday, November 24, 2006 5:05:50 PM: TRACE: Creating mixURL
Friday, November 24, 2006 5:05:50 PM: TRACE:   adding seed song: I'm in Love (Ferry Corsten & Robert Smit remix) by Starparty
Friday, November 24, 2006 5:05:50 PM: TRACE:   adding seed song: Make the World Go Round (Deep Dish mix) by Sandy B
Friday, November 24, 2006 5:05:50 PM: TRACE:   adding seed song: Be Cool by Paffendorf
Friday, November 24, 2006 5:05:50 PM: TRACE:   adding seed song: What Drives the Weak (edit) by Shadows Fall
Friday, November 24, 2006 5:05:50 PM: TRACE:   adding seed song: Fall Apart by 1208
Friday, November 24, 2006 5:05:50 PM: TRACE:   adding seed song: Neuro '99 by X-Cabs
Friday, November 24, 2006 5:05:50 PM: TRACE:   adding seed song: Aftermath by Pro-Pain
Friday, November 24, 2006 5:05:50 PM: TRACE:   adding seed song: Sail On Sailor by The Beach Boys
Friday, November 24, 2006 5:05:50 PM: TRACE:   adding seed song: Synaesthesia (Fly Away) (feat. Sheryl Deane) (The Thrillseeker's club mix) by The Thrillseekers
Friday, November 24, 2006 5:05:50 PM: TRACE:   adding seed song: Crucified (Judas mix) by Army of Lovers
Friday, November 24, 2006 5:05:50 PM: TRACE:   mixURL:, http://localhost:10002/api/mix?size=20&rejectsize=20&style=150&song=J%3A%5CMusic%5CM%5CMinistry%20of%20Sound%5CMinistry%20of%20Sound%20-%202000%20-%20Ministry%20of%20Sound-%20Trance%20Nation%20Three%20%28Mixed%20by%20Ferry%20Corsten%29%20-%20106%20-%20Starparty%20-%20I%27m%20in%20Love%20%28Ferry%20Corsten%20%26%20Robert%20Smit%20remix%29.mp3&song=J%3A%5CMusic%5C_Techno%5C1999%20-%20Dave%20Pearce%20Presents-%2040%20Classic%20Dance%20Anthems%5CTechno%20-%201999%20-%20Dave%20Pearce%20Presents-%2040%20Classic%20Dance%20Anthems%20-%20203%20-%20Sandy%20B%20-%20Make%20the%20World%20Go%20Round%20%28Deep%20Dish%20mix%29.mp3&song=J%3A%5CMusic%5CM%5CMinistry%20of%20Sound%5CMinistry%20of%20Sound%20-%202002%20-%20Ministry%20of%20Sound-%20Trance%20Nation%202002%20-%20116%20-%20Paffendorf%20-%20Be%20Cool.mp3&song=J%3A%5CMusic%5C_Various%5C2005%20-%20Jagermeister%20Music%20Tour%5CVarious%20-%202005%20-%20Jagermeister%20Music%20Tour%20-%2008%20-%20Shadows%20Fall%20-%20What%20Drives%20the%20Weak%20%28edit%29.mp3&song=J%3A%5CMusic%5C_Various%5C2004%20-%20Warped%20Tour%202004%5CVarious%20-%202004%20-%20Warped%20Tour%202004%20-%20115%20-%201208%20-%20Fall%20Apart.mp3&song=J%3A%5CMusic%5CM%5CMinistry%20of%20Sound%5CMinistry%20of%20Sound%20-%201999%20-%20Ministry%20of%20Sound-%20Trance%20Nation%20%28Mixed%20by%20Ferry%20Corsten%29%20-%20114%20-%20X-Cabs%20-%20Neuro%20%2799.mp3&song=J%3A%5CMusic%5CP%5CPro-Pain%5CPro-Pain%20-%202004%20-%20Fistful%20of%20Hate%20-%2007%20-%20Aftermath.mp3&song=J%3A%5CMusic%5CB%5CThe%20Beach%20Boys%5CThe%20Beach%20Boys%20-%201973%20-%20Holland%20-%20Mt%20Vernon%20and%20Fairway%20%28A%20Fairy%20Tale%29%20-%2001%20-%20Sail%20On%20Sailor.mp3&song=J%3A%5CMusic%5CM%5CMinistry%20of%20Sound%5CMinistry%20of%20Sound%20-%202001%20-%20Ministry%20of%20Sound-%20Trance%20Nation%202001%20%28Mixed%20by%20Ferry%20Corsten%29%20-%20112%20-%20The%20Thrillseekers%20-%20Synaesthesia%20%28Fly%20Away%29%20%28feat.%20Sheryl%20Deane%29%20%28The%20Thrillseeker%27s%20club%20mix%29.mp3&song=J%3A%5CMusic%5CA%5CArmy%20of%20Lovers%5CArmy%20of%20Lovers%20-%20Crucified%20-%20Ride%20the%20Bullet%20-%2003%20-%20Crucified%20%28Judas%20mix%29.mp3
Friday, November 24, 2006 5:05:50 PM: TRACE:   Entering musicMagicResponseHandler, 1
Friday, November 24, 2006 5:05:50 PM: TRACE:   Entering musicMagicResponseHandler, 1
Friday, November 24, 2006 5:05:50 PM: TRACE:   Entering musicMagicResponseHandler, 4
Friday, November 24, 2006 5:05:50 PM: ERROR: http Error, Status: 122, Unknown
Friday, November 24, 2006 5:05:50 PM: Choosing random unplayed track
Friday, November 24, 2006 5:05:50 PM: TRACE: Choosing 2016 from 43722 random unplayed songs
Friday, November 24, 2006 5:05:50 PM: RandomUnplayed chose I Can Make You Go Oooh By Heavy D & The Boyz
Friday, November 24, 2006 5:10:49 PM: TRACE: ******************************************************************
Friday, November 24, 2006 5:10:49 PM: TRACE: Entered MusicMagicDJ
Friday, November 24, 2006 5:10:49 PM: TRACE: seed:, 10, style, 150
Friday, November 24, 2006 5:10:49 PM: TRACE: Creating mixURL
Friday, November 24, 2006 5:10:49 PM: TRACE:   adding seed song: I Can Make You Go Oooh by Heavy D & The Boyz
Friday, November 24, 2006 5:10:49 PM: TRACE:   adding seed song: I'm in Love (Ferry Corsten & Robert Smit remix) by Starparty
Friday, November 24, 2006 5:10:49 PM: TRACE:   adding seed song: Make the World Go Round (Deep Dish mix) by Sandy B
Friday, November 24, 2006 5:10:49 PM: TRACE:   adding seed song: Be Cool by Paffendorf
Friday, November 24, 2006 5:10:49 PM: TRACE:   adding seed song: What Drives the Weak (edit) by Shadows Fall
Friday, November 24, 2006 5:10:49 PM: TRACE:   adding seed song: Fall Apart by 1208
Friday, November 24, 2006 5:10:49 PM: TRACE:   adding seed song: Neuro '99 by X-Cabs
Friday, November 24, 2006 5:10:49 PM: TRACE:   adding seed song: Aftermath by Pro-Pain
Friday, November 24, 2006 5:10:49 PM: TRACE:   adding seed song: Sail On Sailor by The Beach Boys
Friday, November 24, 2006 5:10:49 PM: TRACE:   adding seed song: Synaesthesia (Fly Away) (feat. Sheryl Deane) (The Thrillseeker's club mix) by The Thrillseekers
Friday, November 24, 2006 5:10:49 PM: TRACE:   mixURL:, http://localhost:10002/api/mix?size=20&rejectsize=20&style=150&song=J%3A%5CMusic%5CH%5CHeavy%20D%20%26%20The%20Boyz%5CHeavy%20D%20%26%20The%20Boyz%20-%201991%20-%20Peaceful%20Journey%20-%2003%20-%20I%20Can%20Make%20You%20Go%20Oooh.mp3&song=J%3A%5CMusic%5CM%5CMinistry%20of%20Sound%5CMinistry%20of%20Sound%20-%202000%20-%20Ministry%20of%20Sound-%20Trance%20Nation%20Three%20%28Mixed%20by%20Ferry%20Corsten%29%20-%20106%20-%20Starparty%20-%20I%27m%20in%20Love%20%28Ferry%20Corsten%20%26%20Robert%20Smit%20remix%29.mp3&song=J%3A%5CMusic%5C_Techno%5C1999%20-%20Dave%20Pearce%20Presents-%2040%20Classic%20Dance%20Anthems%5CTechno%20-%201999%20-%20Dave%20Pearce%20Presents-%2040%20Classic%20Dance%20Anthems%20-%20203%20-%20Sandy%20B%20-%20Make%20the%20World%20Go%20Round%20%28Deep%20Dish%20mix%29.mp3&song=J%3A%5CMusic%5CM%5CMinistry%20of%20Sound%5CMinistry%20of%20Sound%20-%202002%20-%20Ministry%20of%20Sound-%20Trance%20Nation%202002%20-%20116%20-%20Paffendorf%20-%20Be%20Cool.mp3&song=J%3A%5CMusic%5C_Various%5C2005%20-%20Jagermeister%20Music%20Tour%5CVarious%20-%202005%20-%20Jagermeister%20Music%20Tour%20-%2008%20-%20Shadows%20Fall%20-%20What%20Drives%20the%20Weak%20%28edit%29.mp3&song=J%3A%5CMusic%5C_Various%5C2004%20-%20Warped%20Tour%202004%5CVarious%20-%202004%20-%20Warped%20Tour%202004%20-%20115%20-%201208%20-%20Fall%20Apart.mp3&song=J%3A%5CMusic%5CM%5CMinistry%20of%20Sound%5CMinistry%20of%20Sound%20-%201999%20-%20Ministry%20of%20Sound-%20Trance%20Nation%20%28Mixed%20by%20Ferry%20Corsten%29%20-%20114%20-%20X-Cabs%20-%20Neuro%20%2799.mp3&song=J%3A%5CMusic%5CP%5CPro-Pain%5CPro-Pain%20-%202004%20-%20Fistful%20of%20Hate%20-%2007%20-%20Aftermath.mp3&song=J%3A%5CMusic%5CB%5CThe%20Beach%20Boys%5CThe%20Beach%20Boys%20-%201973%20-%20Holland%20-%20Mt%20Vernon%20and%20Fairway%20%28A%20Fairy%20Tale%29%20-%2001%20-%20Sail%20On%20Sailor.mp3&song=J%3A%5CMusic%5CM%5CMinistry%20of%20Sound%5CMinistry%20of%20Sound%20-%202001%20-%20Ministry%20of%20Sound-%20Trance%20Nation%202001%20%28Mixed%20by%20Ferry%20Corsten%29%20-%20112%20-%20The%20Thrillseekers%20-%20Synaesthesia%20%28Fly%20Away%29%20%28feat.%20Sheryl%20Deane%29%20%28The%20Thrillseeker%27s%20club%20mix%29.mp3
Friday, November 24, 2006 5:10:49 PM: TRACE:   Entering musicMagicResponseHandler, 1
Friday, November 24, 2006 5:10:49 PM: TRACE:   Entering musicMagicResponseHandler, 1
Friday, November 24, 2006 5:10:49 PM: TRACE:   Entering musicMagicResponseHandler, 4
Friday, November 24, 2006 5:10:49 PM: ERROR: http Error, Status: 122, Unknown
Friday, November 24, 2006 5:10:49 PM: Choosing random unplayed track
Friday, November 24, 2006 5:10:49 PM: TRACE: Choosing 36627 from 43721 random unplayed songs
Friday, November 24, 2006 5:10:49 PM: RandomUnplayed chose Snappy Kakkie By ZZ Top

I suspect it may have something to do with non-ascii characters in the filename and/or path, but I can't really tell from the log.

(at home I should have no missing files)
DanielWebb
Posts: 32
Joined: Thu Sep 28, 2006 5:17 am

Post by DanielWebb »

MusicMagicDJ Version 1.8 released
(Download the script installer from the first entry of this thread.)

Teknojnky - Tracked down your error to this article: http://support.microsoft.com/kb/q208427/

I've modified the script to not add more tracks once the maximum length has been reached.

ElGringo - I've implemented the code you sent, thank for that. From what I understand, the MusicMagicDJ can be set to maintain the moving average of the Now Playing playlist at a minimum Rating level.

Eg: Set the Min Avg Rating value to 4
Add song1.mp3 - rating 5

MusicMagicDJ will pick a song with a rating >= 3 because (3+5)/2 = 4
MusicMagicDJ picks song2.mp3 - rating 4, moving avg = 4+5/2 = 4.5

And so on.

I think this is right.
Regards

Daniel Webb
www.planetgriff.com
Guest

Post by Guest »

I'm getting the error 12029 also. It looks to me like the service quits for some reason (so maybe a MusicIP issue). Anybody else have any clues about the 12029 error? It works for a while then quits.
dbinder wrote:I am getting the following 12029 error (from the log):

Friday, November 17, 2006 1:02:43 PM: TRACE: ******************************************************************
Friday, November 17, 2006 1:02:43 PM: TRACE: Entered MusicMagicDJ
Friday, November 17, 2006 1:02:43 PM: TRACE: seed:, 1, style, 100
Friday, November 17, 2006 1:02:43 PM: TRACE: MusicMagicDJ Disabled
Friday, November 17, 2006 1:03:42 PM: TRACE: ******************************************************************
Friday, November 17, 2006 1:03:42 PM: TRACE: Entered MusicMagicDJ
Friday, November 17, 2006 1:03:42 PM: TRACE: seed:, 1, style, 100
Friday, November 17, 2006 1:03:42 PM: TRACE: Creating mixURL
Friday, November 17, 2006 1:03:42 PM: TRACE: adding seed song: Vogue by Madonna
Friday, November 17, 2006 1:03:42 PM: TRACE: mixURL:, http://localhost:10002/api/mix?size=20& ... 0Vogue.mp3
Friday, November 17, 2006 1:03:42 PM: TRACE: Entering musicMagicResponseHandler, 1
Friday, November 17, 2006 1:03:42 PM: TRACE: Entering musicMagicResponseHandler, 1
Friday, November 17, 2006 1:03:43 PM: TRACE: Entering musicMagicResponseHandler, 4
Friday, November 17, 2006 1:03:43 PM: ERROR: http Error, Status: 12029, Unknown
Friday, November 17, 2006 1:03:43 PM: Choosing random unplayed track
Friday, November 17, 2006 1:03:43 PM: TRACE: Choosing 625 from 808 random unplayed songs
Friday, November 17, 2006 1:03:43 PM: RandomUnplayed chose Easier Said Than Done By The Essex

Any help would be appreciated, thank you.

-David
turls
Posts: 22
Joined: Fri Sep 08, 2006 3:25 am

Post by turls »

Wasn't logged in when I posted that last entry, sorry.
turls
Posts: 22
Joined: Fri Sep 08, 2006 3:25 am

Post by turls »

It looks so far like I have better luck running MusicIP as a server/service.

I don't think this has been mentioned in this thread but it is much cleaner. On MusicIP's forums it has been mentioned that the "headless" version of MusicIP is more reliable.

http://www.musicip.com/mixer/server.jsp

Don't forget to copy down the mmm.ini and edit. I just tried to synchronize the settings in the script and MusicIP as much as possible. . .I turned off everything but the API obviously.

I love this script!
loubob73
Posts: 24
Joined: Wed Feb 28, 2007 1:18 am
Location: Phoenix, AZ.

Can't stay connected to API services

Post by loubob73 »

This is a great script. The problem is that I keep getting disconnected from the API service. I am not the most technically literate person. If someone could give me some advice I'd appreciate it.

I go to preferences in the MusicIP mixer. Under services I select "API" and "Start".

Everthing works fine for a few songs, and then it disconnects and the script starts selecting random tracks.

I've tried selecting a different port, (I make sure to have the same port selected both in MusicIP Mixer and MagicMusicDJ) but that doesn't seem to help.

When I go to http://localhost/port# in internet explorer, I don't get anything in the browser window.

Any suggestions are appreciated.
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post by Teknojnky »

Its possibly a problem with the Mixer service getting shut down.

You might need to un-install/re-install the service.

More info @ Musicip.
loubob73
Posts: 24
Joined: Wed Feb 28, 2007 1:18 am
Location: Phoenix, AZ.

Thanks

Post by loubob73 »

Thanks for the response. I'll see what I can do.
Guest

Post by Guest »

Hi!

The guys at MusicIP have just released a standalone plugin of MusicIP which (suppossedly) works on Winamp. Since a lot of Winamp plugins work on MediaMonkey I downloaded and installed the plugin but, expectably, can't get it to work. The standalone plaugin sounds like a great idea (better than having a server/service running) so I wonder if some of you guys who have been tinkering with MusicIP and MediaMonkey for a while have any idea if this script could be adapted to work with the MusicIP standalone (winamp) plugin.

Any suggestions are welcome.

Thanks
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post by Teknojnky »

The MIP winamp plugin in is a ML (media library) plugin for winamp 5.x versions.

MM only supports winamp 2.x input/output/general/visualization plugins.

The MIP plugin won't work with MM.
phreaq
Posts: 4
Joined: Tue Jul 24, 2007 11:51 am

Lots of dup artists, now only 1 track at a time....

Post by phreaq »

Hey Hey,

I've been a long time MusicIP user (even before it was named that!) and I believe this plugin has made me switch media players from winamp to mediamonkey. Fantastic job! but..... ;)

All day yesterday I was hearing the same artists within a very small time frame. I believe I heard the Cure about 5 or 6 times out of 10 songs. As time went by, VAST became the populat artist, often playing one after the other.

Anyhow, today I have a new issue, only 1 track is being added to the playlist at a time, so I have the currently playing track, and one queued up, although I should have 5 tracks queued, as per my settings. Any thoughts?


Thanks in advance,
Last edited by phreaq on Wed Jul 25, 2007 9:48 am, edited 1 time in total.
phreaq
Has anyone seen my brain today (^_^)
www.phreaq.net
phreaq
Posts: 4
Joined: Tue Jul 24, 2007 11:51 am

Post by phreaq »

my bad!

It seems I unchecked the "Enable AutoDJ" button :-? duh, it works fine now.....

However, the duplicate artists is still occuring. I've changed a few parameters so we'll see how it goes.

As for the latest version (1.8 I think), does the "Restrict Artist" value override what I have set in MusicIP?
phreaq
Has anyone seen my brain today (^_^)
www.phreaq.net
Vyper
Posts: 845
Joined: Tue May 23, 2006 5:53 pm

Post by Vyper »

If you don't need that quote now could you take it out so the page isn't a mile wide? :)
Stop Button Freak
Post Reply