| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Allow lua thegamesdb to use developer, publisher, coop & players
keys.
|
|
|
|
|
|
|
|
|
|
| |
Currently lua plugins have no way of registering keys by themselves,
to use a new key it has to be added to system keys. This commit allows
lua plugins to register app-specific keys by itself by using
grl_data_set_for_id() and grl_data_add_for_id() introduced by Grilo in
0.3.6 release.
https://gitlab.gnome.org/GNOME/grilo/issues/1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead we define the class with G_DEFINE_TYPE_WITH_PRIVATE() or
include G_ADD_PRIVATE() when defining with code.
This also removes the usage of G_TYPE_INSTANCE_GET_PRIVATE() as we use
instead the _get_instance_private()
Notes:
- Only plugin skipped is Tracker as it needs more adjustments
- Some Private structures had to be renamed
e.g: GrlLocalMetadataSourcePriv -> GrlLocalMetadataSourcePrivate
e.g: GrlMetadataStorePrivate -> GrlMetadataStoreSourcePrivate
- The G_DEFINE_TYPE_WITH_PRIVATE() declaration might be moved as it
must be after the private struct definition and before the call for
_get_instance_private()
- Tested with grilo-test-ui and totem
|
|
|
|
|
|
|
|
|
|
| |
As Glib2 requirement was 2.44 since e0aecb45fc7eaa5 we can use the
same version for all glib components that are required in
Grilo-Plugins
- gmodule-2.0
- gobject-2.0
- glib-2.0
|
| |
|
|
|
|
|
| |
Fixes problem partially fixed in commit
e3196693258c2935023f482592ff16de6f6f56ec.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
https://gitlab.gnome.org/GNOME/grilo-plugins/issues/1
|
|
|
|
| |
https://gitlab.gnome.org/GNOME/grilo/issues/4
|
|
|
|
|
|
| |
The meson change from 4130f1d7006d62b3115923971dddce36eaa08848
https://bugzilla.gnome.org/show_bug.cgi?id=795361
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The base url of euronews source might depend on the language now.
The url previously pointed to flash stream as now it points to a m3u8
playlist, like:
| #EXTM3U
| #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2000000,RESOLUTION=1280x720
| ewnsabrdepri_ger_720p.m3u8
| #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1200000,RESOLUTION=960x540
| ewnsabrdepri_ger_540p.m3u8
| #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=750000,RESOLUTION=640x360
| ewnsabrdepri_ger_360p.m3u8
| #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=512000,RESOLUTION=400x224
| ewnsabrdepri_ger_224p.m3u8
| #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=350000,RESOLUTION=320x180
| ewnsabrdepri_ger_180p.m3u8
| #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=200000,RESOLUTION=160x90
| ewnsabrdepri_ger_90p.m3u8
Closes #3
Signed-off-by: Victor Toso <victortoso@redhat.com>
|
|
|
|
|
| |
Closes #2
Signed-off-by: Victor Toso <victortoso@redhat.com>
|
|
|
|
|
|
|
| |
Missed from db0b69b1136 where thegamesdb's lua source changed the base
api to http://legacy.thegamesdb.net/api
Signed-off-by: Victor Toso <victortoso@redhat.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current API has been deprecated and a date to be shutdown is yet
to be defined but in the meanwhile the url needs to be updated to keep
source working.
Quote from: https://forums.thegamesdb.net/viewtopic.php?t=27
On Jun 10, 2018
> 2 weeks ago we started redirecting http://thegamesdb.net/
> traffic to http://legacy.thegamesdb.net/,
> and now in 2 weeks time whats currently known as
> https://beta.thegamesdb.net/ would be moved to
> https://thegamesdb.net/
https://gitlab.gnome.org/GNOME/grilo-plugins/issues/6
Signed-off-by: Victor Toso <victortoso@redhat.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Currently thegamesdb only returns genre for games with a
single genre. This test checks that thegamesdb returns
multiple genres for the game Shatterhand.
|
|
|
|
|
|
|
|
|
|
|
| |
The _game.Genres_ table always contains a single _genre_ value. In
case the Game contains multiple genres, we should iterate over the
array in _game.Genres.genre_ which this patch does.
Merge-request: !5
https://bugzilla.gnome.org/show_bug.cgi?id=796231
Signed-off-by: Victor Toso <victortoso@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Changes "…" quotation marks to “…”, ' apostrophes to ’, - hyphens to —,
and one - hyphen to a colon.
See https://developer.gnome.org/hig/stable/typography.html
https://bugzilla.gnome.org/show_bug.cgi?id=772494
|
| |
|
|
|
|
|
|
| |
Support Virtual Boy games via 'application/x-virtual-boy-rom' MIME type.
https://bugzilla.gnome.org/show_bug.cgi?id=795943
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=795361
|
|
|
|
|
|
|
| |
Save the "computed" lyrics to a temporary file on disk, so as to avoid
having to guess how to have it downloaded and processed.
https://bugzilla.gnome.org/show_bug.cgi?id=795361
|
|
|
|
|
|
|
|
|
|
| |
Add TurboGrafx-CD support via the unregistered
'application/x-pc-engine-cd-rom' MIME type as none is registered for
TurboGrafx-CD discs, similar to PlayStation games.
Also move both TurboGrafx-CD and PlayStation to a separate section.
https://bugzilla.gnome.org/show_bug.cgi?id=795275
|
|
|
|
|
|
|
|
| |
Add Neo-Geo Pocket Color support via the
'application/x-neo-geo-pocket-color-rom' MIME type:
https://bugs.freedesktop.org/show_bug.cgi?id=106055
https://bugzilla.gnome.org/show_bug.cgi?id=795275
|
|
|
|
|
|
|
|
| |
Add WonderSwan and WonderSwan Color support via
'application/x-wonderswan-rom' and `application/x-wonderswan-color-rom'
MIME types.
https://bugzilla.gnome.org/show_bug.cgi?id=795275
|
|
|
|
|
|
| |
Add FDS support via the 'application/x-fds-disk' MIME type.
https://bugzilla.gnome.org/show_bug.cgi?id=795275
|
|
|
|
|
|
| |
Add Atari Lynx support via the 'application/x-atari-lynx-rom' MIME type.
https://bugzilla.gnome.org/show_bug.cgi?id=795275
|
|
|
|
|
|
|
|
|
| |
In that case, results_table.Data.Game would contain GameTitle, id and
other keys directly and #results_table.Data.Game would return 0.
All thegamesdb tests should pass now.
https://bugzilla.gnome.org/show_bug.cgi?id=794504
|
|
|
|
|
|
| |
This reverts commit 6a06a6fdbafb16d3e4137bfe2522845255eada49.
https://bugzilla.gnome.org/show_bug.cgi?id=794504
|
|
|
|
|
|
|
|
| |
This is a case of thegamesdb returning only one search result.
This test is expected to fail.
https://bugzilla.gnome.org/show_bug.cgi?id=794504
|
|
|
|
|
|
|
| |
grilo-plugins/src/tmdb/grl-tmdb.c: In function ‘grl_tmdb_source_resolve’:
grilo-plugins/src/tmdb/grl-tmdb.c:1346:17: warning: assignment to ‘GrlTmdbSource *’ {aka ‘struct _GrlTmdbSource *’} from incompatible pointer type ‘GrlSource *’ {aka ‘struct _GrlSource *’} [-Wincompatible-pointer-types]
closure->self = g_object_ref (source);
^
|
| |
|
|
|
|
|
|
|
|
|
| |
Itunes podcast api does not handle limit equal to -1: it always
returns a number of results lower than MAX_ITEMS.
This also resolves a bug inside fetch_search_results_cb and
fetch_browse_results_cb. These functions expect count to be positive.
https://bugzilla.gnome.org/show_bug.cgi?id=794849
|
|
|
|
|
|
|
|
| |
It follows the specifications defined at:
http://magnatune.com/info/sqlite-normalized
https://bugzilla.gnome.org/show_bug.cgi?id=794845
Signed-off-by: Victor Toso <me@victortoso.com>
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=794845
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Checking if table exists is not enough. If xml field exists,
grl.lua.xml.string_to_table() will include that into the returning
table.
Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=794504
|
| |
|