-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Uncaught error: Cannot read property 'length' of undefined #1667
Comments
Thanks for reporting this. Are you able to attach your config? It should be in Failing that, try |
I see it contains my playlists, for extra fun try to open the faulux playlist I imported from spotify - it'll make the UI almost unusable :D |
Thanks, this happens because Nuclear looks up the album data using the selected metadata provider. The album has a diferent ID in iTunes and Musicbrainz, so it can't look it up. But it's possible to simply use whatever is saved in the config withou making any extra requests, so I'm going to fix it this way. |
After a few more minutes, I realized that I already implemented what I said above years ago. The problem was that iTunes uses numbers as ids, and they weren't correctly compared to the albums saved in favorites, so I fixed that. In the next release this issue will be gone. |
Confirmed working now with 0.6.37 |
Platform: Flatpak
Nuclear version: 0.6.36
Description of the issue:
I found one album
onlywith the iTunesMusic provider and added that album to my favorites.I searched for another album and could only find that one on a different metadata provider.
Now I get
Uncaught error: Cannot read property 'length' of undefined
when I click on the first album in the favorite list.The UI reloads itself, any playing music gets a short outage. The application doesn't crash completely though.
I think the important steps are:
maybe it's required that it isn't available on a different search providerIn case you want to reproduce:
The album is "Welcome to War" by "Dex Arson".
OnlyiTunesMusic finds it by "Welcome to War - EP"The text was updated successfully, but these errors were encountered: