mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 19:31:02 +01:00
Preload the next item in the playlist correctly when it's a radio station.
This commit is contained in:
parent
c2843345f1
commit
af3f8bcdfe
@ -547,6 +547,11 @@ void Player::TrackAboutToEnd() {
|
||||
if (!item)
|
||||
return;
|
||||
|
||||
// Get the actual track URL rather than the stream URL.
|
||||
if (item->options() & PlaylistItem::ContainsMultipleTracks) {
|
||||
item->LoadNext();
|
||||
return;
|
||||
}
|
||||
engine_->StartPreloading(item->Url());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user