Skip to content

Commit

Permalink
MythMusic: Pass the full filename to TagExists() in Metadata::getTagg…
Browse files Browse the repository at this point in the history
…er()

This fixes a bug when reading the metadata from flac files with ID3 tags.
(cherry picked from commit 459e806)

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
  • Loading branch information
Paul Harrison authored and stuartm committed May 18, 2012
1 parent 4a7845e commit 8c48b71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythplugins/mythmusic/mythmusic/metadata.cpp
Expand Up @@ -938,7 +938,7 @@ MetaIO* Metadata::getTagger(void)
return &metaIOOggVorbis;
else if (extension == "flac")
{
if (metaIOID3.TagExists(Filename()))
if (metaIOID3.TagExists(Filename(true)))
return &metaIOID3;
else
return &metaIOFLACVorbis;
Expand Down

0 comments on commit 8c48b71

Please sign in to comment.