1
0
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:
Alban Féron 2021-11-12 11:31:03 +01:00
parent f4bfc735e8
commit a88e261a8d
No known key found for this signature in database
GPG Key ID: 8CE0313646D16165
8 changed files with 0 additions and 107 deletions

View File

@ -1,4 +1,3 @@
include cgi-bin/*
include config.sample
include README.md
recursive-include supysonic/schema *

View File

@ -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()

View File

@ -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()

View File

@ -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,
)

View File

@ -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)

View File

@ -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()

View File

@ -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()

View File

@ -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