[grilo-plugins] thetvdb: Always search show names in all languages



commit 2b90f1bef196bc08969b206c81e12389049f04b1
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Aug 25 15:25:42 2015 +0200

    thetvdb: Always search show names in all languages
    
    Also update the tests' mock data to match.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=748423

 src/thetvdb/grl-thetvdb.c     |    2 +-
 tests/thetvdb/data/config.ini |   12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/thetvdb/grl-thetvdb.c b/src/thetvdb/grl-thetvdb.c
index d8e54ea..f00a020 100644
--- a/src/thetvdb/grl-thetvdb.c
+++ b/src/thetvdb/grl-thetvdb.c
@@ -51,7 +51,7 @@ GRL_LOG_DOMAIN_STATIC (thetvdb_log_domain);
 #define THETVDB_BASE_API    THETVDB_BASE "api/"
 #define THETVDB_BASE_IMG    THETVDB_BASE "banners/%s"
 
-#define THETVDB_GET_SERIES    THETVDB_BASE_API "GetSeries.php?seriesname=%s"
+#define THETVDB_GET_SERIES    THETVDB_BASE_API "GetSeries.php?language=all&seriesname=%s"
 #define THETVDB_GET_EPISODES  THETVDB_BASE_API "%s/series/%s/all/%s.zip"
 
 /* --- Files and Path to Images --- */
diff --git a/tests/thetvdb/data/config.ini b/tests/thetvdb/data/config.ini
index 59b48f4..527859c 100644
--- a/tests/thetvdb/data/config.ini
+++ b/tests/thetvdb/data/config.ini
@@ -2,37 +2,37 @@
 version=1
 
 # Boardwalk Empire
-[http://thetvdb.com/api/GetSeries.php?seriesname=Boardwalk Empire]
+[http://thetvdb.com/api/GetSeries.php?language=all&seriesname=Boardwalk Empire]
 data = boardwalk_empire_get_series.txt
 [http://thetvdb.com/api/THETVDB_TEST_MOCK_API_KEY/series/84947/all/en.zip]
 data = boardwalk_empire_series_all_en.zip
 
 # Adventure Time
-[http://thetvdb.com/api/GetSeries.php?seriesname=Adventure Time]
+[http://thetvdb.com/api/GetSeries.php?language=all&seriesname=Adventure Time]
 data = adventure_time_get_series.txt
 [http://thetvdb.com/api/THETVDB_TEST_MOCK_API_KEY/series/152831/all/en.zip]
 data = adventure_time_series_all_en.zip
 
 # Felicity
-[http://thetvdb.com/api/GetSeries.php?seriesname=Felicity]
+[http://thetvdb.com/api/GetSeries.php?language=all&seriesname=Felicity]
 data = felicity_get_series.txt
 [http://thetvdb.com/api/THETVDB_TEST_MOCK_API_KEY/series/73980/all/en.zip]
 data = felicity_series_all_en.zip
 
 # House
-[http://thetvdb.com/api/GetSeries.php?seriesname=House]
+[http://thetvdb.com/api/GetSeries.php?language=all&seriesname=House]
 data = house_get_series.txt
 [http://thetvdb.com/api/THETVDB_TEST_MOCK_API_KEY/series/73255/all/en.zip]
 data = house_series_all_en.zip
 
 # Naruto
-[http://thetvdb.com/api/GetSeries.php?seriesname=Naruto]
+[http://thetvdb.com/api/GetSeries.php?language=all&seriesname=Naruto]
 data = naruto_get_series.txt
 [http://thetvdb.com/api/THETVDB_TEST_MOCK_API_KEY/series/78857/all/en.zip]
 data = naruto_series_all_en.zip
 
 # CSI - Miami (fuzzy name)
-[http://thetvdb.com/api/GetSeries.php?seriesname=CSI - Miami]
+[http://thetvdb.com/api/GetSeries.php?language=all&seriesname=CSI - Miami]
 data = csi_miami_get_series.txt
 [http://thetvdb.com/api/THETVDB_TEST_MOCK_API_KEY/series/78310/all/en.zip]
 data = csi_miami_series_all_en.zip


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