Store radio station 'name' field in extra map
This commit is contained in:
committed by
craig.p.drummond
parent
0fd082e595
commit
0e4bfcea2a
@@ -380,9 +380,10 @@ bool CueFile::parse(const QString &fileName, const QString &dir, QList<Song> &so
|
||||
Song song;
|
||||
song.file=constCueProtocol+fileName+"?pos="+QString::number(i);
|
||||
song.track=entry.trackNo;
|
||||
song.name=fileDir+entry.file; // HACK!!!
|
||||
if (!files.contains(song.name)) {
|
||||
files.insert(song.name);
|
||||
QString songFile=fileDir+entry.file;
|
||||
song.setName(songFile); // HACK!!!
|
||||
if (!files.contains(songFile)) {
|
||||
files.insert(songFile);
|
||||
}
|
||||
// the last TRACK for every FILE gets it's 'end' marker from the media file's
|
||||
// length
|
||||
|
||||
Reference in New Issue
Block a user