Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

benpm
Copy link

@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