get_watch_playlist: recognize audioPlaylistIds as playlists to not error on continuations (#246)

This commit is contained in:
sigma67 2021-12-20 10:21:17 +01:00
commit 878ae9a9bf
No known key found for this signature in database
GPG key ID: 1545A01D4474BAF0
2 changed files with 4 additions and 1 deletions

View file

@ -62,7 +62,8 @@ class WatchMixin:
}
}
body['playlistId'] = validate_playlist_id(playlistId)
is_playlist = body['playlistId'].startswith('PL')
is_playlist = body['playlistId'].startswith('PL') or \
body['playlistId'].startswith('OLA')
if params:
body['params'] = params
endpoint = 'next'