Announcement

Collapse
No announcement yet.

Winamp Scripting

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

  • The safety limit is part of the script in question (just a counter inside the track choosing loop) and somehow the track choosing part of the script doesn't work with 5.55. The fact that it's hitting the limit means that none of the tracks it comes across are meeting its criteria to be added to the playlist which most likely means that it's a problem with the way ActiveWinamp grabs the ratings from the ML (ie. it can't). That's just a wild guess though, I haven't looked into it yet.
    Request: A little SmartView Query Language love.

    Comment


    • k, if you can look into it a bit more and reply back then that'd be appreciated since i'm not sure at the moment what might have caused a change but knowing what is broken on the script side may help to track things back through.

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

      Comment


      • Well I haven't had time to get into mucking around with the scripts yet but I get a nasty error every time I close Winamp. It started with 5.55 beta 1 and still happens with beta 2 and only occurs when gen_activewa.dll is in place. Winamp settings still save on close as per usual, just the error every time. Perhaps related?

        Error as follows, always the same:
        Request: A little SmartView Query Language love.

        Comment


        • Just tried 5.55 Build 2353 with my shuffle script.
          All the tracks return the same DbIndex(http://www.myplugins.info/activewina...tem_properties) of 0 - the script uses this to identify the track so it goes "hey I've played that track before" when it hasn't.


          A temporary but not ideal fix would be to disable the track-repeatition checking by removing "and (not arraycontains(songHistory, tracks(randsong).DBindex))".

          Comment


          • i'm going to try and see if i can track down the issue (on the winamp side) over the next few days and i'm hoping vect's info gives me a bit more to work against.

            as for the crash on close, i'm not 100% on what would/could cause that as i'm not aware of any on-exit changes other than the removing of the need of plugins on 5.5x+ to not have to unsubclass since they're kept loaded after the main winamp window is destroyed.

            also whilst i remember, what version of the plugin are you using? just to make sure i test against the correct one (i remember the source was made available but from a quick look in cvs, i'm not 100% sure if what is there is the same as what was provided as the last compiled version of the plugin).

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

            Comment


            • I'm using the latest CVS version. Thanks for all the effort Daz.
              Request: A little SmartView Query Language love.

              Comment


              • Here's a proper crasher report from my end. Thanks again Daz.
                Attached Files
                Request: A little SmartView Query Language love.

                Comment


                • i've done some brief testing and it's not been crashing for me on close though i can repro the limiter issue (so that's something). i did get a crash when trying to run a script without the plugin having been registered first so need to track that down as well.

                  one thing that concerns me is the version i've built is a lot smaller than the one i took from cvs (when built against the cvs code) but the few scripts i tried seem to working ok so i dunno what that is all about, heh.

                  i'll pm you a test build to try out shortly (~ a day or so) so we can start testing things out a bit more once i've had a proper look at things (especially the close handling)

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

                  Comment


                  • Hmm.. weird that the crash on close doesn't occur for you with the CVS dll. I look forward to trying your test build.
                    Request: A little SmartView Query Language love.

                    Comment


                    • hi there!

                      just wanted to let you know that i get the same error like osmosis (only difference is the offset: mine is 0x01315255 and yes, i registered the dll after updating to 5.55).

                      I'm using the "latest" cvs version and a quite stripped down winamp (classic skin, no enconding/video stuff, everything removed that's not necessary for me).

                      only non-official plugins are: in_mpc.dll and gen_classicart.dll (beside activewinamp of course :P)

                      if i move these out of the plugin-folder, the error still exists but offset changes to 0x012b5255

                      maybe this helps to fix the problem.

                      anyway...5.55 is great! best thing is the new playcount-stuff!




                      Originally posted by osmosis
                      Well I haven't had time to get into mucking around with the scripts yet but I get a nasty error every time I close Winamp. It started with 5.55 beta 1 and still happens with beta 2 and only occurs when gen_activewa.dll is in place. Winamp settings still save on close as per usual, just the error every time. Perhaps related?

                      Error as follows, always the same:
                      [Image]

                      Comment


                      • DrO, osmosis, any news from your testing?
                        I have a question about your build from the cvs: Do you use the new (5.32) version of the plugin development kit or the older one? I am not sure, maybe building with the new kit requires substantial changes in the source. I would like to know if there is any chance that someone here will maintain - and I really only mean "maintain" - the ActiveWinamp plugin. As far as I have read, it should be possible for ActiveWinamp to also support files and media items with unicode characters, if it were possible to build the plugin with the new development kit. Is that information right anyways?

                        I just think that AW is such a great plugin and it would be incredibly sad if it died. So if someone could maintain the package, it would be beneficial for many people using the plugin. At this point I should probably also mention that I have been developing a client for last.fm that is based on AW (available at http://awaas.sourceforge.com ). Currently there are more than 30 downloads per day and in some parts of the program I am limited by 2-3 bugs in ActiveWinamp. Naturally, I'd be more than willing to help fix these! Unfortunately my experience with building Winamp plugins is practically nonexistent. However, if someone could take over the building and maintenance of the project, together we could probably fix lots of stuff and ensure that AW will stay "operational".

                        Let's hope we can revive ActiveWinamp! (and of course fix the issues with 5.55 betas along the way)

                        Florian

                        Comment


                        • Great to see more people interested in this plugin's continued development/maintenance. Here's the latest:
                          Originally posted by DrO
                          the code for it is stuck on my dev machine that i've got to re-build still so will send you something when that's back up (have to get it rebuilt sooner as it's hindering me in a few areas now though the coding break has been nice, heh)

                          -daz
                          Request: A little SmartView Query Language love.

                          Comment


                          • VBscript basic commands.

                            I tried hunting everywhere but seem to be missing basic documentation for the active Winamp plugin.

                            My goal is to control 2 instances of Winamp through vbscript.

                            Can someone point me to a sample script or documention for basic controls like play,stop,pause,next,previous maybe even remove a song from the playlist for the plugin using vbscript ?

                            Unless I am barking up the wrong tree.

                            Thanks
                            StevenE

                            Comment


                            • Originally posted by Flo_La
                              any news from your testing?
                              have finally gotten the time to look into things and alas i'm not too sure what can be done since the party script was making a lot of use of .DBindex but going on the code i've in front off me the accessing of the extended info item 'DBIDX' (which DBindex gets) was dropped - i think it was done in some of the database improvements made for 5.55 but i can't verify that is the exact reason at the moment. that's the only thing i can find that would correspond with the 'fail' happening between the 5.55x and previous installs.

                              so somehow, someone is going to need to adjust the script to not require the use of .DBindex or i'll try and see if i can replicate what was being done (but i first need to make sure the files that will allow that are public/can be made available if not already).

                              as a work around i found changing and (not arraycontains(songHistory, tracks(randsong).DBindex)) and keep)_ to and keep)_ at least seems to keep things functioning ok though obviously that's not an ideal situation if you're trying to prevent recent playback of an already played track.

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

                              Comment


                              • Any progress on the closer crasher?

                                Comment

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