Announcement

Collapse
No announcement yet.

My new plugin: AjaxAMP Network Control

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

    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
    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

    Comment


    • #3
      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...

      Drag 'n Drop support for the Playlist Editor - Now with Unicode support!
      Dynamic Library v2.0

      Comment


      • #4
        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

        Comment


        • #5
          Re: Id' like to fix that

          Originally posted by WoundedLion
          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
          I run Windows XP with SP2. It is not noticeable outside of the debugger tho...but I get a lot of these first-chance access violation first...A LOT of those...and then a nasty crash. But only in debugger..

          Drag 'n Drop support for the Playlist Editor - Now with Unicode support!
          Dynamic Library v2.0

          Comment


          • #6
            Interesting

            Interesting. I will dig into it when I get home. Thanks for the heads up.

            -WoundedLion

            Comment


            • #7
              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!

              Comment


              • #8
                Btw, the "currentsonginfo.xml" needs xml encoding or cdata (like "consolestatus.xml").

                Comment


                • #9
                  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.

                  Comment


                  • #10
                    damn attachment...
                    Attached Files

                    Comment


                    • #11
                      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

                      Comment


                      • #12
                        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

                        Comment


                        • #13
                          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!

                          Comment


                          • #14
                            Originally Posted by ylaviolette View Post
                            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!

                            don't count on it

                            this user was last active on the forum in 2007 .
                            never been back since.
                            latest version of Winamp
                            DSP Plug V2.41
                            Language Packs

                            Comment


                            • #15
                              Didn't have much hope Still using the plugin to interface with Android; I had built a macro a while back to automate the database reindexing but the underlying macro/software is no longer supported (Promixis Girder). was looking for a simple workaround to trigger the reindexing. Guess I'll start over with AutoIT. Cheers,

                              Comment

                              Working...
                              X
                              😀
                              🥰
                              🤢
                              😎
                              😡
                              👍
                              👎