mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-02 10:36:45 +01:00
Formatting
This commit is contained in:
parent
5f156d6bab
commit
e2d8149dcf
@ -334,9 +334,11 @@ SongLoader::Result SongLoader::LoadLocalAsync(const QString &filename) {
|
||||
}
|
||||
|
||||
void SongLoader::LoadMetadataBlocking() {
|
||||
|
||||
for (int i = 0; i < songs_.size(); i++) {
|
||||
EffectiveSongLoad(&songs_[i]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void SongLoader::EffectiveSongLoad(Song *song) {
|
||||
@ -354,7 +356,7 @@ void SongLoader::EffectiveSongLoad(Song *song) {
|
||||
*song = collection_song;
|
||||
}
|
||||
else {
|
||||
// it's a normal media file
|
||||
// It's a normal media file
|
||||
QString filename = song->url().toLocalFile();
|
||||
TagReaderClient::Instance()->ReadFileBlocking(filename, song);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user