Page 7 of 8

Re: xMusic - some extra music stuff

PostPosted: Mon Nov 17, 2008 11:08 am
by S Pittaway
Check that you have told the plugin to use Milkdrop 2

Open up xMusic.ini and check that the correct class name is specified (for milkdrop 2 its MilkDrop2 :))

[Settings]
xxxx
xxxx
Milkdrop Class Name = MilkDrop2

Re: xMusic - some extra music stuff

PostPosted: Mon Nov 17, 2008 3:36 pm
by slaman
S Pittaway wrote:Check that you have told the plugin to use Milkdrop 2

Open up xMusic.ini and check that the correct class name is specified (for milkdrop 2 its MilkDrop2 :))

[Settings]
xxxx
xxxx
Milkdrop Class Name = MilkDrop2


Yes, I have tried both MilkDrop and MilkDrop2 under Class Name. The .ini file is supposed to be in the plugin directory right? Is it case-sensitive?

Re: xMusic - some extra music stuff

PostPosted: Tue Nov 18, 2008 11:19 am
by S Pittaway
What version of winAmp / milkdrop are you using?

the stuff in the event log is ok - nothing looks funny - it knows when the track has changed and tries to find it.

i guess it deoes not find the milkdrop window.

could you post another screeny showing what you are using, the one you posted has been garbled - png files are normally a good bet, if you cant get the forum to take it you could email it to sean . pittaway at dai . co . uk

if needed you could zip up the winamp folder and send me that - then i would know i am using the same settings as you.

i am quite busy at the moment, but i dont mind having a quick look.



Sean.

Re: xMusic - some extra music stuff

PostPosted: Thu Nov 20, 2008 4:57 am
by slaman
Thanks a lot for looking into this for me Sean, I've taken another screenshot for you here... hopefully you'll be able to read the text more clearly:

Image

You can download the compressed Winamp folder here: http://slaman.homeip.net/xlobby/Winamp.rar

Re: xMusic - some extra music stuff

PostPosted: Fri Nov 21, 2008 3:17 pm
by S Pittaway
your copy if winamp works fine for me. milkdrop 2 fires up and is locked to the correct bit of the screen on my skin.

the plugin looks for a control with an id of "xmusic.milkdrop.XXXX" where XXXX is the name of the screen, if it finds it it will size the milkdrop window to fit that control.

i guess you dont have a control with the right id present?

Re: xMusic - some extra music stuff

PostPosted: Fri Nov 21, 2008 11:23 pm
by slaman
S Pittaway wrote:your copy if winamp works fine for me. milkdrop 2 fires up and is locked to the correct bit of the screen on my skin.

the plugin looks for a control with an id of "xmusic.milkdrop.XXXX" where XXXX is the name of the screen, if it finds it it will size the milkdrop window to fit that control.

i guess you dont have a control with the right id present?


If you look at the above screenshot, those are the two skin properties. The first one shows that I have a normalrectangle with the id xmusic.milkdrop.visualization for the screen entitled visualization...

I'm also starting milkdrop using the event shown in the below box - milkdrop.start - it starts up, but it opens up with the frame/title bar and shows up behind Xlobby...

Re: xMusic - some extra music stuff

PostPosted: Wed Nov 26, 2008 10:54 am
by S Pittaway
it works for me :)

i have your copy of winzip so all thats left is zips of your skin the xmusic plugin folder :)

Re: xMusic - some extra music stuff

PostPosted: Wed Nov 26, 2008 10:40 pm
by slaman
S Pittaway wrote:it works for me :)

i have your copy of winzip so all thats left is zips of your skin the xmusic plugin folder :)


Alright!

Thanks Sean for looking into this for me!

Skin is here: http://slaman.homeip.net/xlobby/TJ%20Desktop%20-%20Black.rar
Zipped plugin folder is here: http://slaman.homeip.net/xlobby/xmusic.rar

Re: xMusic - some extra music stuff

PostPosted: Thu Nov 27, 2008 1:35 pm
by S Pittaway
in the plugin i simply use a built in xlobby variable called %screenname%, to see what screen we are on, i then use this to get the control id to size milkdrop to i.e.. ID = "xmusic.milkdrop." + GetVariable("%screenname%")...

