1
0
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:
Jonas Kvinge 2024-01-24 19:21:02 +01:00
parent 3ee796a663
commit 269f13de76

View File

@ -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;
}