AmarokWhatsPlaying MAO

Amarok 1.x Scripts

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Description:
AmarokWhatsPlaying MAO

Copyright 2006 by Marden Alcantara de Oliveira (marden at infonet com br)
License: GPL (GNU Public License)


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.


4. Dependencies:

Perl
wget
Amarok


Please send me any comments, criticizes and/or suggestions


Version history:

0.1.b:
First version
Last changelog:

First version


Ratings & Comments

0 Comments

Be the first to comment
Pling
0 Affiliates
Details
license
version 0.1.b
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Amarok 1.x Scripts:

Gnome Play Video in Totem
mwheatland
last update date: 19 years ago

Score 5.0

editLyrics-gnome
ZeeD
last update date: 19 years ago

Score 5.0

amarok Alarm
aroth
last update date: 16 years ago

Score 5.0

amaroK Web Collection V xmms
pti-jean
last update date: 16 years ago

Score 5.0

SongLogger
lucatnt
last update date: 17 years ago

Score 5.0

amaroK Web Collection
pti-jean
last update date: 16 years ago

Score 5.0



System Tags