2017-08-07 09:06:46 +00:00
|
|
|
#!/usr/bin/env python
|
2012-11-21 11:47:08 +00:00
|
|
|
# coding: utf-8
|
2014-03-02 17:31:32 +00:00
|
|
|
#
|
2018-03-04 20:49:56 +00:00
|
|
|
# This file is part of Supysonic.
|
2014-03-02 17:31:32 +00:00
|
|
|
# Supysonic is a Python implementation of the Subsonic server API.
|
|
|
|
#
|
2018-03-04 20:49:56 +00:00
|
|
|
# Copyright (C) 2013 Alban 'spl0k' Féron
|
2014-03-02 17:31:32 +00:00
|
|
|
#
|
2018-03-04 20:49:56 +00:00
|
|
|
# Distributed under terms of the GNU AGPLv3 license.
|
2014-03-02 17:31:32 +00:00
|
|
|
|
2014-03-04 18:42:05 +00:00
|
|
|
from wsgiref.handlers import CGIHandler
|
2014-04-27 15:13:50 +00:00
|
|
|
from supysonic.web import create_application
|
2014-03-04 18:42:05 +00:00
|
|
|
|
|
|
|
app = create_application()
|
|
|
|
if app:
|
|
|
|
CGIHandler().run(app)
|
2012-11-21 11:47:08 +00:00
|
|
|
|