xMusic - some extra music stuff

Xlobby plugin development

Re: xMusic - some extra music stuff

Postby S Pittaway on Mon Nov 17, 2008 11:08 am

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
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: xMusic - some extra music stuff

Postby slaman on Mon Nov 17, 2008 3:36 pm

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?
slaman
 
Posts: 145
Joined: Sat Oct 14, 2006 10:30 pm

Re: xMusic - some extra music stuff

Postby S Pittaway on Tue Nov 18, 2008 11:19 am

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.
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: xMusic - some extra music stuff

Postby slaman on Thu Nov 20, 2008 4:57 am

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
slaman
 
Posts: 145
Joined: Sat Oct 14, 2006 10:30 pm

Re: xMusic - some extra music stuff

Postby S Pittaway on Fri Nov 21, 2008 3:17 pm

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?
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: xMusic - some extra music stuff

Postby slaman on Fri Nov 21, 2008 11:23 pm

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...
slaman
 
Posts: 145
Joined: Sat Oct 14, 2006 10:30 pm

Re: xMusic - some extra music stuff

Postby S Pittaway on Wed Nov 26, 2008 10:54 am

it works for me :)

i have your copy of winzip so all thats left is zips of your skin the xmusic plugin folder :)
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: xMusic - some extra music stuff

Postby slaman on Wed Nov 26, 2008 10:40 pm

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
slaman
 
Posts: 145
Joined: Sat Oct 14, 2006 10:30 pm

Re: xMusic - some extra music stuff

Postby S Pittaway on Thu Nov 27, 2008 1:35 pm

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.
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: xMusic - some extra music stuff

Postby slaman on Fri Nov 28, 2008 3:53 am

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? ;)
slaman
 
Posts: 145
Joined: Sat Oct 14, 2006 10:30 pm

Re: xMusic - some extra music stuff

Postby slaman on Fri Nov 28, 2008 3:57 am

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!
slaman
 
Posts: 145
Joined: Sat Oct 14, 2006 10:30 pm

Re: xMusic - some extra music stuff

Postby S Pittaway on Fri Nov 28, 2008 9:25 am

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.
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: xMusic - some extra music stuff

Postby slaman on Mon Dec 01, 2008 5:21 am

Good call - updated and it works!
slaman
 
Posts: 145
Joined: Sat Oct 14, 2006 10:30 pm

Re: xMusic - some extra music stuff

Postby slaman on Fri Jul 31, 2009 3:15 pm

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
slaman
 
Posts: 145
Joined: Sat Oct 14, 2006 10:30 pm

Re: xMusic - some extra music stuff

Postby slaman on Mon Aug 03, 2009 10:01 pm

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.
slaman
 
Posts: 145
Joined: Sat Oct 14, 2006 10:30 pm

PreviousNext