mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-10 00:30:41 +01:00
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…
x
Reference in New Issue
Block a user