{% set list = ['Jazz','Afternoon','My Special','Pop','Jazz Uno'] %}
{% set count = namespace(value=0) %}
{%- for row in range(now().day) %}
{%- if count.value < list|count %}
{%- if loop.last %}
{{list[count.value]}}
{% endif -%}
{% set count.value = count.value + 1 %}
{%- else -%}
{% set count.value = 0 %}
{% endif -%}
{%- endfor %}
trying to create a rolling playlist that iterates over itself each day. can’t for the life of me figure out why at the 6, 12, etc iteration it doesn’t return anything.