[grilo-plugins] thetvdb: fetch show in cache with case insensitive



commit 8eec50c056c077039a577a44d94c42fedc2a9349
Author: Victor Toso <me victortoso com>
Date:   Wed Jul 16 22:52:25 2014 -0300

    thetvdb: fetch show in cache with case insensitive
    
    https://bugzilla.gnome.org/show_bug.cgi?id=733287

 src/thetvdb/grl-thetvdb.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/thetvdb/grl-thetvdb.c b/src/thetvdb/grl-thetvdb.c
index f7fff2f..5518fd5 100644
--- a/src/thetvdb/grl-thetvdb.c
+++ b/src/thetvdb/grl-thetvdb.c
@@ -1461,9 +1461,9 @@ thetvdb_execute_resolve_cache (OperationSpec *os)
   /* Get series async */
   g_value_init (&value, G_TYPE_STRING);
   g_value_set_string (&value, show);
-  query = gom_filter_new_eq (SERIES_TYPE_RESOURCE,
-                             SERIES_COLUMN_SERIES_NAME,
-                             &value);
+  query = gom_filter_new_like (SERIES_TYPE_RESOURCE,
+                               SERIES_COLUMN_SERIES_NAME,
+                               &value);
   g_value_unset (&value);
   gom_repository_find_one_async (tvdb_source->priv->repository,
                                  SERIES_TYPE_RESOURCE,


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