mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 19:31:02 +01:00
Compare encoded urls. Fixes issue 2842. Some random tracks are not properly read from the cue sheet after clementine restart
This commit is contained in:
parent
875b297278
commit
c7be61f11d
@ -206,7 +206,7 @@ PlaylistItemPtr PlaylistBackend::RestoreCueData(PlaylistItemPtr item, boost::sha
|
||||
}
|
||||
|
||||
foreach(const Song& from_list, song_list) {
|
||||
if(from_list.url() == song.url() &&
|
||||
if(from_list.url().toEncoded() == song.url().toEncoded() &&
|
||||
from_list.beginning_nanosec() == song.beginning_nanosec()) {
|
||||
// we found a matching section; replace the input
|
||||
// item with a new one containing CUE metadata
|
||||
|
Loading…
Reference in New Issue
Block a user