Skip to content

Fix _parseTags() causing error when songs are missing tags#17

Open
benpm wants to merge 3 commits intofeross:masterfrom
benpm:master
Open

Fix _parseTags() causing error when songs are missing tags#17
benpm wants to merge 3 commits intofeross:masterfrom
benpm:master

Conversation

@benpm
Copy link
Copy Markdown

@benpm benpm commented Jul 30, 2021

Really simply fix, just making _parseTags() return an empty list when track.toptags or track.toptags.tag are missing

Edit: okay the issue i was experiencing was actually because tags.tag can sometimes be an object instead of an array of objects:
image

So now I've fixed _parseTags so that it can handle that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant