spotify-cmd 0.1.2__tar.gz → 0.1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. {spotify-cmd-0.1.2/spotify_cmd.egg-info → spotify-cmd-0.1.3}/PKG-INFO +4 -4
  2. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/README.md +2 -2
  3. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/setup.py +2 -2
  4. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3/spotify_cmd.egg-info}/PKG-INFO +4 -4
  5. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/spotify_cmd.egg-info/requires.txt +1 -1
  6. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/main.py +2 -2
  7. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/LICENSE.md +0 -0
  8. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/setup.cfg +0 -0
  9. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/spotify_cmd.egg-info/SOURCES.txt +0 -0
  10. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/spotify_cmd.egg-info/dependency_links.txt +0 -0
  11. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/spotify_cmd.egg-info/entry_points.txt +0 -0
  12. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/spotify_cmd.egg-info/top_level.txt +0 -0
  13. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/__init__.py +0 -0
  14. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/common/__init__.py +0 -0
  15. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/common/config.py +0 -0
  16. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/common/socket_data_handler.py +0 -0
  17. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/common/socket_message.py +0 -0
  18. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_client/__init__.py +0 -0
  19. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_client/client.py +0 -0
  20. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_client/main.py +0 -0
  21. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/__init__.py +0 -0
  22. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/operations/__init__.py +0 -0
  23. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/operations/get_library_albums.py +0 -0
  24. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/operations/get_library_playlists.py +0 -0
  25. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/operations/helpers/__init__.py +0 -0
  26. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/operations/helpers/check_resource_existence.py +0 -0
  27. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/operations/helpers/get_album.py +0 -0
  28. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/operations/helpers/get_playlist.py +0 -0
  29. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/operations/helpers/get_resource_from_library.py +0 -0
  30. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/operations/helpers/get_resource_uri.py +0 -0
  31. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/operations/next_track.py +0 -0
  32. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/operations/pause_playback.py +0 -0
  33. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/operations/previous_track.py +0 -0
  34. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/operations/resume_playback.py +0 -0
  35. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/operations/set_shuffle.py +0 -0
  36. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/operations/set_volume.py +0 -0
  37. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/operations/start_playback.py +0 -0
  38. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/operations/validators/__init__.py +0 -0
  39. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/operations/validators/validate_resource_uri.py +0 -0
  40. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/operations/validators/validate_volume_percent.py +0 -0
  41. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/socket_server.py +0 -0
  42. {spotify-cmd-0.1.2 → spotify-cmd-0.1.3}/src/spotify_cmd_daemon/spotify_controller.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: spotify-cmd
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Command line Spotify client
5
5
  Home-page: https://github.com/ciembor/spotify-cmd
6
6
  Author: Maciej Ciemborowicz
@@ -25,11 +25,11 @@ License-File: LICENSE.md
25
25
  Requires-Dist: argparse==1.4.0
26
26
  Requires-Dist: configparser==5.0.2
27
27
  Requires-Dist: spotipy==2.23.0
28
- Requires-Dist: daemon==1.2
28
+ Requires-Dist: python-daemon==3.0.1
29
29
 
30
- # 💚 spotify-cmd v0.1.2
30
+ # 💚 spotify-cmd v0.1.3
31
31
 
32
- `spotify-cmd` is a Spotify client that allows controlling the playback of albums and playlists from a *user's library* (based on names or Spotify URIs) and individual tracks (based solely on Spotify URIs). The application is intended for use with [spotifyd](https://github.com/Spotifyd/spotifyd), but it works with any Spotify-enabled device.
32
+ `spotify-cmd` is a Spotify client that allows controlling the playback of **albums and playlists from a user's library** (based on names or Spotify URIs) and individual tracks (based solely on Spotify URIs). The application is intended for use with [spotifyd](https://github.com/Spotifyd/spotifyd), but it works with any Spotify-enabled device.
33
33
 
34
34
  ## Installation
35
35
 
@@ -1,6 +1,6 @@
1
- # 💚 spotify-cmd v0.1.2
1
+ # 💚 spotify-cmd v0.1.3
2
2
 
3
- `spotify-cmd` is a Spotify client that allows controlling the playback of albums and playlists from a *user's library* (based on names or Spotify URIs) and individual tracks (based solely on Spotify URIs). The application is intended for use with [spotifyd](https://github.com/Spotifyd/spotifyd), but it works with any Spotify-enabled device.
3
+ `spotify-cmd` is a Spotify client that allows controlling the playback of **albums and playlists from a user's library** (based on names or Spotify URIs) and individual tracks (based solely on Spotify URIs). The application is intended for use with [spotifyd](https://github.com/Spotifyd/spotifyd), but it works with any Spotify-enabled device.
4
4
 
5
5
  ## Installation
6
6
 
@@ -6,13 +6,13 @@ with open("README.md", "r", encoding="utf-8") as fh:
6
6
 
7
7
  setup(
8
8
  name="spotify-cmd",
9
- version="0.1.2",
9
+ version="0.1.3",
10
10
  packages=find_packages(),
11
11
  install_requires=[
12
12
  'argparse==1.4.0',
13
13
  'configparser==5.0.2',
14
14
  'spotipy==2.23.0',
15
- 'daemon==1.2'
15
+ 'python-daemon==3.0.1'
16
16
  ],
17
17
  entry_points={
18
18
  'console_scripts': [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: spotify-cmd
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Command line Spotify client
5
5
  Home-page: https://github.com/ciembor/spotify-cmd
6
6
  Author: Maciej Ciemborowicz
@@ -25,11 +25,11 @@ License-File: LICENSE.md
25
25
  Requires-Dist: argparse==1.4.0
26
26
  Requires-Dist: configparser==5.0.2
27
27
  Requires-Dist: spotipy==2.23.0
28
- Requires-Dist: daemon==1.2
28
+ Requires-Dist: python-daemon==3.0.1
29
29
 
30
- # 💚 spotify-cmd v0.1.2
30
+ # 💚 spotify-cmd v0.1.3
31
31
 
32
- `spotify-cmd` is a Spotify client that allows controlling the playback of albums and playlists from a *user's library* (based on names or Spotify URIs) and individual tracks (based solely on Spotify URIs). The application is intended for use with [spotifyd](https://github.com/Spotifyd/spotifyd), but it works with any Spotify-enabled device.
32
+ `spotify-cmd` is a Spotify client that allows controlling the playback of **albums and playlists from a user's library** (based on names or Spotify URIs) and individual tracks (based solely on Spotify URIs). The application is intended for use with [spotifyd](https://github.com/Spotifyd/spotifyd), but it works with any Spotify-enabled device.
33
33
 
34
34
  ## Installation
35
35
 
@@ -1,4 +1,4 @@
1
1
  argparse==1.4.0
2
2
  configparser==5.0.2
3
3
  spotipy==2.23.0
4
- daemon==1.2
4
+ python-daemon==3.0.1
@@ -23,9 +23,9 @@ args = parser.parse_args()
23
23
  spotify = SpotifyController()
24
24
  server = SocketServer(spotify)
25
25
 
26
- lock_file = "/tmp/myapp.lock"
26
+ lock_file = "/tmp/spotify-cmd-daemon.lock"
27
27
  if os.path.exists(lock_file):
28
- print("Application already running.")
28
+ print(f"Daemon already running ({lock_file} exists).")
29
29
  sys.exit(1)
30
30
  else:
31
31
  with open(lock_file, 'w'): pass
File without changes
File without changes
File without changes