Skip to content

Conversation

quodrum-glas
Copy link
Contributor

Page iteration for child items expects PageCategory to have items but ALBUM_HEADER and ARTIST_HEADER is itself an item not an Object with items.
Wrapping those items in a pretend PageCategory so iteration will not throw an error.
Album has items itself but is a method and the error is even more confusing saying that items function can not be iterated.

Tests: local server test

@tehkillerbee
Copy link
Collaborator

@quodrum-glas Thanks for this PR. I did test it with my mopidy-tidal plugin and did not notice any (breaking) changes. But I do believe I added some workarounds a while back to fix a similar issue so perhaps that is why?

Have you got any example pages where this issue occurs?

@tehkillerbee tehkillerbee merged commit 56e7358 into EbbLabs:master Feb 28, 2024
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.

2 participants