Announcement

Collapse
No announcement yet.

Winamp Scripting

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

  • nope as i've never been able to produce a crash on close with either the temp build i did or with any off the official builds.

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

    Comment


    • Any chance you can share you build, would love to test it thanks.

      Comment


      • Originally posted by Mitch72
        Yeah I know, that's what i've been doing. I'd just prefer to use autohotkey- specifically becuase I want to use more than one hotkey (i.e. Ctrl+Shift+W+L, with the two letters). Winamp won't let me do this, and I'd prefer to have 'em all in the same place. I know I'm overcomplicating things here, just something I was thinking about. Thanks for the suggestion though .
        I'd be interested in this as well. It'd be nice to be able to call these scripts from outside of Winamp. Right now I have half of my scripts in Winamp Hotkeys and the other half in AHK.

        If anyone figures out how to do this...

        Comment


        • Does anyone know how to use RunScript? It seems to work if I use the full path to the file "C:\Documents and Settings\X\Application Data\Winamp\Plugins\Scripts\playlist_z_Ratings_0_to_2.vbs", but if I just use the filename "playlist_z_Ratings_0_to_2.vbs" it doesn't.

          Also anyone know how to use any of these in a AW script?

          ScriptName = Wscript.ScriptFullName
          ScriptPath = WScript.Path

          Works fine in regular vbs, but not in ActiveWinamp.

          Comment


          • Changing tags and writing them to file ...

            I use ActiveWinamp successfully to edit the tags on a track, like title, album, artist etc. The changes however appear only to e made to the winamp database not written to the MP3 file itself.

            In Winamp when I edit tags (press CTRL+E with a track selected in the media library) there is a checkbox labelled "Update file tag(s) if supported". This is perennially checked on my winamp. It remembers it and I like it checked. I want my file metadata kept up to date.

            Is there a way with Active Winamp to cause the same effect, for the tags to be written to file, not just the media library?

            Comment


            • very very busted in Windows 7.
              Request: A little SmartView Query Language love.

              Comment


              • Solved

                I've disassembled the code and tracked the crash on close issue down to a missing CoInitialize() call in the CScriptManager destructor (CoCreateInstance() returned a - surprisingly - helpful error code). Recompiled with the attached patch applied and everything seems to work again.

                -Stefan
                Last edited by smk-ka; 12 January 2010, 16:15.

                Comment


                • Binary

                  The recompiled plugin.

                  -Stefan

                  Comment


                  • Thanks for the hard work smk-ka! What OS are you running? The DLL is still unregisterable in Windows 7. Any way you know to fix that?
                    Request: A little SmartView Query Language love.

                    Comment


                    • Sorry, I should have clearly stated which issue has been fixed: it's the crash on closing bug. I'm running XP. What do you exactly mean with "unregisterable"?

                      Comment


                      • gen_activewa.dll needs to be registered with Windows via the regsrv32 command in order to run. Windows 7 doesn't appear to allow this to happen.
                        Request: A little SmartView Query Language love.

                        Comment


                        • Did you try to elevate to Administrator privileges, as this page suggests? Otherwise the registry settings seem not to persist.

                          Comment


                          • Aha! Stupid of me to not think of it! Brilliant. You've done an amazing thing shaking some of the dust off of this plugin. So many thanks for that!

                            I'm also happy to report Winamp Party Shuffle now works again using vect's tweak (with the exception of song history due to DBIndex still being broken as mentioned by DrO here)

                            DrO: Is there any unique way to identify a song from the ML now (since that's what DBIndex was really) or have you looked into making DBIndex available again somehow like you mentioned?
                            Request: A little SmartView Query Language love.

                            Comment


                            • so, i din't find answer, topic is very long - is the scripting works in Winamp, and what it can do. Does it can work with medialybrary?

                              Comment


                              • Scripting works. It can interact with the media library. For some ideas on what it can do, see the contributed examples on shaneh's page:

                                http://www.myplugins********activewi.../examples:root

                                edit: censored for some reason... it's myplugins . info /
                                Last edited by osmosis; 24 January 2010, 18:56.
                                Request: A little SmartView Query Language love.

                                Comment

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