diff --git a/bin/supysonic-cli b/bin/supysonic-cli index 6f8a99e..4b2bd50 100755 --- a/bin/supysonic-cli +++ b/bin/supysonic-cli @@ -1,5 +1,4 @@ #!/usr/bin/env python -# coding: utf-8 # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. diff --git a/bin/supysonic-watcher b/bin/supysonic-watcher index 33a6219..40e2dcc 100755 --- a/bin/supysonic-watcher +++ b/bin/supysonic-watcher @@ -1,5 +1,4 @@ #!/usr/bin/env python -# coding: utf-8 # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. diff --git a/cgi-bin/server.py b/cgi-bin/server.py old mode 100755 new mode 100644 index 4c7a443..e0985bb --- a/cgi-bin/server.py +++ b/cgi-bin/server.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/cgi-bin/supysonic.cgi b/cgi-bin/supysonic.cgi index f47636f..b44b1e2 100755 --- a/cgi-bin/supysonic.cgi +++ b/cgi-bin/supysonic.cgi @@ -1,5 +1,4 @@ #!/usr/bin/env python -# coding: utf-8 # # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. @@ -13,5 +12,4 @@ from supysonic.web import create_application app = create_application() if app: - CGIHandler().run(app) - + CGIHandler().run(app) diff --git a/cgi-bin/supysonic.fcgi b/cgi-bin/supysonic.fcgi index 31ee1d3..0241a6a 100755 --- a/cgi-bin/supysonic.fcgi +++ b/cgi-bin/supysonic.fcgi @@ -1,5 +1,4 @@ #!/usr/bin/env python -# coding: utf-8 # # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. @@ -13,5 +12,4 @@ from supysonic.web import create_application app = create_application() if app: - WSGIServer(app, bindAddress = '/path/to/fcgi.sock').run() - + WSGIServer(app, bindAddress = "/path/to/fcgi.sock").run() diff --git a/cgi-bin/supysonic.wsgi b/cgi-bin/supysonic.wsgi index a824c35..f25309c 100644 --- a/cgi-bin/supysonic.wsgi +++ b/cgi-bin/supysonic.wsgi @@ -1,5 +1,3 @@ -# coding: utf-8 -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # @@ -9,4 +7,3 @@ from supysonic.web import create_application application = create_application() - diff --git a/setup.py b/setup.py old mode 100755 new mode 100644 index 0bdfc07..4b94f9a --- a/setup.py +++ b/setup.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/supysonic/cli.py b/supysonic/cli.py old mode 100755 new mode 100644 diff --git a/supysonic/daemon/__main__.py b/supysonic/daemon/__main__.py old mode 100755 new mode 100644 index b15b5b2..a31ac19 --- a/supysonic/daemon/__main__.py +++ b/supysonic/daemon/__main__.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/supysonic/db.py b/supysonic/db.py old mode 100755 new mode 100644 diff --git a/tests/api/test_album_songs.py b/tests/api/test_album_songs.py index 56598c0..a94fec8 100644 --- a/tests/api/test_album_songs.py +++ b/tests/api/test_album_songs.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/api/test_annotation.py b/tests/api/test_annotation.py index 1f5099d..90e7481 100644 --- a/tests/api/test_annotation.py +++ b/tests/api/test_annotation.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/api/test_api_setup.py b/tests/api/test_api_setup.py index 1166323..78ba4e1 100644 --- a/tests/api/test_api_setup.py +++ b/tests/api/test_api_setup.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/api/test_browse.py b/tests/api/test_browse.py index 47321f0..b7021e3 100644 --- a/tests/api/test_browse.py +++ b/tests/api/test_browse.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/api/test_chat.py b/tests/api/test_chat.py index 5c33f07..3727750 100644 --- a/tests/api/test_chat.py +++ b/tests/api/test_chat.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/api/test_lyrics.py b/tests/api/test_lyrics.py index 362bfcd..a66829c 100644 --- a/tests/api/test_lyrics.py +++ b/tests/api/test_lyrics.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/api/test_media.py b/tests/api/test_media.py index 0d1a528..d88ce26 100644 --- a/tests/api/test_media.py +++ b/tests/api/test_media.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/api/test_playlist.py b/tests/api/test_playlist.py index 76f9e66..3eee60a 100644 --- a/tests/api/test_playlist.py +++ b/tests/api/test_playlist.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/api/test_radio.py b/tests/api/test_radio.py index c079567..5793b32 100644 --- a/tests/api/test_radio.py +++ b/tests/api/test_radio.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/api/test_response_helper.py b/tests/api/test_response_helper.py index 9cae201..ce59c51 100644 --- a/tests/api/test_response_helper.py +++ b/tests/api/test_response_helper.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/api/test_search.py b/tests/api/test_search.py index 3854b8b..316fab3 100644 --- a/tests/api/test_search.py +++ b/tests/api/test_search.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/api/test_system.py b/tests/api/test_system.py index 72d640a..7281cdc 100644 --- a/tests/api/test_system.py +++ b/tests/api/test_system.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/api/test_transcoding.py b/tests/api/test_transcoding.py index ba68762..f7690bc 100644 --- a/tests/api/test_transcoding.py +++ b/tests/api/test_transcoding.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/api/test_user.py b/tests/api/test_user.py index b3043ca..9c20481 100644 --- a/tests/api/test_user.py +++ b/tests/api/test_user.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/base/test_cache.py b/tests/base/test_cache.py index dc047b6..eb0fbfe 100644 --- a/tests/base/test_cache.py +++ b/tests/base/test_cache.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/base/test_cli.py b/tests/base/test_cli.py index 297e7ff..5c3b692 100644 --- a/tests/base/test_cli.py +++ b/tests/base/test_cli.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/base/test_config.py b/tests/base/test_config.py index a48684c..e9c82b3 100644 --- a/tests/base/test_config.py +++ b/tests/base/test_config.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/base/test_db.py b/tests/base/test_db.py index 1778881..ecb91f2 100644 --- a/tests/base/test_db.py +++ b/tests/base/test_db.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/base/test_lastfm.py b/tests/base/test_lastfm.py index b5d8c43..dfa72b8 100644 --- a/tests/base/test_lastfm.py +++ b/tests/base/test_lastfm.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/base/test_scanner.py b/tests/base/test_scanner.py index 4ebde72..393df1c 100644 --- a/tests/base/test_scanner.py +++ b/tests/base/test_scanner.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/base/test_secret.py b/tests/base/test_secret.py index 0fd3874..92658ac 100644 --- a/tests/base/test_secret.py +++ b/tests/base/test_secret.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/base/test_watcher.py b/tests/base/test_watcher.py index 9b70403..2bfa2c3 100644 --- a/tests/base/test_watcher.py +++ b/tests/base/test_watcher.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/frontend/__init__.py b/tests/frontend/__init__.py index 0208f63..24bb0bb 100644 --- a/tests/frontend/__init__.py +++ b/tests/frontend/__init__.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/frontend/test_folder.py b/tests/frontend/test_folder.py index af00998..2af7514 100644 --- a/tests/frontend/test_folder.py +++ b/tests/frontend/test_folder.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/frontend/test_login.py b/tests/frontend/test_login.py index 01524f1..5691562 100644 --- a/tests/frontend/test_login.py +++ b/tests/frontend/test_login.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/frontend/test_playlist.py b/tests/frontend/test_playlist.py index 6dbd67d..6a1b12c 100644 --- a/tests/frontend/test_playlist.py +++ b/tests/frontend/test_playlist.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/frontend/test_user.py b/tests/frontend/test_user.py index d94918e..2d30a69 100644 --- a/tests/frontend/test_user.py +++ b/tests/frontend/test_user.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/managers/test_manager_folder.py b/tests/managers/test_manager_folder.py index 7ecb950..4397557 100644 --- a/tests/managers/test_manager_folder.py +++ b/tests/managers/test_manager_folder.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # diff --git a/tests/managers/test_manager_user.py b/tests/managers/test_manager_user.py index c30a38f..798ca2a 100644 --- a/tests/managers/test_manager_user.py +++ b/tests/managers/test_manager_user.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. #