Commit 96fa69ff authored by mobidyc's avatar mobidyc Committed by Max Kellermann

SongUpdate: accept files without metadata

If the file was recognized by a decoder plugin, accept it - don't require metadata.
parent 39d94bd3
...@@ -4,6 +4,7 @@ ver 0.18.6 (not yet released) ...@@ -4,6 +4,7 @@ ver 0.18.6 (not yet released)
* output * output
- openal: fix build failure on Mac OS X - openal: fix build failure on Mac OS X
- osx: fix build failure - osx: fix build failure
* accept files without metadata
ver 0.18.5 (2013/11/23) ver 0.18.5 (2013/11/23)
* configuration * configuration
......
...@@ -95,8 +95,7 @@ Song::UpdateFile() ...@@ -95,8 +95,7 @@ Song::UpdateFile()
TagBuilder tag_builder; TagBuilder tag_builder;
if (!tag_file_scan(path_fs, if (!tag_file_scan(path_fs,
&full_tag_handler, &tag_builder) || &full_tag_handler, &tag_builder))
!tag_builder.IsDefined())
return false; return false;
if (tag_builder.IsEmpty()) if (tag_builder.IsEmpty())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment