[grilo-plugins] thegamesdb: Update the Dreamcast MIME type



commit 4a45313d0c9721940953590f410f061105cf85de
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Sat Nov 7 09:53:47 2020 +0100

    thegamesdb: Update the Dreamcast MIME type
    
    The application/x-dc-rom MIME type was removed as it seems to come out
    of nowhere, the newly added application/x-dreamcast-rom type can replace
    it here and in GNOME Games.
    
    See:
    - https://gitlab.freedesktop.org/xdg/shared-mime-info/-/merge_requests/88
    - https://gitlab.freedesktop.org/xdg/shared-mime-info/-/merge_requests/89
    - https://gitlab.gnome.org/GNOME/gnome-games/-/merge_requests/430

 src/lua-factory/sources/grl-thegamesdb.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/lua-factory/sources/grl-thegamesdb.lua b/src/lua-factory/sources/grl-thegamesdb.lua
index 598d6dfc..4fc2dfe5 100644
--- a/src/lua-factory/sources/grl-thegamesdb.lua
+++ b/src/lua-factory/sources/grl-thegamesdb.lua
@@ -214,7 +214,7 @@ function get_platform_name(mime_type, suffix)
     platform_names['application/x-atari-5200-rom'] = 'Atari 5200'
     platform_names['application/x-atari-7800-rom'] = 'Atari 7800'
     platform_names['application/x-atari-lynx-rom'] = 'Atari Lynx'
-    platform_names['application/x-dc-rom'] = 'Sega Dreamcast'
+    platform_names['application/x-dreamcast-rom'] = 'Sega Dreamcast'
     platform_names['application/x-fds-disk'] = 'Famicom Disk System'
     platform_names['application/x-gameboy-rom'] = 'Nintendo Game Boy'
     platform_names['application/x-gameboy-color-rom'] = 'Nintendo Game Boy Color'


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