![]() |
#1 |
Junior Member
Join Date: Sep 2005
Location: Oakland,CA
Posts: 19
|
My new plugin: AjaxAMP Network Control
Just finished my first plugin. I'd appreciate any comments or suggestions.
It basically allows you to control Winamp from any web browser. Not the first of this type of plugin, but I think the most complete and unique in the way the interface is done. It runs as a lightweight web server inside Winamp and uses the XmlHttpRequest object (AJAX) to handle communication between the client's web browser and the server. This version imitates the Winamp Modern skin. I am most interested in adding full skinning support, whereby the web interface would reflect whatever skin is currently in use on the server, but I'm struggling with a way to ask Winamp for the main player console bitmap and associated button coordinates. Does the API provide any such facility? You can find the plugin .dll here. http://mp3whore.mine.nu/gen_AjaxAMP.dll Just drop it in the Plugins folder, start Winamp, and point a web browser to the computer's IP address at port 5151 e.g. http://127.0.0.1:5151 Let me know what you think. -WoundedLion |
![]() |
![]() |
![]() |
#2 |
Nullsoft Newbie
(Moderator) Join Date: Mar 2001
Location: Sheffield, England
Posts: 5,569
|
Wow!
Thats fucking awesome. What a great idea ![]() If you added support for the media library it would be even better DO NOT PM ME WITH TECH SUPPORT QUESTIONS |
![]() |
![]() |
![]() |
#3 |
Forum King
Join Date: Mar 2004
Location: Sweden
Posts: 2,263
|
I agree. Really cool plugin. But there seems to be some faulty code on shutdown...when I debugged DL gen_AjaxAMP.dll caused a lot (like 50-100) access violations...
|
![]() |
![]() |
![]() |
#4 |
Junior Member
Join Date: Sep 2005
Location: Oakland,CA
Posts: 19
|
Id' like to fix that
Thanks for the comments.
I would definitely like to eradicate any bugs. What OS are you running? I haven't noticed any crashes, but I've only tested on winXP and win2000. It happens every time you close winamp? Much appreciated, WoundedLion |
![]() |
![]() |
![]() |
#5 | |
Forum King
Join Date: Mar 2004
Location: Sweden
Posts: 2,263
|
Re: Id' like to fix that
Quote:
|
|
![]() |
![]() |
![]() |
#6 |
Junior Member
Join Date: Sep 2005
Location: Oakland,CA
Posts: 19
|
Interesting
Interesting. I will dig into it when I get home. Thanks for the heads up.
-WoundedLion |
![]() |
![]() |
![]() |
#7 |
Junior Member
Join Date: Sep 2005
Posts: 2
|
Hi WoundedLion,
Very VERY cool! I digd into the ”api” and found the ”playfile” command which works perfectly (and “playplaylist” – haven’t tested), but already now i have a suggestion: How about a “playdirectory” command? Please? Yes? Smiley face etc. ![]() And maybe a “has play list changed”.. Thou "getplaylistlength” != last play list length is ok. Oh oh, and maybe a short “playlist.xml” version like “playlist.xml?crop=10” that will get 10 trakcs before and after the current “getplaylistpos”. Btw, ”setplaylistpos” needs a ”play” after call, or else winamp will shift track, status etc. but keep playing the “old” track (strange). But work with immediate “play” command after. Thanks! |
![]() |
![]() |
![]() |
#8 |
Junior Member
Join Date: Sep 2005
Posts: 2
|
Btw, the "currentsonginfo.xml" needs xml encoding or cdata (like "consolestatus.xml").
|
![]() |
![]() |
![]() |
#9 |
Forum King, M.D.
|
hey, i got your email. im using latest beta of ff. i attached a pic with ff build and bug.
winamp 5.1 nvidia gfx pent 4 2.4ghz 1g ram Ive got a few extensions installed, in general do you think any of them could be the cause...I can attach a list if you desire. and just to check the bug is not in ie. and i cant get it to work at all in opera. |
![]() |
![]() |
![]() |
#10 |
Forum King, M.D.
|
damn attachment...
|
![]() |
![]() |
![]() |
#11 |
Junior Member
Join Date: Sep 2005
Location: Oakland,CA
Posts: 19
|
FF Beta draw bug
Perhaps it's something about the beta. I use 1.0.7 final and have no problems. I'll d/l the beta and test. In any case, it's easily fixed by some simple CSS (scrolling:none). I'll definitely add that into the next release. Thanks for the help!
-WoundedLion |
![]() |
![]() |
![]() |
#12 |
Junior Member
Join Date: Sep 2005
Location: Oakland,CA
Posts: 19
|
Caledonia
In the next release, I will uncover more of those "hidden" API calls. There are a bunch of them in the plugin that have no actual use in the current interface. I will probably remove currentsonginfo.xml altogether since it's kindof redundant when you have consolestatus.xml.
Good snooping! I should really document all of the supported calls! -WoundedLion |
![]() |
![]() |
![]() |
#13 |
Member
Join Date: Sep 2004
Posts: 52
|
Hey there Wounded Lion, can you let us know if you are still around ? Ive been using Ajaxamp for a while and had a question or 2, let us know, thx!
|
![]() |
![]() |
![]() |
#14 | |
FRISIAN
Join Date: Sep 2003
Location: in a house
Posts: 16,469
|
Quote:
don't count on it this user was last active on the forum in 2007 . never been back since. |
|
![]() |
![]() |
![]() |
#15 |
Member
Join Date: Sep 2004
Posts: 52
|
Didn't have much hope
![]() |
![]() |
![]() |
![]() |
#16 |
Junior Member
Join Date: Jun 2013
Posts: 4
|
There was a time I was in contact with the developer via email. He stopped responding to me years ago. I hope he's ok, kinda odd to just walk away from your own creation, especially when people still like it find it useful.
|
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|