if you use an overlay this variable does not change (try adding a text box set to "%screenname%), so no control is found and it does not size milkdrop.

Something else that causes problems is the plugin starting milkdrop before xlobby has actually changed screen yet.


Anyway, this worked, i created an event called start, un ticked the multithreaded box, and added the following events -

xlobby>goto screen>visualization
timer>wait>500
plugin>xMusic>milkdrop.start


i linked the vis button to this event and all was well.

if you really need to use an overlay there are ways round its so let me know.

Re: xMusic - some extra music stuff

PostPosted: Fri Nov 28, 2008 3:53 am
by slaman
Hi Pittaway,

Thanks for the responses. I actually don't use an overlay for the visualization screen, I use the goto command.

In any event, I tried using what you suggested, with the wait, but it still didn't work. Then I tried to put %screenname% in one of the text boxes, and it stayed as %screenname%! I think the issue may be that this xlobby variable that you're expecting isn't defined in my instance. Is this possible? If so, how do I get it back? ;)

Re: xMusic - some extra music stuff

PostPosted: Fri Nov 28, 2008 3:57 am
by slaman
slaman wrote:Hi Pittaway,

Thanks for the responses. I actually don't use an overlay for the visualization screen, I use the goto command.

In any event, I tried using what you suggested, with the wait, but it still didn't work. Then I tried to put %screenname% in one of the text boxes, and it stayed as %screenname%! I think the issue may be that this xlobby variable that you're expecting isn't defined in my instance. Is this possible? If so, how do I get it back? ;)


HAH! I just changed the id in my milkdrop control box from xmusic.milkdrop.visualization to xmusic.milkdrop.%screenname%

and it worked!

Re: xMusic - some extra music stuff

PostPosted: Fri Nov 28, 2008 9:25 am
by S Pittaway
i think you have an old version of free-lobby, screenname was added into the last build for the free version.

if you have a search, i think marbles hosts the last free release so you can grab it form there.

Re: xMusic - some extra music stuff

PostPosted: Mon Dec 01, 2008 5:21 am
by slaman
Good call - updated and it works!

Re: xMusic - some extra music stuff

PostPosted: Fri Jul 31, 2009 3:15 pm
by slaman
Hi S Pittaway... I had to reformat again and when I reinstalled everything, I couldn't get this working again!!!

This time, when I press the visualization button, milkdrop launches fine, but I lose focus of XLobby, so I can't stop the visualization by pressing a button... here's my error log:

Code: Select all
11:07:04 AM:083 STARTUP                        Plugin initialised
11:07:04 AM:093                                TimerStateDelay        =250
11:07:04 AM:093                                TimerTrackDelay        =500
11:07:04 AM:093                                AutoHideControls      = True
11:07:04 AM:093                                AutoPositionMilkdrop  = False
11:07:04 AM:093                                PlayPauseButtonPlay   = 4
11:07:04 AM:093                                PlayPauseButtonPause  = ;
11:07:04 AM:094                                CheckWinampPlayState  = True
11:07:04 AM:094                                AutoUpdatePlayedTimes = True
11:07:04 AM:094                                AutoUpdatePlayedTimes = 500
11:07:04 AM:350                UpdatePlayState Play state change to paused
11:07:04 AM:355 INI EVENT GROUP >              Runing Section 'On Play State Change'
11:07:04 AM:367 INI EVENT GROUP <              Finished
11:07:12 AM:243                   Track Change Track changed from '' To 'E:\Hip Hop\50_Cent_-_In_Da_Club-Remix_Promo_CDS-2003-SOL\01-50_cent_-_in_da_club_(datrooth_remix)-sol.mp3'
11:07:12 AM:245                FindPlayingSong Track # 1, Track=E:\Hip Hop\50_Cent_-_In_Da_Club-Remix_Promo_CDS-2003-SOL\01-50_cent_-_in_da_club_(datrooth_remix)-sol.mp3
11:07:12 AM:245                                Loading album
11:07:12 AM:245                                Small album, doing a full search on param
11:07:12 AM:249                                Track found
11:07:12 AM:249                                Auto updaing last played time
11:07:12 AM:259 INI EVENT GROUP >              Runing Section 'On Track Change'
11:07:12 AM:260 INI EVENT GROUP <              Finished
11:07:12 AM:413                UpdatePlayState Play state change to playing
11:07:12 AM:418 INI EVENT GROUP >              Runing Section 'On Play State Change'
11:07:12 AM:418 INI EVENT GROUP <              Finished
11:07:16 AM:182 EXECUTE >                      Command = milkdrop.start
11:07:16 AM:183                                Params[0] =
11:07:18 AM:677 EXECUTE <                      Command completed
11:07:23 AM:118 EXECUTE >                      Command = milkdrop.stop
11:07:23 AM:119                                Params[0] =
11:07:23 AM:620 EXECUTE <                      Command completed
11:07:46 AM:131 EXECUTE >                      Command = milkdrop.start
11:07:46 AM:131                                Params[0] =
11:07:46 AM:186 EXECUTE <                      Command completed
11:07:47 AM:417 EXECUTE >                      Command = milkdrop.stop
11:07:47 AM:417                                Params[0] =
11:07:47 AM:919 EXECUTE <                      Command completed
11:07:48 AM:968 EXECUTE >                      Command = milkdrop.start
11:07:48 AM:968                                Params[0] =
11:07:51 AM:373 EXECUTE <                      Command completed
11:07:57 AM:329 EXECUTE >                      Command = milkdrop.stop
11:07:57 AM:330                                Params[0] =
11:07:57 AM:831 EXECUTE <                      Command completed
11:08:33 AM:541 EXECUTE >                      Command = milkdrop.start
11:08:33 AM:541                                Params[0] =
11:08:33 AM:753 EXECUTE <                      Command completed
11:08:53 AM:215 EXECUTE >                      Command = milkdrop.stop
11:08:53 AM:216                                Params[0] =
11:08:53 AM:717 EXECUTE <                      Command completed
11:10:12 AM:725 EXECUTE >                      Command = milkdrop.start
11:10:12 AM:725                                Params[0] =
11:10:12 AM:977 EXECUTE <                      Command completed
11:11:09 AM:111 EXIT                           Plugin closed

Re: xMusic - some extra music stuff

PostPosted: Mon Aug 03, 2009 10:01 pm
by slaman
Grrrrrr... after HOURS of trying to figure this out, I realized that I had to uncheck start in fullscreen mode for Winamp. Everything works fine now.