Fixes the issue #75

Some albums like [NCS: Infinity](https://music.youtube.com/browse/MPREb_cIll1xTklJL) & [NCS: Alpha](https://music.youtube.com/browse/MPREb_PAcC7ycC6GP) give no first track at the moment. Simply changing the index fixes the issue.
This commit is contained in:
Hitesh Kumar Saini 2020-09-08 16:46:14 +05:30 • committed by GitHub
commit 9bded79ea2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -418,7 +418,7 @@ class BrowsingMixin:
else:
likes[parent_track] = like_state[:-1]
for item in data[4:]:
for item in data[3:]:
if 'musicTrack' in item['payload']:
track = {}
track['index'] = item['payload']['musicTrack']['albumTrackIndex']