Permalink
Browse files

MythMusic: Pass the full filename to TagExists() in Metadata::getTagg…

…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...
1 parent 4a7845e commit 8c48b71821267f6b1c1374ad07911a6b9cced2c0 Paul Harrison committed with stuartm May 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythplugins/mythmusic/mythmusic/metadata.cpp
@@ -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;

0 comments on commit 8c48b71

Please sign in to comment.