Up Next Button Visibility Not Updating Dynamically

The CPNowPlayingTemplate.upNextButtonEnabled property does not consistently hide the Up Next (queue) button when set to false at runtime. We can reproduce this reliably:

  1. Start playback of a playlist (queue is available, upNextButtonEnabled = true).
  2. Switch to AI DJ playback (queue is not applicable, set upNextButtonEnabled = false).
  3. The Up Next button remains visible on the Now Playing screen.
  4. The button only disappears after the user navigates away from and back to the Now Playing view.

This appears to be a state refresh issue where the template does not re-render when the property is toggled during an active session.

  • Is this a known issue?
  • Is there a recommended workaround to force the Now Playing template to refresh its button visibility without requiring the user to navigate away?
  • Should we be using a different mechanism to dynamically control the visibility of the Up Next button based on playback context?
Answered by Frameworks Engineer in 891477022

Hi,

Please file a bug report so that we can more context to investigate the issue you are seeing. We will follow up in your report.

Hi,

Please file a bug report so that we can more context to investigate the issue you are seeing. We will follow up in your report.

Up Next Button Visibility Not Updating Dynamically
 
 
Q