23 SEPTEMBER 2006
- WINAMP MEDIA -
VERSION 1.4
Heaps of credit to -dt- who created the Winamp object (in his "Music now playing") and the "setNowPlaying" function!
This is not the most original script, but I myself find it very useful. It adds support for the "What I'm Listening To" for Winamp (tested for 5.24). I'm aware that there are many plugins and patches that can already do this, but none of them function the way I require. This script does not require any plugin in Winamp.
Features:
- Winamp support for "What I'm Listening To"
- Internet radio support for "What I'm Listening To" (with a filter ¹)
- "ninemsn digital music downloads" support for when link is clicked
- Reversable media message (Title - Artist or Artist - Title)
- Customisable media message (with title, artist, album and year)
- Status options for when to display the message (playing, paused and/or stopped)
- Priority options for compatibility with other media changing scripts ²
- File extension filter (useful to disable message when video is playing)
- Configuration window for ease of use (hover your mouse over the options to get help on how to use them)
¹ Filter can be edited in the script; the filter currently removes urls, connection data (like "[ICY 200 OK]"), bracketed words (radio station) and "requested by ___" (for my own needs
)
² None priority is identical to Windows Media Player (changes one time when media is changed); low priority changes only when no other media is present; medium priority (default) changes when other media is present, but not when the Winamp song is blank; high priority changes when other media is present, even if Winamp song is blank
This script is quite complex. First of all, it takes the information from the ID3 tag. If the ID3 tag does not exist (internet radio, midi files) or is blank (untitled music), it will take information from the string given directly by Winamp.
If even after that, there is no title or artist, it will replace it with "Unknown Title", etc. These "unknown" strings can be changed inside the script (Settings.js). The separator (default is " - ") can also be changed there.
The priority option simply ensures that there is no big clash between other scripts, such as AppMon+ or Countdown Live.
Currently, I don't know how to make it support Asian characters, however it can support accented characters, etc. (if Winamp can display it, then so can the script). Also, I don't know how to make it not display when video is played. Any help in these areas would be good.
Feel free to ask questions on how to use it (it's not that hard to understand
) and post some comments and feedback.
Update Version 1.4 - updated meta info functions to -dt-'s latest "Music now playing"; included custom tags for track number and genre; fixed a "low priority" bug
Update Version 1.3 - added custom separator (default is " - "); added custom "unknown" words (for when WM is unable to retrieve song details); changed configuration window layout; fixed priority code (bug free, but a little slow with updating, though this won't make a difference as your contacts receive the message slow as well)
Update Version 1.2 - added file extension filter (to disable video), fixed up priority slightly (still a bit buggy), fixed up configuration window
Update Version 1.1 - added "none" priority, configurable refresh delay, preview in configuration window!
Update Version 1.03 - changed format tags to avoid confusion and be identical to WMP (use {0}, {1}, {2} and {3} instead), makes event log look neater as if running from WMP; increased check delay to reduce lag
; optimised code slightly
Update Version 1.01 - minor bug fix (still works without it); added more internet radio filters