Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Tool for ices0+icecast2 - starting/managing sources (Debian)

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Sat Apr 26, 2008 3:45 pm    Post subject: Tool for ices0+icecast2 - starting/managing sources (Debian) Reply with quote

I write this script for my own needs, but maybe someone find it useful.
http://brothers.allright.ru/stuff/icecast/en/ice
Script for Icecast2 and Ices0 users

Actions:
create folders /var/music/channel1, /var/music/channel2, unpack rar,zip and arj archives with music, copy all mp3/ogg/flac, create playlists, start sources
If you try to start channel again, then source directory will be checked, and if script finds new files, then restarts channel with new playlist

Parameters:
ice start directory_with_archives source genre - start source
ice skip 'name' - skip track in source 'name'
ice hist - show history
ice hist id3 - show history with id3 tags
ice hstart N - start N last sources from history
ice list - list current sources
ice kill 'name' - kill source 'name'
ice killall - kill all sources with playlists and tempfiles
ice removemusic - clean directory with unpacked music
ice clean - kill all sources, remove all logs and tempfiles
ice restart - restart all sources
ice weblog - icecast2 webserver brief history

Installing script:
sudo ice install
(apt-get needed packages, install logrotate and bash-completion)

Starting script:
sudo ice start /home/someuser/archive/music channel1 rock
sudo ice start /home/otheruser/archive/music channel2 pop

Debian 4.0 (etch) packages for Ices0:
http://server2.allright.ru/dists/etch/main/binary-i386/ices_0.4-1_i386.deb
http://server2.allright.ru/dists/etch/main/binary-i386/libmp3lame0_3.98-1_i386.deb
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber