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

Main playlist is not necesseraly the appropriate one #286

Closed
benoit74 opened this issue Aug 2, 2024 · 0 comments · Fixed by #296
Closed

Main playlist is not necesseraly the appropriate one #286

benoit74 opened this issue Aug 2, 2024 · 0 comments · Fixed by #296
Assignees
Labels
Milestone

Comments

@benoit74
Copy link
Collaborator

benoit74 commented Aug 2, 2024

Recipe: https://farm.openzim.org/recipes/litterature-audio-poetry_fr

Playlist order in recipe: PLyorzdODa1PPVarYHnzPv9rVgYr8KCerd,PL2DQc1tA1YU1DsXe2DiLdnjw0PaHNhzT9

Main playlist in ZIM: PL2DQc1tA1YU1DsXe2DiLdnjw0PaHNhzT9 (Littérature, théatre, philosophie)

I strongly suspect that problem lies here where we deduplicate playlists with list(set(...)). Since set order is not guaranteed, then this operation has not order guarantee.

If I'm not mistaken, this is a (very) old bug so it can wait 3.1 to be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants