aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormobidyc <mobidyc@gmail.com>2013-12-10 19:34:35 +0100
committerMax Kellermann <max@duempel.org>2013-12-10 19:34:35 +0100
commit96fa69ff6b0a07602533b5280c6cfc39571b2552 (patch)
tree3820377c3c08ff1a2c33679e589dedbd99e4c155 /src
parent39d94bd3ea9e7c457f5a30bc3b4017f3d63294e5 (diff)
downloadmpd-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.cxx3
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())