Skip to content

Playlist will not go past the 1st Preset #3867

Open

Description

@morrisam74

What happened?

When making a Playlist with defined Presets, the Playlist will only play the 1st Preset in the Playlist and stay on that Preset.

To Reproduce Bug

Define at least 2 Presets. Define a Playlist with at least 2 Presets and Test.

Expected Behavior

Playlist should go through all the Presets in the Playlist within the timeframe of the Playlist.

Install Method

Binary from WLED.me

What version of WLED?

WLED 0.15.0-b1

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. blazoncek commented on Mar 31, 2024

    @blazoncek
    Contributor

    Please provide presets.json and cfg.json.

  2. Mattstir commented on Apr 2, 2024

    @Mattstir
    Contributor

    I came across the same problem today when setting up a new WLED instance with 0.15.0-b1. I applied config and presets from an identical light project that runs on 0.14.2. Everything worked as expected, only the transitions in playlist's didn't work for me.
    After downgrading the new instance also to 0.14.2 it started working as expected again without changing anything else.

    Background information in case its interesting:
    Board: D1 mini
    LEDs: WS2812B
    LED length: 44
    Segments 1 or 2 depening on the safed preset
    Happens on different playlists with different durations and different transition times

  3. blazoncek commented on Apr 2, 2024

    @blazoncek
    Contributor

    You are not providing what was requested.

  4. Ulmerju commented on Apr 2, 2024

    @Ulmerju

    See following issues:
    #3843 and #3844

  5. morrisam74 commented on Apr 4, 2024

    @morrisam74
    Author
  6. Doyle4 commented on Apr 7, 2024

    @Doyle4

    Happening to me also, one effect saved as Boot plays upon launch, but if a preset is made with multiple effects and set for boot using any method to set it does nothing, will boot up to orange.

  7. braveatheart commented on Apr 7, 2024

    @braveatheart

    I can confirm the problem for version v0.15.0-b1 "Kōsen". Playlists only show the first preset. When the allotted time for the preset has expired, the first preset will continue to be displayed. The playlist does not jump to the next preset. If random playback is activated, a random preset will be selected and displayed, but again it will not jump to the next preset after the time has elapsed.

  8. added
    waiting for feedback
    on Jun 23, 2024
  9. github-actions commented on Oct 21, 2024

    @github-actions

    Hey! This issue has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs.
    Thank you for using WLED! ✨

  10. added
    stale
    on Oct 21, 2024
  11. Mattstir commented on Oct 22, 2024

    @Mattstir
    Contributor

    This issue seems not fixed! (Please don't close it)
    Note: I for my part now always opted for older versions as I don't need the new versions in my projects!

  12. removed
    stale
    on Oct 22, 2024
  13. southsko commented on Dec 7, 2024

    @southsko

    I had a similar problem where the playlist did nothing. I flashed back to 14 and it works. There is a playlist bug

  14. netmindz commented on Dec 8, 2024

    @netmindz
    Member

    Please can you confirm @southsko and @Mattstir if you still see the issue with 0.15.0.rc.1?

  15. southsko commented on Dec 8, 2024

    @southsko

    Yes, I created the playlist with 0.15.0.rc.1 and it would not work at all. I flashed .14 over 0.15.0.rc.1 and it works.

  16. blazoncek commented on Dec 8, 2024

    @blazoncek
    Contributor

    I requested a non-working presets.json file and still, 9 months later, none is provided.

    However, my test showed that there might be a bug where 1st item in playlist may not have correct preset saved sometimes. The other issue is that if you save with shuffle option enabled, playlist may be saved with items shuffled.

    EDIT: Re-saving playlist resolves the incorrect preset issue.

  17. southsko commented on Dec 8, 2024

    @southsko

    {"0":{},"5":{"on":true,"bri":255,"transition":7,"mainseg":0,"seg":[{"id":0,"start":0,"stop":722,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[255,0,0],[255,255,255],[0,0,0]],"fx":37,"sx":128,"ix":128,"pal":0,"c1":128,"c2":128,"c3":16,"sel":true,"rev":false,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0}],"n":"Candy Cane Chase 2"},"10":{"on":true,"bri":128,"transition":7,"mainseg":0,"seg":[{"id":0,"start":0,"stop":722,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[255,160,0],[0,0,0],[0,0,0]],"fx":87,"sx":128,"ix":128,"pal":255,"c1":128,"c2":128,"c3":16,"sel":true,"rev":false,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0}],"n":"Glitter RWB","ql":"10"},"1":{"win":"T=1","n":"ON"},"3":{"on":true,"bri":255,"transition":7,"mainseg":0,"seg":[{"id":0,"start":0,"stop":722,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[255,0,0],[0,0,0],[0,0,0]],"fx":112,"sx":128,"ix":128,"pal":0,"c1":128,"c2":128,"c3":16,"sel":true,"rev":false,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0}],"n":"Dancing Shadows","ql":"3"},"2":{"win":"T=0","n":"OFF"},"4":{"on":true,"bri":255,"transition":7,"mainseg":3,"seg":[{"id":0,"start":0,"stop":149,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[255,0,0],[0,0,0],[0,0,0]],"fx":66,"sx":30,"ix":255,"pal":0,"c1":128,"c2":128,"c3":31,"sel":false,"rev":false,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":1},{"id":1,"start":149,"stop":339,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[0,0,255],[0,0,0],[0,0,0]],"fx":66,"sx":30,"ix":255,"pal":0,"c1":128,"c2":128,"c3":31,"sel":false,"rev":true,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":1},{"id":2,"start":339,"stop":447,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[255,170,0],[0,0,0],[0,0,0]],"fx":66,"sx":30,"ix":255,"pal":0,"c1":128,"c2":128,"c3":31,"sel":false,"rev":false,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":1},{"id":3,"start":447,"stop":722,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[255,170,0],[0,0,0],[0,0,0]],"fx":102,"sx":255,"ix":255,"pal":35,"c1":128,"c2":128,"c3":16,"sel":true,"rev":true,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":1},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0}],"n":"Fire on house","ql":"4"},"6":{"on":true,"bri":255,"transition":7,"mainseg":0,"seg":[{"id":0,"start":0,"stop":722,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[255,0,0],[0,0,0],[0,0,0]],"fx":74,"sx":219,"ix":249,"pal":11,"c1":128,"c2":128,"c3":16,"sel":true,"rev":false,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0}],"n":"Colortwinkles Rainbow","ql":"6"},"7":{"on":true,"bri":255,"transition":7,"mainseg":0,"seg":[{"id":0,"start":0,"stop":149,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[255,0,0],[0,0,0],[0,0,0]],"fx":66,"sx":30,"ix":255,"pal":0,"c1":128,"c2":128,"c3":31,"sel":false,"rev":false,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":1},{"id":1,"start":149,"stop":339,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[0,0,255],[0,0,0],[0,0,0]],"fx":66,"sx":30,"ix":255,"pal":0,"c1":128,"c2":128,"c3":31,"sel":false,"rev":true,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":1},{"id":2,"start":339,"stop":447,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[255,170,0],[0,0,0],[0,0,0]],"fx":66,"sx":30,"ix":255,"pal":0,"c1":128,"c2":128,"c3":31,"sel":false,"rev":false,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":1},{"id":3,"start":447,"stop":722,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[255,217,183],[0,0,0],[0,0,0]],"fx":90,"sx":248,"ix":33,"pal":62,"c1":128,"c2":128,"c3":16,"sel":true,"rev":true,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":1},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0}],"n":"Fireworks 1D","ql":"7"},"8":{"on":true,"bri":255,"transition":7,"mainseg":0,"seg":[{"id":0,"start":0,"stop":149,"grp":1,"spc":0,"of":0,"on":false,"frz":false,"bri":255,"cct":127,"set":0,"col":[[0,0,255],[0,0,0],[0,0,0]],"fx":90,"sx":128,"ix":128,"pal":62,"c1":128,"c2":128,"c3":16,"sel":true,"rev":false,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":1},{"id":1,"start":149,"stop":339,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[0,0,255],[0,0,0],[0,0,0]],"fx":90,"sx":128,"ix":128,"pal":62,"c1":128,"c2":128,"c3":16,"sel":true,"rev":true,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":1},{"id":2,"start":339,"stop":447,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[0,0,255],[0,0,0],[0,0,0]],"fx":90,"sx":128,"ix":128,"pal":62,"c1":128,"c2":128,"c3":16,"sel":true,"rev":false,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":1},{"id":3,"start":447,"stop":722,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[0,0,255],[0,0,0],[0,0,0]],"fx":90,"sx":128,"ix":128,"pal":62,"c1":128,"c2":128,"c3":16,"sel":true,"rev":true,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":1},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0}],"n":"Fireworks 1D wow","ql":"8"},"9":{"on":true,"bri":255,"transition":7,"mainseg":0,"seg":[{"id":0,"start":0,"stop":149,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[0,0,255],[0,0,0],[0,0,0]],"fx":90,"sx":128,"ix":128,"pal":62,"c1":128,"c2":128,"c3":16,"sel":true,"rev":false,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":1},{"id":1,"start":149,"stop":339,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[0,0,255],[0,0,0],[0,0,0]],"fx":90,"sx":128,"ix":128,"pal":62,"c1":128,"c2":128,"c3":16,"sel":true,"rev":true,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":1},{"id":2,"start":339,"stop":447,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[0,0,255],[0,0,0],[0,0,0]],"fx":90,"sx":128,"ix":128,"pal":62,"c1":128,"c2":128,"c3":16,"sel":true,"rev":false,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":1},{"id":3,"start":447,"stop":722,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[0,0,255],[0,0,0],[0,0,0]],"fx":90,"sx":128,"ix":128,"pal":62,"c1":128,"c2":128,"c3":16,"sel":true,"rev":true,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":1},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0}],"n":"Fireworks 1D RWB","ql":"9"},"11":{"on":true,"bri":128,"transition":7,"mainseg":0,"seg":[{"id":0,"start":0,"stop":722,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[255,160,0],[0,0,0],[0,0,0]],"fx":8,"sx":128,"ix":128,"pal":255,"c1":128,"c2":128,"c3":16,"sel":true,"rev":false,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":1},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0}],"n":"Colorloop RWB","ql":"11"},"12":{"on":true,"bri":128,"transition":7,"mainseg":0,"seg":[{"id":0,"start":0,"stop":722,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[255,160,0],[0,0,0],[0,0,0]],"fx":110,"sx":157,"ix":63,"pal":255,"c1":128,"c2":128,"c3":16,"sel":true,"rev":false,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":1},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0}],"n":"Flow RWB","ql":"12"},"13":{"on":true,"bri":255,"transition":7,"mainseg":0,"seg":[{"id":0,"start":0,"stop":722,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"n":"","col":[[255,0,0],[0,0,0],[8,255,0]],"fx":64,"sx":131,"ix":182,"pal":0,"c1":128,"c2":128,"c3":16,"sel":true,"rev":false,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0}],"n":"Juggle"},"14":{"on":true,"bri":255,"transition":7,"mainseg":0,"seg":[{"id":0,"start":0,"stop":722,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"n":"","col":[[255,0,0],[255,255,255],[8,255,0]],"fx":110,"sx":128,"ix":128,"pal":5,"c1":128,"c2":128,"c3":16,"sel":true,"rev":false,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":1},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0}],"n":"Flow Red White Green"},"15":{"on":true,"bri":255,"transition":7,"mainseg":0,"seg":[{"id":0,"start":0,"stop":722,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"n":"","col":[[255,0,0],[255,255,255],[8,255,0]],"fx":74,"sx":255,"ix":255,"pal":48,"c1":128,"c2":128,"c3":16,"sel":true,"rev":false,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0}],"n":"Colortwinkles C9"},"16":{"on":true,"bri":255,"transition":7,"mainseg":0,"seg":[{"id":0,"start":0,"stop":722,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"n":"","col":[[255,0,0],[255,255,255],[8,255,0]],"fx":68,"sx":64,"ix":128,"pal":52,"c1":128,"c2":128,"c3":16,"sel":true,"rev":false,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0}],"n":"Christmas churner: BPM c9"},"17":{"on":true,"bri":255,"transition":7,"mainseg":0,"seg":[{"id":0,"start":0,"stop":722,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"n":"","col":[[255,0,0],[255,255,255],[8,255,0]],"fx":48,"sx":5,"ix":255,"pal":48,"c1":128,"c2":128,"c3":16,"sel":true,"rev":false,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":1},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0}],"n":"Rolling Balls c9"} ,"18":{"playlist":{"ps":[15,14,16],"dur":[6000,6000,6000],"transition":[7,7,7],"repeat":0,"end":0,"r":0},"on":true,"n":"Xmas Playlist","ql":"18"} }

  18. blazoncek commented on Dec 9, 2024

    @blazoncek
    Contributor

    Plays well for me.

  19. blazoncek commented on Dec 10, 2024

    @blazoncek
    Contributor

    One more note regarding use of playlist as a boot preset.

    I noticed that sometimes 1st preset activated from playlist will not load properly but the playlist timer will count down toward next preset and will correctly apply it (i.e. after 10 minutes from above example). I am guessing a race condition somewhere in applyPreset() function or handlePreset().

  20. gbmerrall commented on Feb 12, 2025

    @gbmerrall

    New user here and experienced this issue. Think I've identified the issue. If you select the already selected option then the onChange() event doesn't correctly fire and the playlist (and hence plJson (which forms preset.json) records 0 for the index.

    Note to people experiencing this: Just show the playlist editor and manualyl update the the ps list with the numbers of your presets in the web UI.

    Version: 0.15.0 (build 2412100)

    To reproduce:

    1. Create 3 presets of your choice
    2. Create a playlist
    3. From the present dropdown select a preset that is not the default choice. I'll add preset 1 which is not the default.
    4. Open up your browser console and inspect the value of plJson[3] (or whatever your playlist is). You should see the value of the preset recorded

    {
    "ps": [
    1
    ],
    "dur": [
    300
    ],
    "transition": [
    7
    ],
    "repeat": 0,
    "end": 0,
    "r": false
    }

    1. Now add another preset to your playlist but this time just accept the preset that is already selected.
    2. Look at plJson again

    {
    "ps": [
    1,
    0
    ],
    "dur": [
    300,
    300
    ],
    "transition": [
    7,
    7
    ],
    "repeat": 0,
    "end": 0,
    "r": false
    }

    1. Now we'll edit the second entry to specifically select a different present (5 in my case). Again inspect plJson

    {
    "ps": [
    1,
    5
    ],
    "dur": [
    300,
    300
    ],
    "transition": [
    7,
    7
    ],
    "repeat": 0,
    "end": 0,
    "r": false
    }

    I believe this fix here with my somewhat limited JS would be to add a timeout to addPL() or refreshPlE() to call plePS() which would automatically update plJson with the correct value.

    Something along the lines of setTimeout(() => select.onchange(), 0);

    Edit: fixed name of refreshPlE()

  21. blazoncek commented on Feb 12, 2025

    @blazoncek
    Contributor

    Workaround: Select non-default (not 1st) preset and then change it to a desired preset.

  22. added
    confirmed
    workaround
    on Feb 12, 2025
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

    bugconfirmedwaiting for feedbackworkaround

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions