spotify: Ignore playlists without a name
This commit is contained in:
parent
02345beb0e
commit
f313d9d446
@ -50,6 +50,9 @@ long time been our most requested feature. Finally, it's here!
|
||||
- Added support for connecting to the Spotify service through an HTTP or SOCKS
|
||||
proxy, which is supported by pyspotify >= 1.9.
|
||||
|
||||
- Subscriptions to other Spotify user's "starred" playlists are ignored, as
|
||||
they currently isn't fully supported by pyspotify.
|
||||
|
||||
**Local backend**
|
||||
|
||||
- :issue:`236`: The ``mopidy-scan`` command failed to include tags from ALAC
|
||||
|
||||
@ -56,6 +56,10 @@ def to_mopidy_playlist(spotify_playlist):
|
||||
uri = str(Link.from_playlist(spotify_playlist))
|
||||
if not spotify_playlist.is_loaded():
|
||||
return Playlist(uri=uri, name='[loading...]')
|
||||
if not spotify_playlist.name():
|
||||
# Other user's "starred" playlists isn't handled properly by pyspotify
|
||||
# See https://github.com/mopidy/pyspotify/issues/81
|
||||
return
|
||||
return Playlist(
|
||||
uri=uri,
|
||||
name=spotify_playlist.name(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user