[grilo-plugins] thegamesdb: Set 'PC' as the default platform



commit d646b449eda10d46601e59f1f5f8ff043b7cfbbf
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Tue Aug 2 19:27:13 2016 +0200

    thegamesdb: Set 'PC' as the default platform
    
    This adds PC games support.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769349

 src/lua-factory/sources/grl-thegamesdb.lua |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/lua-factory/sources/grl-thegamesdb.lua b/src/lua-factory/sources/grl-thegamesdb.lua
index 7c870e0..87840c6 100644
--- a/src/lua-factory/sources/grl-thegamesdb.lua
+++ b/src/lua-factory/sources/grl-thegamesdb.lua
@@ -250,7 +250,7 @@ function get_platform_name(mime_type, suffix)
       end
     end
 
-    return platform_names[mime_type]
+    return platform_names[mime_type] or 'PC'
 end
 
 function get_suffix (url)


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