-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix parsing of album and views in parse_playlist_items #552
Conversation
Parse album and views columns as a function of flex column count and is_album property to cater for varying layouts with three and four flex columns
To allow for an easy distinction between owned / editable and community / non-editable playlists,in applications incorporating ytmusicapi, a boolean "own_playlist" dictionary entry is added to playlists based on existing code already identifying this property.
Add thumbnails to episodes for visual rendering in Kodi etc.
@sigma67 Please note that the three commits are independent contributions an that there are no dependencies between them whatsoever |
Add unit test for playlist "own_playlist" attribut
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution, looks good mostly. Some minor comments & please fix linter issues :)
- rename attribute for own playlists to playlist("owned") - filter out episode thumbnails with an non-functional URL
@fischcode linter is still failing |
Fix test for playlist["owned"]
Added a commit to fischcode/ytmusicapi but it fails to show up here ... |
No idea why I had seen useless images for those thumbnails before - maybe Google fixed something to make them work?
Parse album and views columns as a function of flex column count and is_album property to cater for varying layouts with three and four flex columns