MtpLoader: Allow empty artist
This commit is contained in:
parent
3ee796a663
commit
269f13de76
@ -84,7 +84,7 @@ bool MtpLoader::TryLoad() {
|
|||||||
|
|
||||||
Song song(Song::Source::Device);
|
Song song(Song::Source::Device);
|
||||||
song.InitFromMTP(track, url_.host());
|
song.InitFromMTP(track, url_.host());
|
||||||
if (song.is_valid() && !song.artist().isEmpty() && !song.title().isEmpty()) {
|
if (song.is_valid() && !song.title().isEmpty()) {
|
||||||
song.set_directory_id(1);
|
song.set_directory_id(1);
|
||||||
songs << song;
|
songs << song;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user