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:
This script allows you to transmit some song information to ices, which is an
icecast OGG streaming client. Currently it supports the following tags: title,
artist, album, genre, track, year and comment. Most of them are probably useless
as I don't really know much players which support more tags than title and artist
in HTTP streams at this time. But who knows...

If amaroK isn't playing any track, you can also easily instruct ices-metadata to
send a 'Stream is paused' title information.

How to use it:
Before you can use the script, you have to make sure your ices config is correct.
There are 3 options which are not configured by default, but they have to be set
for ices-metadata to work properly. Here they are:

<pidfile>/var/ices/ices.pid</pidfile>
<param name="metadata">1</param>
<param name="metadatafilename">/tmp/ices-metadata</param>

In ices-metadata you can set the location of pidfile and metadata filename by GUI.
Of course they have to match exactly.

I hope it works all fine. Have fun streaming your music!

#
# Depends on Python > 2.2 and PyQt
#
Last changelog:

Since this is the first release, there is no changelog yet <img class="decoda-emoticon" src="/emoticons/happy.png" alt="">


Ratings & Comments

3 Comments

striker

I love your amaroK python script, but the metadata refresh after songchange doesn't work, because somehow the script doesn't send the 'kill -s USR1 "pid"' correctly... I works when I send the command manually, but that is not satisfying. Well, I would appreciate some help, because I don't know nothing about python scripting.

striker

Ahhhh I've got it ;) I changed the command in line 234 to the following: " cmd = "sudo kill -s USR1 " + pid " because I run ices as root. Anyway, thanks for your script!

spiko

had to edit line 79 in .sh file because ConfigParser complained ConfigParser.NoSectionError: No section: 'General' or else does not send sigusr1 signal correctly

Pling
0 Affiliates
Details
license
version 0.1
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