• Max Kellermann's avatar
    Queue: "setprio" re-enqueues old song if priority has been raised · e7353ec7
    Max Kellermann authored
    This commit changes a minor queue priority design to something which
    makes a little bit more sense.
    
    Previously, a song that had already been played would only be
    re-enqueued if its priority had just been raised above the current
    song's.  This means that if it was already above, it was not
    re-enqueued.  That is a surprising behavior, because users expect a
    song to be played when its priority is raised.
    
    Now the song is always re-enqueued if its priority is raised (and
    above the current song's - no matter if it has already been above
    before).
    
     https://bugs.musicpd.org/view.php?id=4592
    e7353ec7
Queue.cxx 10.7 KB