Skip to content

Commit

Permalink
v0.3.1
Browse files Browse the repository at this point in the history
Updated to latest ytmusicapi version to handle a lot of the changes that youtube has implemented.  Unfortunately there is still an issue with uploaded music...
  • Loading branch information
github-actions[bot] committed Sep 5, 2021
1 parent cb601fc commit e9b4741
Show file tree
Hide file tree
Showing 6 changed files with 205 additions and 162 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
Changelog
*********

v0.3.1
========================================

- update to latest ytmusicapi
- Fix badge alt text in README.rst

v0.3.0
========================================

Expand Down
6 changes: 5 additions & 1 deletion mopidy_ytmusic/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,11 @@ def albumToTracks(self, album, bId):
except ValueError:
length = [0, 0]
# Annoying workaround for Various Artists
if "artists" not in song or song["artists"] == artistname or song["artists"] is None:
if (
"artists" not in song
or song["artists"] == artistname
or song["artists"] is None
):
songartists = artists
else:
songartists = [Artist(name=song["artists"])]
Expand Down
Loading

0 comments on commit e9b4741

Please sign in to comment.