[grilo-plugins] lua-factory: Fix "type" key in supported_keys



commit de86187687cb291f09ff92f8b845be4b0b39e137
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Feb 28 14:52:39 2014 +0100

    lua-factory: Fix "type" key in supported_keys
    
    All those sources declared the "type" metadata key as supported,
    but it's not actually a key. Remove it.
    
    Also fix "mime" keys, it's actually called "mime-type".

 src/lua-factory/sources/grl-euronews.lua       |    2 +-
 src/lua-factory/sources/grl-guardianvideos.lua |    2 +-
 src/lua-factory/sources/grl-radiofrance.lua    |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/lua-factory/sources/grl-euronews.lua b/src/lua-factory/sources/grl-euronews.lua
index b8ad65b..5fb69e3 100644
--- a/src/lua-factory/sources/grl-euronews.lua
+++ b/src/lua-factory/sources/grl-euronews.lua
@@ -30,7 +30,7 @@ source = {
   id = "grl-euronews-lua",
   name = "Euronews",
   description = "A source for watching Euronews online",
-  supported_keys = { "id", "title", "url", "type" },
+  supported_keys = { "id", "title", "url" },
   supported_media = 'video',
   tags = { 'news', 'tv' }
 }
diff --git a/src/lua-factory/sources/grl-guardianvideos.lua b/src/lua-factory/sources/grl-guardianvideos.lua
index dd451ac..59f68fa 100644
--- a/src/lua-factory/sources/grl-guardianvideos.lua
+++ b/src/lua-factory/sources/grl-guardianvideos.lua
@@ -30,7 +30,7 @@ source = {
   id = "grl-guardianvideos-lua",
   name = "The Guardian Videos",
   description = "A source for browsing videos from the Guardian",
-  supported_keys = { "id", "thumbnail", "title", "url", "type" },
+  supported_keys = { "id", "thumbnail", "title", "url" },
   supported_media = 'video',
   auto_split_threshold = 50,
   tags = { 'news' }
diff --git a/src/lua-factory/sources/grl-radiofrance.lua b/src/lua-factory/sources/grl-radiofrance.lua
index f52c7d1..3b84f4d 100644
--- a/src/lua-factory/sources/grl-radiofrance.lua
+++ b/src/lua-factory/sources/grl-radiofrance.lua
@@ -31,7 +31,7 @@ source = {
   id = "grl-radiofrance-lua",
   name = "Radio France",
   description = "A source for browsing Radio France radio stations",
-  supported_keys = { "id", "thumbnail", "title", "url", "type", "mime" },
+  supported_keys = { "id", "thumbnail", "title", "url", "mime-type" },
   icon = 'http://www.radiofrance.fr/sites/all/themes/custom/rftheme/logo.png',
   supported_media = 'audio',
   tags = { 'radio', 'country:fr' }


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