diff --git a/pyproject.toml b/pyproject.toml index 7e26103..fd734ec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.poetry] -name = "sublime-music" +name = "sublime_music" version = "0.11.9" description = "A native GTK *sonic client." license = "GPL-3.0-or-later" @@ -25,7 +25,7 @@ exclude = ["tests"] "Bug Tracker" = "https://todo.sr.ht/~sumner/sublime-music" [tool.poetry.scripts] -sublime-music = 'sublime.__main__:main' +sublime-music = 'sublime_music.__main__:main' [tool.poetry.dependencies] python = "^3.8" diff --git a/sublime/__init__.py b/sublime_music/__init__.py similarity index 100% rename from sublime/__init__.py rename to sublime_music/__init__.py diff --git a/sublime/__main__.py b/sublime_music/__main__.py similarity index 100% rename from sublime/__main__.py rename to sublime_music/__main__.py diff --git a/sublime/adapters/__init__.py b/sublime_music/adapters/__init__.py similarity index 100% rename from sublime/adapters/__init__.py rename to sublime_music/adapters/__init__.py diff --git a/sublime/adapters/adapter_base.py b/sublime_music/adapters/adapter_base.py similarity index 100% rename from sublime/adapters/adapter_base.py rename to sublime_music/adapters/adapter_base.py diff --git a/sublime/adapters/api_objects.py b/sublime_music/adapters/api_objects.py similarity index 100% rename from sublime/adapters/api_objects.py rename to sublime_music/adapters/api_objects.py diff --git a/sublime/adapters/configure_server_form.py b/sublime_music/adapters/configure_server_form.py similarity index 100% rename from sublime/adapters/configure_server_form.py rename to sublime_music/adapters/configure_server_form.py diff --git a/sublime/adapters/filesystem/__init__.py b/sublime_music/adapters/filesystem/__init__.py similarity index 100% rename from sublime/adapters/filesystem/__init__.py rename to sublime_music/adapters/filesystem/__init__.py diff --git a/sublime/adapters/filesystem/adapter.py b/sublime_music/adapters/filesystem/adapter.py similarity index 100% rename from sublime/adapters/filesystem/adapter.py rename to sublime_music/adapters/filesystem/adapter.py diff --git a/sublime/adapters/filesystem/models.py b/sublime_music/adapters/filesystem/models.py similarity index 100% rename from sublime/adapters/filesystem/models.py rename to sublime_music/adapters/filesystem/models.py diff --git a/sublime/adapters/filesystem/sqlite_extensions.py b/sublime_music/adapters/filesystem/sqlite_extensions.py similarity index 100% rename from sublime/adapters/filesystem/sqlite_extensions.py rename to sublime_music/adapters/filesystem/sqlite_extensions.py diff --git a/sublime/adapters/icons/config-error-symbolic.svg b/sublime_music/adapters/icons/config-error-symbolic.svg similarity index 100% rename from sublime/adapters/icons/config-error-symbolic.svg rename to sublime_music/adapters/icons/config-error-symbolic.svg diff --git a/sublime/adapters/icons/config-ok-symbolic.svg b/sublime_music/adapters/icons/config-ok-symbolic.svg similarity index 100% rename from sublime/adapters/icons/config-ok-symbolic.svg rename to sublime_music/adapters/icons/config-ok-symbolic.svg diff --git a/sublime/adapters/images/default-album-art.png b/sublime_music/adapters/images/default-album-art.png similarity index 100% rename from sublime/adapters/images/default-album-art.png rename to sublime_music/adapters/images/default-album-art.png diff --git a/sublime/adapters/images/default-album-art.svg b/sublime_music/adapters/images/default-album-art.svg similarity index 100% rename from sublime/adapters/images/default-album-art.svg rename to sublime_music/adapters/images/default-album-art.svg diff --git a/sublime/adapters/manager.py b/sublime_music/adapters/manager.py similarity index 100% rename from sublime/adapters/manager.py rename to sublime_music/adapters/manager.py diff --git a/sublime/adapters/subsonic/__init__.py b/sublime_music/adapters/subsonic/__init__.py similarity index 100% rename from sublime/adapters/subsonic/__init__.py rename to sublime_music/adapters/subsonic/__init__.py diff --git a/sublime/adapters/subsonic/adapter.py b/sublime_music/adapters/subsonic/adapter.py similarity index 100% rename from sublime/adapters/subsonic/adapter.py rename to sublime_music/adapters/subsonic/adapter.py diff --git a/sublime/adapters/subsonic/api_objects.py b/sublime_music/adapters/subsonic/api_objects.py similarity index 100% rename from sublime/adapters/subsonic/api_objects.py rename to sublime_music/adapters/subsonic/api_objects.py diff --git a/sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.1.0.xsd b/sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.1.0.xsd similarity index 100% rename from sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.1.0.xsd rename to sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.1.0.xsd diff --git a/sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.1.1.xsd b/sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.1.1.xsd similarity index 100% rename from sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.1.1.xsd rename to sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.1.1.xsd diff --git a/sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.10.2.xsd b/sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.10.2.xsd similarity index 100% rename from sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.10.2.xsd rename to sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.10.2.xsd diff --git a/sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.11.0.xsd b/sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.11.0.xsd similarity index 100% rename from sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.11.0.xsd rename to sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.11.0.xsd diff --git a/sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.12.0.xsd b/sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.12.0.xsd similarity index 100% rename from sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.12.0.xsd rename to sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.12.0.xsd diff --git a/sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.13.0.xsd b/sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.13.0.xsd similarity index 100% rename from sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.13.0.xsd rename to sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.13.0.xsd diff --git a/sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.14.0.xsd b/sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.14.0.xsd similarity index 100% rename from sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.14.0.xsd rename to sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.14.0.xsd diff --git a/sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.15.0.xsd b/sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.15.0.xsd similarity index 100% rename from sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.15.0.xsd rename to sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.15.0.xsd diff --git a/sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.16.0.xsd b/sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.16.0.xsd similarity index 100% rename from sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.16.0.xsd rename to sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.16.0.xsd diff --git a/sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.16.1.xsd b/sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.16.1.xsd similarity index 100% rename from sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.16.1.xsd rename to sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.16.1.xsd diff --git a/sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.2.0.xsd b/sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.2.0.xsd similarity index 100% rename from sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.2.0.xsd rename to sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.2.0.xsd diff --git a/sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.3.0.xsd b/sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.3.0.xsd similarity index 100% rename from sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.3.0.xsd rename to sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.3.0.xsd diff --git a/sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.4.0.xsd b/sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.4.0.xsd similarity index 100% rename from sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.4.0.xsd rename to sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.4.0.xsd diff --git a/sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.5.0.xsd b/sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.5.0.xsd similarity index 100% rename from sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.5.0.xsd rename to sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.5.0.xsd diff --git a/sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.6.0.xsd b/sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.6.0.xsd similarity index 100% rename from sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.6.0.xsd rename to sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.6.0.xsd diff --git a/sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.7.0.xsd b/sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.7.0.xsd similarity index 100% rename from sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.7.0.xsd rename to sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.7.0.xsd diff --git a/sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.8.0.xsd b/sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.8.0.xsd similarity index 100% rename from sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.8.0.xsd rename to sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.8.0.xsd diff --git a/sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.9.0.xsd b/sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.9.0.xsd similarity index 100% rename from sublime/adapters/subsonic/api_specs/subsonic-rest-api-1.9.0.xsd rename to sublime_music/adapters/subsonic/api_specs/subsonic-rest-api-1.9.0.xsd diff --git a/sublime/adapters/subsonic/icons/subsonic-connected-symbolic.svg b/sublime_music/adapters/subsonic/icons/subsonic-connected-symbolic.svg similarity index 100% rename from sublime/adapters/subsonic/icons/subsonic-connected-symbolic.svg rename to sublime_music/adapters/subsonic/icons/subsonic-connected-symbolic.svg diff --git a/sublime/adapters/subsonic/icons/subsonic-error-symbolic.svg b/sublime_music/adapters/subsonic/icons/subsonic-error-symbolic.svg similarity index 100% rename from sublime/adapters/subsonic/icons/subsonic-error-symbolic.svg rename to sublime_music/adapters/subsonic/icons/subsonic-error-symbolic.svg diff --git a/sublime/adapters/subsonic/icons/subsonic-offline-symbolic.svg b/sublime_music/adapters/subsonic/icons/subsonic-offline-symbolic.svg similarity index 100% rename from sublime/adapters/subsonic/icons/subsonic-offline-symbolic.svg rename to sublime_music/adapters/subsonic/icons/subsonic-offline-symbolic.svg diff --git a/sublime/adapters/subsonic/icons/subsonic-symbolic.svg b/sublime_music/adapters/subsonic/icons/subsonic-symbolic.svg similarity index 100% rename from sublime/adapters/subsonic/icons/subsonic-symbolic.svg rename to sublime_music/adapters/subsonic/icons/subsonic-symbolic.svg diff --git a/sublime/app.py b/sublime_music/app.py similarity index 100% rename from sublime/app.py rename to sublime_music/app.py diff --git a/sublime/config.py b/sublime_music/config.py similarity index 100% rename from sublime/config.py rename to sublime_music/config.py diff --git a/sublime/dbus/__init__.py b/sublime_music/dbus/__init__.py similarity index 100% rename from sublime/dbus/__init__.py rename to sublime_music/dbus/__init__.py diff --git a/sublime/dbus/manager.py b/sublime_music/dbus/manager.py similarity index 100% rename from sublime/dbus/manager.py rename to sublime_music/dbus/manager.py diff --git a/sublime/dbus/mpris_specs/org.mpris.MediaPlayer2.Player.xml b/sublime_music/dbus/mpris_specs/org.mpris.MediaPlayer2.Player.xml similarity index 100% rename from sublime/dbus/mpris_specs/org.mpris.MediaPlayer2.Player.xml rename to sublime_music/dbus/mpris_specs/org.mpris.MediaPlayer2.Player.xml diff --git a/sublime/dbus/mpris_specs/org.mpris.MediaPlayer2.Playlists.xml b/sublime_music/dbus/mpris_specs/org.mpris.MediaPlayer2.Playlists.xml similarity index 100% rename from sublime/dbus/mpris_specs/org.mpris.MediaPlayer2.Playlists.xml rename to sublime_music/dbus/mpris_specs/org.mpris.MediaPlayer2.Playlists.xml diff --git a/sublime/dbus/mpris_specs/org.mpris.MediaPlayer2.TrackList.xml b/sublime_music/dbus/mpris_specs/org.mpris.MediaPlayer2.TrackList.xml similarity index 100% rename from sublime/dbus/mpris_specs/org.mpris.MediaPlayer2.TrackList.xml rename to sublime_music/dbus/mpris_specs/org.mpris.MediaPlayer2.TrackList.xml diff --git a/sublime/dbus/mpris_specs/org.mpris.MediaPlayer2.xml b/sublime_music/dbus/mpris_specs/org.mpris.MediaPlayer2.xml similarity index 100% rename from sublime/dbus/mpris_specs/org.mpris.MediaPlayer2.xml rename to sublime_music/dbus/mpris_specs/org.mpris.MediaPlayer2.xml diff --git a/sublime/players/__init__.py b/sublime_music/players/__init__.py similarity index 100% rename from sublime/players/__init__.py rename to sublime_music/players/__init__.py diff --git a/sublime/players/base.py b/sublime_music/players/base.py similarity index 100% rename from sublime/players/base.py rename to sublime_music/players/base.py diff --git a/sublime/players/chromecast.py b/sublime_music/players/chromecast.py similarity index 100% rename from sublime/players/chromecast.py rename to sublime_music/players/chromecast.py diff --git a/sublime/players/manager.py b/sublime_music/players/manager.py similarity index 100% rename from sublime/players/manager.py rename to sublime_music/players/manager.py diff --git a/sublime/players/mpv.py b/sublime_music/players/mpv.py similarity index 100% rename from sublime/players/mpv.py rename to sublime_music/players/mpv.py diff --git a/sublime/ui/__init__.py b/sublime_music/ui/__init__.py similarity index 100% rename from sublime/ui/__init__.py rename to sublime_music/ui/__init__.py diff --git a/sublime/ui/albums.py b/sublime_music/ui/albums.py similarity index 100% rename from sublime/ui/albums.py rename to sublime_music/ui/albums.py diff --git a/sublime/ui/app_styles.css b/sublime_music/ui/app_styles.css similarity index 100% rename from sublime/ui/app_styles.css rename to sublime_music/ui/app_styles.css diff --git a/sublime/ui/artists.py b/sublime_music/ui/artists.py similarity index 100% rename from sublime/ui/artists.py rename to sublime_music/ui/artists.py diff --git a/sublime/ui/browse.py b/sublime_music/ui/browse.py similarity index 100% rename from sublime/ui/browse.py rename to sublime_music/ui/browse.py diff --git a/sublime/ui/common/__init__.py b/sublime_music/ui/common/__init__.py similarity index 100% rename from sublime/ui/common/__init__.py rename to sublime_music/ui/common/__init__.py diff --git a/sublime/ui/common/album_with_songs.py b/sublime_music/ui/common/album_with_songs.py similarity index 100% rename from sublime/ui/common/album_with_songs.py rename to sublime_music/ui/common/album_with_songs.py diff --git a/sublime/ui/common/icon_button.py b/sublime_music/ui/common/icon_button.py similarity index 100% rename from sublime/ui/common/icon_button.py rename to sublime_music/ui/common/icon_button.py diff --git a/sublime/ui/common/load_error.py b/sublime_music/ui/common/load_error.py similarity index 100% rename from sublime/ui/common/load_error.py rename to sublime_music/ui/common/load_error.py diff --git a/sublime/ui/common/song_list_column.py b/sublime_music/ui/common/song_list_column.py similarity index 100% rename from sublime/ui/common/song_list_column.py rename to sublime_music/ui/common/song_list_column.py diff --git a/sublime/ui/common/spinner_image.py b/sublime_music/ui/common/spinner_image.py similarity index 100% rename from sublime/ui/common/spinner_image.py rename to sublime_music/ui/common/spinner_image.py diff --git a/sublime/ui/configure_provider.py b/sublime_music/ui/configure_provider.py similarity index 100% rename from sublime/ui/configure_provider.py rename to sublime_music/ui/configure_provider.py diff --git a/sublime/ui/icons/chromecast-connected-symbolic.svg b/sublime_music/ui/icons/chromecast-connected-symbolic.svg similarity index 100% rename from sublime/ui/icons/chromecast-connected-symbolic.svg rename to sublime_music/ui/icons/chromecast-connected-symbolic.svg diff --git a/sublime/ui/icons/chromecast-connecting-0-symbolic.svg b/sublime_music/ui/icons/chromecast-connecting-0-symbolic.svg similarity index 100% rename from sublime/ui/icons/chromecast-connecting-0-symbolic.svg rename to sublime_music/ui/icons/chromecast-connecting-0-symbolic.svg diff --git a/sublime/ui/icons/chromecast-connecting-1-symbolic.svg b/sublime_music/ui/icons/chromecast-connecting-1-symbolic.svg similarity index 100% rename from sublime/ui/icons/chromecast-connecting-1-symbolic.svg rename to sublime_music/ui/icons/chromecast-connecting-1-symbolic.svg diff --git a/sublime/ui/icons/chromecast-connecting-2-symbolic.svg b/sublime_music/ui/icons/chromecast-connecting-2-symbolic.svg similarity index 100% rename from sublime/ui/icons/chromecast-connecting-2-symbolic.svg rename to sublime_music/ui/icons/chromecast-connecting-2-symbolic.svg diff --git a/sublime/ui/icons/chromecast-symbolic.svg b/sublime_music/ui/icons/chromecast-symbolic.svg similarity index 100% rename from sublime/ui/icons/chromecast-symbolic.svg rename to sublime_music/ui/icons/chromecast-symbolic.svg diff --git a/sublime/ui/icons/cloud-offline-symbolic.svg b/sublime_music/ui/icons/cloud-offline-symbolic.svg similarity index 100% rename from sublime/ui/icons/cloud-offline-symbolic.svg rename to sublime_music/ui/icons/cloud-offline-symbolic.svg diff --git a/sublime/ui/icons/queue-back-symbolic.svg b/sublime_music/ui/icons/queue-back-symbolic.svg similarity index 100% rename from sublime/ui/icons/queue-back-symbolic.svg rename to sublime_music/ui/icons/queue-back-symbolic.svg diff --git a/sublime/ui/icons/queue-front-symbolic.svg b/sublime_music/ui/icons/queue-front-symbolic.svg similarity index 100% rename from sublime/ui/icons/queue-front-symbolic.svg rename to sublime_music/ui/icons/queue-front-symbolic.svg diff --git a/sublime/ui/icons/server-connected-symbolic.svg b/sublime_music/ui/icons/server-connected-symbolic.svg similarity index 100% rename from sublime/ui/icons/server-connected-symbolic.svg rename to sublime_music/ui/icons/server-connected-symbolic.svg diff --git a/sublime/ui/icons/server-error-symbolic.svg b/sublime_music/ui/icons/server-error-symbolic.svg similarity index 100% rename from sublime/ui/icons/server-error-symbolic.svg rename to sublime_music/ui/icons/server-error-symbolic.svg diff --git a/sublime/ui/icons/server-offline-symbolic.svg b/sublime_music/ui/icons/server-offline-symbolic.svg similarity index 100% rename from sublime/ui/icons/server-offline-symbolic.svg rename to sublime_music/ui/icons/server-offline-symbolic.svg diff --git a/sublime/ui/images/play-queue-play.png b/sublime_music/ui/images/play-queue-play.png similarity index 100% rename from sublime/ui/images/play-queue-play.png rename to sublime_music/ui/images/play-queue-play.png diff --git a/sublime/ui/images/play-queue-play.svg b/sublime_music/ui/images/play-queue-play.svg similarity index 100% rename from sublime/ui/images/play-queue-play.svg rename to sublime_music/ui/images/play-queue-play.svg diff --git a/sublime/ui/main.py b/sublime_music/ui/main.py similarity index 100% rename from sublime/ui/main.py rename to sublime_music/ui/main.py diff --git a/sublime/ui/player_controls.py b/sublime_music/ui/player_controls.py similarity index 100% rename from sublime/ui/player_controls.py rename to sublime_music/ui/player_controls.py diff --git a/sublime/ui/playlists.py b/sublime_music/ui/playlists.py similarity index 100% rename from sublime/ui/playlists.py rename to sublime_music/ui/playlists.py diff --git a/sublime/ui/state.py b/sublime_music/ui/state.py similarity index 100% rename from sublime/ui/state.py rename to sublime_music/ui/state.py diff --git a/sublime/ui/util.py b/sublime_music/ui/util.py similarity index 100% rename from sublime/ui/util.py rename to sublime_music/ui/util.py diff --git a/sublime/util.py b/sublime_music/util.py similarity index 100% rename from sublime/util.py rename to sublime_music/util.py