[grilo-plugins] thegamesdb: Add PlayStation support



commit 38fa5acf3427830af97465fc51de19c3d97348bc
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Sun Jul 31 12:21:40 2016 +0200

    thegamesdb: Add PlayStation support
    
    Add PlayStation support via the unregistered
    'application/x-playstation-rom' MIME type as none is registered for
    PlayStation discs.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769347

 src/lua-factory/sources/grl-thegamesdb.lua |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/lua-factory/sources/grl-thegamesdb.lua b/src/lua-factory/sources/grl-thegamesdb.lua
index 185b9c7..97e4e54 100644
--- a/src/lua-factory/sources/grl-thegamesdb.lua
+++ b/src/lua-factory/sources/grl-thegamesdb.lua
@@ -217,6 +217,8 @@ function get_platform_name(mime_type, suffix)
     platform_names['application/x-nes-rom'] = 'Nintendo Entertainment System (NES)'
     platform_names['application/x-nintendo-ds-rom'] = 'Nintendo DS'
     platform_names['application/x-pc-engine-rom'] = 'TurboGrafx 16'
+    -- 'application/x-playstation-rom' is an unregistered MIME type
+    platform_names['application/x-playstation-rom'] = 'Sony Playstation'
     platform_names['application/x-saturn-rom'] = 'Sega Saturn'
     platform_names['application/x-sega-cd-rom'] = 'Sega CD'
     -- Also represents 'Sega Game Gear'


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