summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Plazas <kekun.plazas@laposte.net>2020-11-07 09:53:47 +0100
committerVictor Toso <me@victortoso.com>2021-02-23 20:03:52 +0000
commit4a45313d0c9721940953590f410f061105cf85de (patch)
treef11ed312fe2693b1a9359aa67e824ea575cbc67a
parentb0e3c26b9a0f7fdd36032ea823344b29140773a6 (diff)
downloadgrilo-plugins-4a45313d0c9721940953590f410f061105cf85de.tar.gz
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
-rw-r--r--src/lua-factory/sources/grl-thegamesdb.lua2
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 598d6df..4fc2dfe 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'