17 lines
381 B
Python
17 lines
381 B
Python
#!/usr/bin/env python
|
|
|
|
import sys
|
|
sys.stdout = sys.stderr
|
|
|
|
PATH_MY_STATIONS = '/var/www/radioyamaha.vtuner.com/data'
|
|
|
|
#from flup.server.fcgi import WSGIServer
|
|
# from ycast import server
|
|
from ycast import server as application
|
|
|
|
if __name__ == '__main__':
|
|
server.check_my_stations_feature(PATH_MY_STATIONS)
|
|
#print (app)
|
|
server.app.run()
|
|
#WSGIServer(server.app).run()
|