View Single Post
Old 08-25-04, 09:51 AM   #1
2~pacalypse
Light Weight
 
2~pacalypse's Avatar
 
Posts: 221
Winamp Status In Your Sig!, Show wich song your playing (v2.0 n 5.0)

IP:

OK this tutorial will explain how to get the current song in your signature.

First of all;
What do you need
- Server wich supports PHP
- Know how to CHMODD files and folders
- Winamp 2.0 or 5.0
- Some graphics skills smile.gif

Let's go;
Step 1
Download the "Luke's info Sender" plugin here: http://www.neuro-tech.net/InfoSender-1.1.zip

Step 2
Unpack the .dll file in the archive to c:\winampdir\plugins\

Step 3
Run winamp and click Options > Preferences
Now find "Plugins" and click "General Purpose" now there should be a plugin called "Luke's Info Sender". If so - Allright folow to step 4!

Step 4
Create a new directory on you host called "winampsig"
Upload these 2 files to it:

--- File 1:http://sat-gsm.dyndns.org/winampsig/sig.jpg
----- File 1
--- File 2 - Create a new document in Notepad with this text:

<?php
// ----------------------------------------
// Winamp Update By Niels van Renselaar
// Speciaal voor webscripters.nl
// ----------------------------------------
function inkort($txt, $length) { if(strlen($txt) > $length) { $txt = substr($txt, 0, $length)."..."; } return $txt; }

$content = $_GET[song];
if($content) {
$liedje = stripslashes(inkort($content, 30));
header("Content-type: image/JPEG");
$plaatje = ImageCreateFromJPEG("/path/to/sig/or/direct/url/sig.jpg");
$white = Imagecolorallocate($plaatje, 255, 255, 255);
$zwart = ImageColorAllocate($plaatje, 0, 0, 0);
imagestring($plaatje, 3, 70, 6, $liedje, $zwart);
ImageJPEG($plaatje, "winamp.jpeg", 100);
ImageDestroy($plaatje);
}

And save it as index.php (don't forget to change the red part!!!)

Step 5
Now CHMODD all files in /winampsig/ to 777 (rwxrwxrwx) and also CHMODD the directoty itself to 777.

Step 6
Now run winamp again and go to the Plugins part.
Double Click the "Luke's Info Sender" and you'll get a popup to configurate the plugin.

In the URL bar this URL should be typed: http://www.yourhost.com/winampsig/index.php?song=
And make sure you've clicked near "Enabled" to enable the plugin.

Step 7
Close the Options panel of Winamp and play a song.
After a while, goto:
http://www.yourhost.com/winampsig/winamp.jpeg

This file should be created including your Songname!
__________________
Lyrical Virus Has Yall Ni99as In
Check

Crip 4 Life NiGgA
Quote:
I take off my brim,
Moment of silence of my homeboy Souljah Slim

Quote:
Country boy there’s sumfin foreign,
Bout a hundred thousand
More than what your in

  Reply With Quote