You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I send in a 0 for repeat, my lights do nothing. When I send in any other value, it works. I found that if I send in a "-1", it cycles indefinitely. The code must be decrementing down to zero.
Quick fix: Update documentation so that indefinite is -1, not zero.
-1 is indefinite & random.
0 is supposed to be just indefinite (maintaining the order of playlist entries).
But as you found out, there is a bug that prevents playlist from running in such case.
As a temporary workaround you can set a high number as a "repeat" property.
Unfortunately this is limited to 127 ATM, I already prepared a fix and will submit a PR to @Aircoookie
Activity
blazoncek commentedon Jun 7, 2021
-1 is indefinite & random.
0 is supposed to be just indefinite (maintaining the order of playlist entries).
But as you found out, there is a bug that prevents playlist from running in such case.
blazoncek commentedon Jun 7, 2021
As a temporary workaround you can set a high number as a "repeat" property.
Unfortunately this is limited to 127 ATM, I already prepared a fix and will submit a PR to @Aircoookie
pmf2021 commentedon Jun 7, 2021
Thank you!
Aircoookie commentedon Jun 7, 2021
Fix merged to master :)