diff options
author | mobidyc <mobidyc@gmail.com> | 2013-12-10 19:34:35 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-12-10 19:34:35 +0100 |
commit | 96fa69ff6b0a07602533b5280c6cfc39571b2552 (patch) | |
tree | 3820377c3c08ff1a2c33679e589dedbd99e4c155 /src | |
parent | 39d94bd3ea9e7c457f5a30bc3b4017f3d63294e5 (diff) | |
download | mpd-96fa69ff6b0a07602533b5280c6cfc39571b2552.tar.gz mpd-96fa69ff6b0a07602533b5280c6cfc39571b2552.tar.xz mpd-96fa69ff6b0a07602533b5280c6cfc39571b2552.zip |
SongUpdate: accept files without metadata
If the file was recognized by a decoder plugin, accept it - don't
require metadata.
Diffstat (limited to '')
-rw-r--r-- | src/SongUpdate.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/SongUpdate.cxx b/src/SongUpdate.cxx index a34734227..1a873fedc 100644 --- a/src/SongUpdate.cxx +++ b/src/SongUpdate.cxx @@ -95,8 +95,7 @@ Song::UpdateFile() TagBuilder tag_builder; if (!tag_file_scan(path_fs, - &full_tag_handler, &tag_builder) || - !tag_builder.IsDefined()) + &full_tag_handler, &tag_builder)) return false; if (tag_builder.IsEmpty()) |