mirror of
https://github.com/spl0k/supysonic.git
synced 2024-09-07 21:11:04 +00:00
Remove old stuff
This commit is contained in:
parent
f4bfc735e8
commit
a88e261a8d
@ -1,4 +1,3 @@
|
||||
include cgi-bin/*
|
||||
include config.sample
|
||||
include README.md
|
||||
recursive-include supysonic/schema *
|
||||
|
@ -1,18 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
# This file is part of Supysonic.
|
||||
# Supysonic is a Python implementation of the Subsonic server API.
|
||||
#
|
||||
# Copyright (C) 2017 Alban 'spl0k' Féron
|
||||
#
|
||||
# Distributed under terms of the GNU AGPLv3 license.
|
||||
|
||||
import warnings
|
||||
from supysonic.cli import main
|
||||
|
||||
if __name__ == "__main__":
|
||||
warnings.warn(
|
||||
"You're using an old version of the `supysonic-cli` script. "
|
||||
"It should have been replaced on install."
|
||||
)
|
||||
main()
|
@ -1,18 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
# This file is part of Supysonic.
|
||||
# Supysonic is a Python implementation of the Subsonic server API.
|
||||
#
|
||||
# Copyright (C) 2014-2019 Alban 'spl0k' Féron
|
||||
#
|
||||
# Distributed under terms of the GNU AGPLv3 license.
|
||||
|
||||
import warnings
|
||||
from supysonic.daemon import main
|
||||
|
||||
if __name__ == "__main__":
|
||||
warnings.warn(
|
||||
"You're using an old version of the `supysonic-watcher` script.\nNo worries "
|
||||
"though, it will still work (for some time), but you should call `supysonic-daemon` instead."
|
||||
)
|
||||
main()
|
@ -1,20 +0,0 @@
|
||||
# This file is part of Supysonic.
|
||||
# Supysonic is a Python implementation of the Subsonic server API.
|
||||
#
|
||||
# Copyright (C) 2013 Alban 'spl0k' Féron
|
||||
#
|
||||
# Distributed under terms of the GNU AGPLv3 license.
|
||||
|
||||
from supysonic.web import create_application
|
||||
|
||||
app = create_application()
|
||||
|
||||
if __name__ == "__main__":
|
||||
if app:
|
||||
import sys
|
||||
|
||||
app.run(
|
||||
host=sys.argv[1] if len(sys.argv) > 1 else None,
|
||||
port=int(sys.argv[2]) if len(sys.argv) > 2 else 5000,
|
||||
debug=True,
|
||||
)
|
@ -1,15 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# This file is part of Supysonic.
|
||||
# Supysonic is a Python implementation of the Subsonic server API.
|
||||
#
|
||||
# Copyright (C) 2013 Alban 'spl0k' Féron
|
||||
#
|
||||
# Distributed under terms of the GNU AGPLv3 license.
|
||||
|
||||
from wsgiref.handlers import CGIHandler
|
||||
from supysonic.web import create_application
|
||||
|
||||
app = create_application()
|
||||
if app:
|
||||
CGIHandler().run(app)
|
@ -1,15 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# This file is part of Supysonic.
|
||||
# Supysonic is a Python implementation of the Subsonic server API.
|
||||
#
|
||||
# Copyright (C) 2013 Alban 'spl0k' Féron
|
||||
#
|
||||
# Distributed under terms of the GNU AGPLv3 license.
|
||||
|
||||
from flup.server.fcgi import WSGIServer
|
||||
from supysonic.web import create_application
|
||||
|
||||
app = create_application()
|
||||
if app:
|
||||
WSGIServer(app, bindAddress = "/path/to/fcgi.sock").run()
|
@ -1,9 +0,0 @@
|
||||
# This file is part of Supysonic.
|
||||
# Supysonic is a Python implementation of the Subsonic server API.
|
||||
#
|
||||
# Copyright (C) 2013 Alban 'spl0k' Féron
|
||||
#
|
||||
# Distributed under terms of the GNU AGPLv3 license.
|
||||
|
||||
from supysonic.web import create_application
|
||||
application = create_application()
|
@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=Supysonic Daemon
|
||||
|
||||
[Service]
|
||||
User=supysonic
|
||||
Group=supysonic
|
||||
WorkingDirectory=/home/supysonic
|
||||
ExecStart=/usr/bin/env python -m supysonic.daemon
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user