Fix issue [242](https://github.com/sigma67/ytmusicapi/issues/242) by changing run_count check to == 5.
This commit is contained in:
Kenneth Bier 2021-12-11 14:08:28 -05:00 • committed by sigma67
commit 3b133a756d
No known key found for this signature in database
GPG key ID: 1545A01D4474BAF0

View file

@ -86,7 +86,7 @@ class PlaylistsMixin:
'name': nav(header, SUBTITLE2),
'id': nav(header, ['subtitle', 'runs', 2] + NAVIGATION_BROWSE_ID, True)
}
if run_count > 3:
if run_count == 5:
playlist['year'] = nav(header, SUBTITLE3)
song_count = to_int(