Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
We always provided the requested-keys to the lua source as an array with
the metadata-keys as values. That's not so interesting as the source
will need to walk in the array to check which keys were requested.
As from commit 2bfcff90d589d43351 we started introducing the
requested-keys as an argument, it would be good to use this moment and
improve it.
A table with the metadata-keys as key could be easily accessed in the
source
e.g
if requested_keys.artist then
media.artist = my_artist
end
https://bugzilla.gnome.org/show_bug.cgi?id=732879
|
|
This is a good way to pinpoint simple mistakes when creating the global
source table
https://bugzilla.gnome.org/show_bug.cgi?id=732879
|
|
At load time, lua-sources may rely on metadata-keys created in another
plugin. The warning would cause any test on lua sources to fail unless
it loads all necessary plugins for its metadata-keys.
e.g.
(test_local_metadata:9549): Grilo-WARNING **: [lua-factory]
grl-lua-factory.c:895: Unknown key 'acoustid-fingerprint' in property
'required' for source 'grl-acoustid'
https://bugzilla.gnome.org/show_bug.cgi?id=732879
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=732879
|
|
Since 8e3135b41f73e0 the C plugin does not exist anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=732879
|
|
|
|
|
|
|
|
The Grilo tracker plugin maps grilo key names to SPARQL variables. Key
names can contains dashes for multipart key names, SPARQL variables
cannot. This adds an extra mapping to the key lookup that converts the
dashes to underscores that can be used as SPARQL variable names.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=761168.
|
|
|
|
In case no thumbnails are found we should just call the callback without
the empty table as it is consider valid GrlMedia for Lua-Factory.
Related: https://bugzilla.gnome.org/show_bug.cgi?id=761852
Related: https://bugzilla.gnome.org/show_bug.cgi?id=761694
|
|
This makes the plugin return the largest cover first as was previously
the behaviour with the standalone plugin and is expected by consumer
applications.
https://bugzilla.gnome.org/show_bug.cgi?id=761694
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(cherry picked from commit 4fc78841c49280f3bb4a997410292b1bd4a8ddab)
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=753141
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=753141
Acked-by: Victor Toso <me@victortoso.com>
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=753141
Acked-by: Victor Toso <me@victortoso.com>
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=753141
Acked-by: Victor Toso <me@victortoso.com>
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=753141
Acked-by: Victor Toso <me@victortoso.com>
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=753141
Acked-by: Victor Toso <me@victortoso.com>
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=753141
Acked-by: Victor Toso <me@victortoso.com>
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=753141
Acked-by: Victor Toso <me@victortoso.com>
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=753141
Acked-by: Victor Toso <me@victortoso.com>
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=753141
Acked-by: Victor Toso <me@victortoso.com>
|
|
This commit removes grl.callback() and changes the behavior of the
grl.fetch() and grl.unzip(). The grl.callback function is now provided
as a parameter to all the operations, and grl.fetch and grl.unzip now
require callback as a lua function, not a string. Also, they now accept
userdata.
This commit finishes the work of removing the OperationSpec from the
global scope.
functions grl_lua_library_save/load/remove_operation_data and
functions grl_lua_library_set/get_current_operation
were removed
functions grl_util_operation_spec_gc push_operation_spec_userdata
and grl_lua_library_push_grl_callback were added
https://bugzilla.gnome.org/show_bug.cgi?id=753141
Acked-by: Victor Toso <me@victortoso.com>
|
|
It's part of the work aimed at removing the OperationSpec from the
global scope.
grl_l_media_get_keys was replaced by grl_lua_library_push_grl_media
Although the GrlMedia is now a parameter for the lua source, Grilo
expects that the same GrlMedia object will be returned in the callback
for the Resolve operation [0]; For that reason we still keep track of
GrlMedia and merge it with the resulting GrlMedia from Lua source.
[0] see https://bugzilla.gnome.org/show_bug.cgi?id=760382#c3
https://bugzilla.gnome.org/show_bug.cgi?id=753141
Acked-by: Victor Toso <me@victortoso.com>
|
|
It's part of the work aimed at removing the OperationSpec from the
global scope.
grl_l_operation_get_keys was replced by push_operation_requested_keys
grl_l_operation_get_options was split and replaced by
push_operation_type_filter
push_operation_range_filters
push_operation_filters
grl_lua_library_push_grl_options
https://bugzilla.gnome.org/show_bug.cgi?id=753141
Acked-by: Victor Toso <me@victortoso.com>
|
|
It's part of the work aimed at removing the OperationSpec from the
global scope.
https://bugzilla.gnome.org/show_bug.cgi?id=753141
Acked-by: Victor Toso <me@victortoso.com>
|
|
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=760565
|
|
This fixes test suite failure under Ubuntu buildd's where there is not
running X session, so goa_client_new_finish() fails with an error.
https://bugzilla.gnome.org/show_bug.cgi?id=760565
|
|
|
|
|
|
Individually, containers are not likely to represent all 3 of
images/audio/video types at once, it feels a bit backwards that
lua plugins must use "all" in order to provide information for
containers.
Fixes album cover fetching on gnome-music after the port to
grilo 0.3.
https://bugzilla.gnome.org/show_bug.cgi?id=760378
|
|
|
|
|
|
|
|
This ensures that the version of gom supports creating new tables
in subsequent database versions.
https://bugzilla.gnome.org/show_bug.cgi?id=759835
|
|
|
|
(cherry picked from commit 6073ef6f8c54c41821b472d1a91b692b90bc9c6d)
|
|
|
|
|
|
|
|
|