Spodcast v0.5.0 which:
- fixes #13 (Cannot download episodes anymore) - uses _librespot-python_ interfaces instead of raw web API access (needed to fix #13) - can not yet determine decrypted file size for Spotify-hosted episodes (which used to work) so will only look at the file name to determine whether an episode has already been downloaded. To retry corrupted downloads just remove the partially downloaded file and try again.
This commit is contained in:
parent
c0f76f5290
commit
0877f04cb1
8 changed files with 143 additions and 152 deletions
|
@ -1,22 +1,8 @@
|
|||
ERROR = 'error'
|
||||
ITEMS = 'items'
|
||||
NAME = 'name'
|
||||
DESCRIPTION = "description"
|
||||
ID = 'id'
|
||||
URL = 'url'
|
||||
URI = 'uri'
|
||||
EXTERNAL_URLS = 'external_urls'
|
||||
SPOTIFY = 'spotify'
|
||||
RELEASE_DATE = 'release_date'
|
||||
IMAGES = 'images'
|
||||
TYPE = 'type'
|
||||
LIMIT = 'limit'
|
||||
OFFSET = 'offset'
|
||||
CREDENTIALS_PREFIX = 'spodcast-cred'
|
||||
AUTHORIZATION = 'Authorization'
|
||||
DURATION_MS = 'duration_ms'
|
||||
SHOW = 'show'
|
||||
TYPE = 'type'
|
||||
USER_READ_EMAIL = 'user-read-email'
|
||||
PLAYLIST_READ_PRIVATE = 'playlist-read-private'
|
||||
USER_LIBRARY_READ = 'user-library-read'
|
||||
FILE_EXISTS = -1
|
||||
OPEN_SPOTIFY_URL = 'open.spotify.com'
|
||||
IMAGE_CDN = lambda image_id_hex: f'https://i.scdn.co/image/{image_id_hex}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue