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