Fixed a bug when the playqueue is emptied (by a rescan for example) and repeat all is active
This commit is contained in:
@@ -224,7 +224,7 @@ PlayQueue::loadTrack(std::size_t pos, bool play)
|
||||
// If out of range, stop playing
|
||||
if (pos >= tracklist->getCount())
|
||||
{
|
||||
if (!_repeatAll)
|
||||
if (!_repeatAll || tracklist->getCount() == 0)
|
||||
{
|
||||
stop();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user