# Can a button cycle through playlists or just presets?

**URL:** <https://wled.discourse.group/t/can-a-button-cycle-through-playlists-or-just-presets/5920>\
**Category:** Questions\
**Created:** [September 7, 2022, 9:08pm UTC](https://wled.discourse.group/t/can-a-button-cycle-through-playlists-or-just-presets/5920 "2022-09-07T21:08:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Walfy07](https://avatars.discourse-cdn.com/v4/letter/w/839c29/32.png) [@Walfy07](https://wled.discourse.group/u/Walfy07)\
**Post date:** [September 7, 2022, 9:08pm UTC](https://wled.discourse.group/t/can-a-button-cycle-through-playlists-or-just-presets/5920/1 "2022-09-07T21:08:17Z")

</div>

Can a button cycle through playlists or just presets?

[https://kno.wled.ge/features/macros/](https://kno.wled.ge/features/macros/)

Is a little unclear to me.

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [September 7, 2022, 10:45pm UTC](https://wled.discourse.group/t/can-a-button-cycle-through-playlists-or-just-presets/5920/2 "2022-09-07T22:45:59Z")

</div>

They’re all the same thing, you just refer to the number of the playlist/preset and it’s internal definition tells WLED how to process the contents.

Or to put it another way, a preset is just a simplified playlist of only 1 item with default transition info.  
A playlist is the more general version of “n” presets listed in order with defined transitions.

You’ll note you can’t have a preset #7 _ **AND** _ a playlist #7 (or any other number).

---

<div class="post-metadata">

**Author:** ![Walfy07](https://avatars.discourse-cdn.com/v4/letter/w/839c29/32.png) [@Walfy07](https://wled.discourse.group/u/Walfy07)\
**Post date:** [September 8, 2022, 12:50pm UTC](https://wled.discourse.group/t/can-a-button-cycle-through-playlists-or-just-presets/5920/3 "2022-09-08T12:50:25Z")

</div>

Thanks

---

<div class="post-metadata">

**Author:** ![Piff](https://avatars.discourse-cdn.com/v4/letter/p/49beb7/32.png) [@Piff](https://wled.discourse.group/u/Piff)\
**Post date:** [December 7, 2023, 10:28pm UTC](https://wled.discourse.group/t/can-a-button-cycle-through-playlists-or-just-presets/5920/4 "2023-12-07T22:28:24Z")

</div>

Is there an example available for a button to cycle through playlists?  
I have a button that when I long press, would like to cycle through playlists 100-105. I created a preset with API Command: P1=100&P2=105&PL=~ and assigned it in the macros section. When I select the preset or press the button, it selects Playlist 100, but when press again will not cycle to Playlist 101. It just keeps selecting Playlist 100.

---

<div class="post-metadata">

**Author:** ![ALDIY](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/aldiy/32/2716_2.png) [@ALDIY](https://wled.discourse.group/u/ALDIY)\
**Post date:** [December 7, 2023, 10:36pm UTC](https://wled.discourse.group/t/can-a-button-cycle-through-playlists-or-just-presets/5920/5 "2023-12-07T22:36:43Z")

</div>

Have you tried something like the first two rows

 ![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/e/eff44845697195a53bde286b4fe107716c846e0e.png)

---

<div class="post-metadata">

**Author:** ![Piff](https://avatars.discourse-cdn.com/v4/letter/p/49beb7/32.png) [@Piff](https://wled.discourse.group/u/Piff)\
**Post date:** [December 15, 2023, 5:33am UTC](https://wled.discourse.group/t/can-a-button-cycle-through-playlists-or-just-presets/5920/6 "2023-12-15T05:33:25Z")

</div>

This was the bug that chatted about in discord and that I submitted to MM. It still exists in the xx27.31 release, but has been fixed in their dev builds. Thank for your help on this one!
