Queue Size occasionally not updated

Issue description:

Slightly specific conditions but not unreasonable for others to encounter this, so here I am.

If playback is Paused, %queue.size% custom string does not update when adjusting queue items beyond the next track.

Logs:

Upload description: Celorien_QueueSize

Additional information:

 
The built-in ‘Queue Position’ string option updates correctly in all cases. The %queue.size% custom string updates correctly as long as media is currently Playing. It also updates correctly while paused if adding/removing tracks at positions <= (current.position +1)

It only fails to update when adding/removing tracks at positions >= (current.position +2)
 

Reproduction steps:

 
Let’s say you have a queue open with 7 tracks in it, and you are on track 3/7.
With playback PAUSED:

%queue.size% correctly returns “7”
Remove track 4 from the queue. %queue.size% correctly returns “6”
Remove track 6 from the queue. %queue.size% still returns “6” (should be “5”)
Add two new tracks to the queue. %queue.size% still returns “6” (should be “7”)
Resume playback. %queue.size% now updates and returns “7”
 

Media provider:

Local device

Screenshots:

     

Yes when playback is paused there’s less UI updates to reduce battery usage. This is too edge case for the impact it would have.

As long as it’s intended behavior, that’s fine for me.