Announcement

Collapse
No announcement yet.

Winamp Scripting

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

  • Winamp Party Shuffle 3.3
    • Fixed song history for Winamp 5.55+ (changed from ML DBIndex- to filename-based).
    • Removed now-redundant ML change checking code.
    • Minor cosmetic changes.
    Should have thought of this before now but without DBIndex being available, it doesn't get much more unique than filenames. Long story short, song history should work again and all is right in the world.

    The AW wiki has been broken for a while, locking all the wiki docs from changes so the new version is attached below.

    Cheers!

    Rename attachment from *.txt to playlist_Party Shuffle.vbs and place in the AW Scripts directory.
    Last edited by osmosis; 24 January 2010, 18:59.
    Request: A little SmartView Query Language love.

    Comment


    • Re: Winamp Party Shuffle 3.3

      Originally posted by osmosis
      Should have thought of this before now but without DBIndex being available, it doesn't get much more unique than filenames.
      you're not the only one as i'd been struggling to get a hold of the original code which implemented the dbindex code. good to see things are working ok again for you.

      -daz
      WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

      Comment


      • Thanks for digging around for me. Filenames seem to be a viable alternative thus far, and without the problems related to the ML DB changing. Only thing that could be an issue is some odd character in a filename screwing up the history list. Haven't tested very extensively on that front, just the basics like commas, etc. Unicode characters like arabic seem to make it revert to short filenames so that should be fine too.

        Hopefully now that we have a working .dll and a work-around for DBIndex, things stay working for a while.
        Request: A little SmartView Query Language love.

        Comment


        • Originally posted by osmosis
          make it revert to short file names so that should be fine too
          aye, that should be safe as the short file name is meant to be unique and if you're using the complete file path then there shouldn't be a collision with things so i can't see much chance of an issue arising from it.

          only issue i can see now with the plug-in is that it's not 5.34+ compatible in that it'll cause the taskbar to show ??? for unicode media -> details here though would probably need modified source from smk-ka so an overall update patch can be issued against the last lot of code available for the plug-in and i guess correctly version a newer dll (as i'm doubting we'll see a direct shaneh update).

          -daz
          WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

          Comment


          • Re: Binary

            Originally posted by smk-ka
            The recompiled plugin.

            -Stefan
            awesome dude.. that crash on exit has bothered me for like a year. thanks!

            Comment


            • Script for playlist pause / stop

              Is there a script that lets you rightclick on a file in the playlist and set a pause or stop playing point, something like the "stop after current", but can be set on any future song. I have looked for a plugin that does it but can't find one, so wonderd if there was a script under AW that would do it?

              Comment


              • Re: Binary

                Originally posted by smk-ka
                The recompiled plugin.

                -Stefan


                thx a lot stefan!
                i thought this wouldn't be fixed anymore.
                now my winamp is complete again.

                Comment


                • Originally posted by DrO
                  though would probably need modified source from smk-ka so an overall update patch can be issued against the last lot of code available for the plug-in
                  Hm, you actually only need to check out the source code from CVS (http://sourceforge.net/projects/activewinamp/develop) and apply my patch from above (http://forums.winamp.com/showthread.php?postid=2616942#post2616942, which is a one-liner). Or is there anything else you need?

                  Comment


                  • as i've none of the stuff installed for sorting out cvs/patches i'd hoped it'd be easier for you to make the required change on the SetWindowLong part (as detailed in the post) especially as your compile seems to work ok for everyone else. if not i'll have to find the time to install things to do it (had hoped for the easier option of someone else doing the work for a change, heh).

                    -daz
                    WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

                    Comment


                    • Script Executes Twice

                      When I select items in the Media Library and select a script
                      from the "Send To" menu, it executes twice, concurrently.

                      Any thoughts on how to prevent this and/or why it happens?

                      The same script runs normally (once) from the "Scripts" menu
                      available in the Playlist Editor and also if I right click the track
                      in the Winamp now playing area and select the script from that "Send To" menu.

                      This trivial vbs script illustrates the problem on my machine:
                      x = GetSendToItems
                      for each track in x
                      msgbox track.filename
                      next
                      quit

                      Two message boxes appear, one on top of the other, for each selected item.
                      This script is unimportant but the structure it uses is common in other
                      useful scripts. They also execute twice.

                      What really puzzles me is that 2 executions occur from the Media Library "Send To" menu,
                      but only one occurs from the now playing "Send To" menu.
                      Maybe it has something to do with the GetSendToItems function or the send_to structure.
                      I'm not a programmer/developer so I can't investigate code.

                      I welcome any comments, solutions or insights.
                      I'm using Windows Vista SP2, Winamp 5.572 with Bento Skin, gen_activewa.dll as provided by smk-ka (in this thread)
                      Windows 10 Home, 64 bit, Winamp 5.666, Bento Skin

                      Comment


                      • Does it show in ActiveWinamp's Plugin Config window as running twice (ie. is the script shown twice in the status)?
                        Request: A little SmartView Query Language love.

                        Comment


                        • re; Script Executes Twice

                          Thanks for the speedy reply.

                          Yes, the script is listed (filename only) twice in the "Running Scripts" area of the Script Control window when using the menu in the Media Library. However, it is listed only once when using the menu that is displayed after right clicking the track in the now playing area.

                          Also, if I run the script from the configuration window (ie. click "Run Script) it always runs once, but operates on the last selection that was chosen when running the script from either Send To menu, not on any subsequent selection made just before. And the full path to the script is shown, not just the filename.
                          Windows 10 Home, 64 bit, Winamp 5.666, Bento Skin

                          Comment


                          • Intruiging bug. Unfortunately there's still not a lot of action around here. DrO and I'm sure more than a few others are hoping Stefan might polish up AW a bit but who knows.

                            Feel free to fire him off a private message with your bug info since I'm not sure how often he checks this thread.
                            Request: A little SmartView Query Language love.

                            Comment


                            • re: Script Executes Twice

                              I did as you suggested. I hope Stefan (or somebody) is working on refining ActiveWinamp. It is an exceptionally useful and powerful plugin.

                              Bye for now,
                              Jim
                              Windows 10 Home, 64 bit, Winamp 5.666, Bento Skin

                              Comment


                              • Can anybody please reupload the latest gen_activewa.dll?

                                Thanks in advance!
                                stego

                                Comment

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