Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 1.38 KB

File metadata and controls

39 lines (34 loc) · 1.38 KB

PyCaster

PyCaster is a live radio streamer. You can stream MP3 files live to as many clients as possible, it uses twisted for most of the heavy stuff and is 100% open source. server up at: radio

What's new?

  1. PyCaster server now contains a home page
  2. When no source is connected it'll output a message saying so on /<anything but resource>
  3. PyCaster index file contains variables
  4. mountpoint added set in clients config file

What's coming?

  1. D.J client using wxpython
  2. better documentation
  3. an actual mini template for http side of server \

config.py

PyCasterAuth = "123abc" # auth source will send
PyCasterPort = 4446 # server port
PyCasterSSL = False # use ssl/tls
PyCasterSSLKey = None # only need to worry about if PyCasterSSL is enabled
PyCasterSSLCert = None # only need to worry about if PyCasterSSL is enabled
PyCasterMaxListeners = 32 # max connections not including source
PyCasterSendLogging = False # log whats sent number of bytes and id/peer
PyCasterLogFile=open("pycaster.log", "w") # can be sys.stdout
pages = [] # list of urls server will ignore sending buffer data to

Special vars in index.html

$host replaced with server host $port replaced with port set in server config $mount replaced with mount client sends if no mount then anything is a mountpoint

How to run

pip -r requirements.txt
python server.py
``