Skip to content

14.0-b4: Can’t disable shuffle on playlists #3324

Closed

Description

@gonzabrusco

What happened?

It seems that in 14.0-b4 the shuffle option in Playlists is always activated. I wanted to make an specific sequence of effects but the playlists keeps being shuffled. I can’t uncheck "Shuffle" option. When you uncheck it and press Save, if you reload the Playlist the Shuffle option will be still checked.

I'm new to WLED but this seems like a bug. Can anybody confirm?

Thanks

To Reproduce Bug

Just create a Playlist not shuffled. The result will be a shuffled playlist.

Expected Behavior

Respect the playlist order.

Install Method

Binary from WLED.me

What version of WLED?

14.0-b4

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. changed the title [-]14.0-b4: Can´t disable shuffle on playlists[/-] [+]14.0-b4: Can’t disable shuffle on playlists[/+] on Aug 16, 2023
  2. dosipod commented on Aug 16, 2023

    @dosipod
    Contributor

    We have reported the same few days ago but seem the issue is fixed if you use the nightly builds from here https://wled-install.github.io/

  3. blazoncek commented on Aug 16, 2023

    @blazoncek
    Contributor

    I am able to save unrandomised playlist.

  4. softhack007 commented on Aug 16, 2023

    @softhack007
    Member

    I was able to reproduce the behaviour with "main" from today.

    It seems to be related to "repeat indefinitely"; if shuffle is unchecked but repeat ind. checked, then the next time you open the presets in UI, it shows "shuffle" checked.

    the relevant part of presets.json:

    "9":{"playlist":{"ps":[4,6,1],"dur":[200,300,100],"transition":[9,9,7],"repeat":-1,"end":0,"r":0},"on":true,"n":"dada dudu"}

    @blazoncek Might have something to do with below part of the code?

    https://github.com/Aircoookie/WLED/blob/a2bda5a4dbdc0ada93b66281c179c37b9a6393dc/wled00/playlist.cpp#L102-L106

    before "save"
    image

    after re-opening in UI
    image

  5. softhack007 commented on Aug 16, 2023

    @softhack007
    Member

    A workaround is to unckeck "repeat indefinitely", then unckeck "shuffle", and save.

  6. blazoncek commented on Aug 16, 2023

    @blazoncek
    Contributor

    It seems to be related to "repeat indefinitely"; if shuffle is unchecked but repeat ind. checked, then the next time you open the presets in UI, it shows "shuffle" checked.

    That is a lot more information. Thanks.

  7. gonzabrusco commented on Aug 16, 2023

    @gonzabrusco
    Author

    A workaround is to unckeck "repeat indefinitely", then unckeck "shuffle", and save.

    But if I need to "repeat indefinitely", how do I make it not shuffled?

  8. blazoncek commented on Aug 16, 2023

    @blazoncek
    Contributor

    But if I need to "repeat indefinitely", how do I make it not shuffled?

    Edit JSON.

  9. added
    fixed in source
    on Aug 16, 2023
  10. added a commit that references this issue on Aug 20, 2023
    7d45f82
  11. added a commit that references this issue on Dec 18, 2023
    5bfb04b
  12. added a commit that references this issue on Jan 31, 2024
    bf452e9
  13. added a commit that references this issue on Aug 18, 2026
    94eb5c4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfixed in source

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions