NPS - Preview does not update next track info

Issue description:

Not really an issue but I am posting it here for reference by other users.

The Now Playing Screen’s preview does not update %next.title% (and likely other %next._% variables) when cycling repeat modes.

Once more for clarity: this only affects the PREVIEW screen.

Logs:

Upload description: Celorien_NPS_PreviewNext

Additional information:

Normally, enabling “Repeat - One” should set %next.title% to the same value as %title%. Enabling “Repeat - All” while at the last track in a queue should set %next.title% to the title of the first track in the queue.

However, in the NPS preview this does not happen. The preview seems to maintain a strict 3-track queue. “Repeat - One” and “Repeat - All” do NOT affect the value of %next.title% in the preview.

This means that many custom strings with conditions tied to a value of %next.title% when at the end of the queue will fail.

Reproduction steps:

Move to end of queue and cycle repeat mode. Strings conditioned on %next.title% misbehave

Media provider:

Local device

Screenshots:

For the following, BLUE is actual NPS screen and YELLOW is NPS preview.

Repeat - All

“Up Next” info and the “bullet” spacer are missing in preview. Both conditioned on next.title

Repeat - One

“Repeat” line with next.title info does not appear because next.title is not set in preview.