Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Plugins
➜ trying to make a plugin for mushclient to pull a song from winamp
trying to make a plugin for mushclient to pull a song from winamp
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Yungen2003
USA (34 posts) Bio
|
Date
| Fri 29 Sep 2006 09:41 PM (UTC) |
Message
| ok im trying to make a plugin that pulls the name of the song and artist im listening to and only send it to 1 open world whenever the song changes trillian has a plugin that does it
i want it to send to say my world that is open named alazair this
Afk Listening to: <Artist - Song> |
I belive a man should be judged by the quality of his work not the quality of his piss | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sun 01 Oct 2006 12:23 AM (UTC) |
Message
| I think Shadowfyr has been working on something like that, personally I don't know how to do it. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Shadowfyr
USA (1,790 posts) Bio
|
Date
| Reply #2 on Sun 01 Oct 2006 03:18 AM (UTC) |
Message
| My version used a plugin for WinAmp that it hard to find now (I am not even sure where to look). The *newer* plugin for Winamp was coded by someone using XP system calls, so won't run on older versions of Windows. Now, I had to, at the time, ask the plugin what the song name was every few seconds. Since we now have Lua, it should be possible to use the functionality of LuaCOM to make the plugin itself call your script when a song changes. However, I have yet to actually recode my own script to do this. There where issues with closing Winamp and/or Mushclient when the COM object used to do it was still active, and bigger problems, due to my not adding script for it, when doing a reload of the script while debugging, since the original copy of the COM link would remain live, but not connected to anything, while a new one was created. This would only get *worse* when using LuaCOM, since if the Winamp plugin wasn't released correctly, its attempt to call your script would crash, due to the location changing between script loads (at least assuming the object wasn't released right, which I suspect, due to the glitches I had when trying to use it). Since I haven't, after getting a new computer, even bothered to copy my music back from CDs to my new system, I haven't even tried to recode it.
Hmm. Not sure if I had the original on Magnum's site or not, but if so, then it won't matter much. Seems his sight is now redirecting to Myspace and the download page is gone. :( | Top |
|
Posted by
| Shadowfyr
USA (1,790 posts) Bio
|
Date
| Reply #3 on Sun 01 Oct 2006 08:36 PM (UTC) |
Message
| Note. The current Wimamp plugin for such control is here:
http://www.winamp.com/plugins/details.php?id=143299
Its possible this one is more official and therefor will work on any system with it installed. Its also possible it will only work with more recent versions. The relevant functions and events are listed in a .chm file that comes with the Winamp plugin. Since I have a new job, I haven't spent as much time as usual fiddling with Mushclient, so someone else will have to work out how to get it to work right. | Top |
|
Posted by
| 1of10
Canada (54 posts) Bio
|
Date
| Reply #4 on Wed 04 Oct 2006 03:22 AM (UTC) |
Message
| I wrote a PerlScript plug-in to handle this exact ability (not the COM interface), compatible with both NUTS-based talkers and, hopefully, nearly all variations of MU*'s.
Reference: http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4058
Some important notes, though:
- The URL shown in the thread above is out of order! E-mail me at OneOfTen@gmail.com if you want a copy of my plug-in and I'll ZIP a copy of it and the sparse documentation.
- The plug-in was written to read and interpret the output of an old, possibly no longer available, WinAMP plug-in: doSomething. Earlier versions used an even more rare WinAMP plug-in that I cannot remember the name of ATM.
- The WinAMP plug-in had to write the ID3 info to a text file on every track change and, as of the version I last worked with back in '04, had a couple of update bugs.
- My MUSHclient plug-in includes code for a vast range of customization via world variables. However, not all of it worked, due to variations in the way it interpreted the ID3 tag info -- WinAMP title formatting possibilities -- and the lack of output that I would have liked to get from WinAMP -- limitations of the WinAMP plug-ins I found.
|
One of Ten
Secondary Adjunct of Unimatrix Z03 | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
23,598 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top