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.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);
|
||||
songs << song;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue