1
0
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:
John Maguire 2010-05-18 14:30:55 +00:00
parent c2843345f1
commit af3f8bcdfe

View File

@ -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());
}
}