From 3b133a756dd4338f2d870992b5ae115312d72b89 Mon Sep 17 00:00:00 2001 From: Kenneth Bier Date: Sat, 11 Dec 2021 14:08:28 -0500 Subject: [PATCH] Fix issue #242 Fix issue [242](https://github.com/sigma67/ytmusicapi/issues/242) by changing run_count check to == 5. --- ytmusicapi/mixins/playlists.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ytmusicapi/mixins/playlists.py b/ytmusicapi/mixins/playlists.py index ce60a23..a1f6b84 100644 --- a/ytmusicapi/mixins/playlists.py +++ b/ytmusicapi/mixins/playlists.py @@ -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(