/
 
/forum/
 
/me/
 about/
cv/
 
/projects/
gloom/
bitchbot/
R1CHboard/
fR1x/
 
/coding/
perl/
php/
 
/misc/
terragen/
netguide/
 
/q2/
jump/
bang/
stare/
bunny/
neurotic/
 
/old/
tacc/
ra/
c&c/
descent/
 
/stuff/
r1q2/
 
/img-formats/
 
/settings/
Welcome to r1ch.net

[107.21.186.38@r1ch.net /stuff/r1dll/]$

r1dll - mIRC DLL for Winamp and Foobar2k Song Reporting

About

r1dll is a small (5kb) DLL file for mIRC that queries Winamp 2.x, Winamp 5.x or foobar2000* for information about the currently playing song. r1dll also provides some additional functions that some people may/may not find useful.

*foobar2000 support relies on the "foo_winamp_spam.dll" component. Please visit my foobar2000 page for more information and downloads.

Usage

Download and place the .dll file in your mIRC directory. Read the r1dll.txt file for a sample alias that you can paste into your mIRC aliases section. The sample will report the current title and stats when typing /spam, eg: * Jonny is playing Korn - Thoughtless (MP3@320kbps, 10.42mb, 0:03/4:33).

All functions in the DLL are accessed by $dll identifier, eg $dll(r1dll.dll, GetCurrentApplication, 0). The DLL is only loaded per call, it does not remain resident in memory.

Features (exported functions)

  • GetCurrentApplication - Returns the title of the currently active window.
  • GetCurrentWinampSong - Returns the title of the currently playing song.
  • GetCurrentWinampSongChannels - Returns the number of channels of the current song (eg 2 = stero, 1 = mono).
  • GetCurrentWinampSongElapsedTime - Returns the number of seconds the current song has been playing.
  • GetCurrentWinampSongFileName - Return the full path to the currently playing file.
  • GetCurrentWinampSongKHz - Return the sample rate of the current song.
  • GetCurrentWinampSongKbps - Return the current bitrate of the song.
  • GetCurrentWinampSongTotalTime - Returns the total number of seconds of the current song.
  • IsWorkstationLocked - Returns 1 if the workstation is currently locked (NT/2k/XP only).

Download

r1dll-0.4.zip (3.2kb). Version 0.4, 10/02/2003.

Valid XHTML 1.0!
Best viewed with a fully XHTML 1.0 / CSS2 compliant browser. View r1ch.net privacy statement. Please note that using certain types of download "accelerator" utilities that open more than one connection may result in your IP being blocked.
r1hosting.com