ices-metadata
Amarok 1.x Scripts
Score 50%
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:

12 years ago

Since this is the first release, there is no changelog yet :)

striker

11 years ago

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.

Report

striker

11 years ago

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!

Report

spiko

12 years ago

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

Report

12 years ago

Since this is the first release, there is no changelog yet :)

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.1
updated Apr 03 2005
added Apr 03 2005
downloads today
0
page views today 0