1 Description: Call taglib_file_is_valid() for input audio files
2 Check that the file contains valid audio information to determine whether
3 the plugin should act on it or not.
4 Origin: other, http://bugzilla.xfce.org/attachment.cgi?id=2879
5 Bug: http://bugzilla.xfce.org/show_bug.cgi?id=6297
7 thunar-plugin/media-tags-provider.c | 5 +++--
8 1 files changed, 3 insertions(+), 2 deletions(-)
10 diff --git a/thunar-plugin/media-tags-provider.c b/thunar-plugin/media-tags-provider.c
11 index a7604ea..2c31a98 100644
12 --- a/thunar-plugin/media-tags-provider.c
13 +++ b/thunar-plugin/media-tags-provider.c
14 @@ -163,10 +163,11 @@ media_tags_get_audio_file_supported (ThunarxFileInfo *info)
16 if (G_LIKELY (taglib_file != NULL))
18 + /* Check that the file contains valid audio info */
19 + supported = taglib_file_is_valid (taglib_file);
21 /* Free the taglib file */
22 taglib_file_free (taglib_file);