Open ProjectMoon opened 4 years ago
I need to update my Mopidy it seems. Still running on 2.1.0
I'd be happy to accept a PR for this fix if you feel like it. If not I'll try to tackle it in the coming days. I want to get this in good enough shape to submit to the mycroft-skills repo, so I'm very glad for your bug reports.
I can prepare a PR yes. Currently I just patched it to ignore the invalid records. There's another unrelated issue I'm investigating too, but it might not be an issue with this code
Mopidy 3 is returning some entries that look like this:
The list comprehension assumes the name is
Artist - Album
. When it encounters an entry like this, the list comprehension crashes and ultimately aborts the entire skill initialization process.This specifically affects the
get_gmusic_artists
method inmopidy_post.py
.It could be changed to something like this:
Of course, then you wind up getting duplicates (I have multiple unique
Unknown Album
s for some reason). A better temporary solution would probably be to either ignore these failures, or squash them all into one album as far as the skill is concerned.