AmarokWhatsPlaying MAO 0.1.b review

Download
by rbytes.net on

AmarokWhatsPlaying MAO is a script Amarok that sends through HTTP (method GET) the music name, artist and album that you are hearing.

License: GPL (GNU General Public License)
File size: 9K
Developer: Marden Alcantara de Oliveira
0 stars award from rbytes.net

AmarokWhatsPlaying MAO is a script Amarok that sends through HTTP (method GET) the music name, artist and album that you are hearing.

How to use:

1. Edit variable

1,1 Script whatsplaying_mao.pl

It must be informed the correct values of the following variables:

$LINKSCRIPT
$CHAVE

The variable LINKSCRIPT is the URL for the site where will be housed script cgi responsible amarok.cgi by receiving the information.

$LINKSCRIPT = "http://yourdomain.net/cgi-bin/amarok.cgi";

The variable CHAVE is an any word what will be used for script cgi amarok.cgi validate the information that is receiving.

$CHAVE = "secret";

1,2 Script cgi amarok.cgi

It must be informed the correct values of the following variables:

$ARQUIVO
$QLIST
$CHAVE

The variable ARQUIVO informs the file where it will be stored the information. Remember of, into server, create the empty file and to apply the permission of writing.

$ARQUIVO = "lista_de_musica.txt";

The variable QLIST informs the maximum quantity of name of musics stored in $ARQUIVO. The totally begins of zero, then for ten input the value should be nine.

$QLIST = 9;

The variable CHAVE should be the same that it was placed in script whatsplaying_mao.pl. for the facts are recorded in the $ARQUIVO $CHAVE = "secret";

2. Data format into $ARQUIVO.

HH;MM;SS;YEAR;D;M;TIME OF MUSIC;MUSIC NAME; ARTIST;ALBUM

HH;MM;SS;YEAR;D;M - It's hour, minute, second, year, day and month that this information it was sent.

3. The server where he goes to be housed script should have the directory of script configured to support cgi-bin.

In the apache he adds the line "ScriptAlias /cgi-bin/ /var/www/yoursite/cgi-bin/" together with the configuration of your VirtualHost.

Requirements:
Perl
wget
amarok

AmarokWhatsPlaying MAO 0.1.b keywords