After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 769349 - thegamesdb: Add PC games support
thegamesdb: Add PC games support
Status: RESOLVED FIXED
Product: grilo
Classification: Other
Component: plugins
unspecified
Other Linux
: Normal normal
: ---
Assigned To: grilo-maint
grilo-maint
Depends on:
Blocks: 769350
 
 
Reported: 2016-07-31 10:45 UTC by Adrien Plazas
Modified: 2016-08-25 13:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
thegamesdb: Add PC games support (1.13 KB, patch)
2016-07-31 13:29 UTC, Adrien Plazas
none Details | Review
thegamesdb: Add PC games support (1.21 KB, patch)
2016-08-02 17:05 UTC, Adrien Plazas
none Details | Review
thegamesdb: Set 'PC' as the default platform (844 bytes, patch)
2016-08-02 17:28 UTC, Adrien Plazas
committed Details | Review

Description Adrien Plazas 2016-07-31 10:45:51 UTC
We should support PC games.

The 'application/x-desktop' MIME-type looks like a good candidate for that.
Comment 1 Adrien Plazas 2016-07-31 13:29:53 UTC
Created attachment 332436 [details] [review]
thegamesdb: Add PC games support

Add PC games support via the 'application/x-desktop' MIME type.
Comment 2 Bastien Nocera 2016-08-02 11:08:23 UTC
Review of attachment 332436 [details] [review]:

I'd really rather not overload the application/x-desktop mime-type.
application/x-pc-game ?
Comment 3 Adrien Plazas 2016-08-02 13:40:52 UTC
Yeah it makes sense to specify it's a game type, though PC may be a bit too specific, what about application/x-desktop-game?

Maybe we could even register it as a subtype of application/x-desktop, looking for "Game;" or similar lines, but it's probably not a good idea.
Comment 4 Bastien Nocera 2016-08-02 16:07:59 UTC
(In reply to Adrien Plazas from comment #3)
> Yeah it makes sense to specify it's a game type, though PC may be a bit too
> specific, what about application/x-desktop-game?
> 
> Maybe we could even register it as a subtype of application/x-desktop,
> looking for "Game;" or similar lines, but it's probably not a good idea.

But thegamesdb has a specific "PC" section, but it has a separate MacOS section too. So it's really not a "desktop" game. I'd rather we made that clear, especially as thegamesdb is to get games metadata.

We really don't want it to be related to any "real" mime-type, one registered in shared-mime-info, as we never have a single file PC game.
Comment 5 Adrien Plazas 2016-08-02 16:50:56 UTC
OK, I'm convinced. :)
Comment 6 Adrien Plazas 2016-08-02 17:05:25 UTC
Created attachment 332586 [details] [review]
thegamesdb: Add PC games support

Add PC games support via the unregistered 'application/x-pc-game' MIME
type.
Comment 7 Adrien Plazas 2016-08-02 17:28:37 UTC
Created attachment 332590 [details] [review]
thegamesdb: Set 'PC' as the default platform

This adds PC games support.
Comment 8 Bastien Nocera 2016-08-02 17:36:07 UTC
Review of attachment 332590 [details] [review]:

LGTM
Comment 9 Adrien Plazas 2016-08-25 07:20:46 UTC
Is it possible to merge this and the other patches related to thegamesdb soonish so we can use them in Games 3.22?
Comment 10 Adrien Plazas 2016-08-25 13:08:47 UTC
Attachment 332590 [details] pushed as d646b44 - thegamesdb: Set 'PC' as the default platform