Skip to content

A status checker for Icecast stream that can automatically run BUTT

Notifications You must be signed in to change notification settings

mbarsocchi/icecast-status-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icecast-status-checker

A status checker for Icecast stream that can automatically run BUTT (Broadcasting Using This Tool, a software for streaming).

Need a configure.properties file in .jar path with:

BUTTPATH=/home/bin/butt
SERVERURL=http://<my-server-host>:<my-server-port>
STATUS=status-json.xsl
STREAM=http://<stream-host>:<stream-port>/<mount-point>

Compile the code and run as:

java -jar statuschecker.jar

Feature

  • Checks is stream is up by calling status-json.xsl
  • If stream is down, check if server is up
  • If server is up, start BUTT
  • If server is down, do nothing

Every transition is logged.

Tested on:

  • Windows 7
  • Windows 10
  • Linux Fedora

About

A status checker for Icecast stream that can automatically run BUTT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages