[grilo-plugins] thetvdb: Unset "title-from-filename" when changing title



commit be0ad0303b183c1dddabeecb4e72ec97b04a7edb
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Nov 26 17:25:55 2014 +0100

    thetvdb: Unset "title-from-filename" when changing title
    
    https://bugzilla.gnome.org/show_bug.cgi?id=740763

 src/thetvdb/grl-thetvdb.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/thetvdb/grl-thetvdb.c b/src/thetvdb/grl-thetvdb.c
index 080bd4a..38557ef 100644
--- a/src/thetvdb/grl-thetvdb.c
+++ b/src/thetvdb/grl-thetvdb.c
@@ -835,6 +835,7 @@ thetvdb_update_media_from_resources (GrlMediaVideo *video,
 
       if (str != NULL) {
         grl_media_set_title (GRL_MEDIA (video), str);
+        grl_data_set_boolean (GRL_DATA (video), GRL_METADATA_KEY_TITLE_FROM_FILENAME, FALSE);
         g_free (str);
       } else
         failed_keys++;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]