summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-03-11Updated Greek translationHEADmasterTom Tryfonidis1-42/+44
2016-03-11lua-factory: use requested-keys as keys for lua apiVictor Toso1-3/+9
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
2016-03-11lua-factory: warn on certain mistakes in the source tableVictor Toso1-0/+21
This is a good way to pinpoint simple mistakes when creating the global source table https://bugzilla.gnome.org/show_bug.cgi?id=732879
2016-03-11lua-factory: not warn for unknown keys in source tableVictor Toso1-1/+2
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
2016-03-11tests: one lyric was changed in the metrolyricsVictor Toso1-20/+19
https://bugzilla.gnome.org/show_bug.cgi?id=732879
2016-03-11remove option: --enable-apple-trailersVictor Toso1-2/+1
Since 8e3135b41f73e0 the C plugin does not exist anymore. https://bugzilla.gnome.org/show_bug.cgi?id=732879
2016-03-04Added Occitan translationCédric Valmary2-0/+650
2016-03-03Updated Korean translationSeong-ho Cho1-33/+30
2016-03-01Updated Slovak translationDušan Kazik1-26/+27
2016-02-26tracker: map key names to SPARQL variablesfosero2-6/+18
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.
2016-02-23Updated Galician translationsFran Dieguez1-178/+179
2016-02-22lastfm-cover: don't return an empty tablefosero1-3/+9
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
2016-02-22lastfm-cover: thumbnails ordered from large to smallfosero1-3/+8
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
2016-02-18Updated Serbian translationМирослав Николић2-313/+314
2016-02-16Updated Swedish translationAnders Jonsson1-39/+40
2016-02-13Updated Chinese (Taiwan) translationChao-Hsiung Liao1-86/+87
2016-02-06Update Latvian translationRūdolfs Mazurs1-144/+130
2016-02-02Updated Slovenian translationMatej Urbančič1-125/+125
2016-02-02Updated Slovenian translationMatej Urbančič1-134/+135
2016-02-02Updated French translationAlexandre Franke1-40/+41
(cherry picked from commit 4fc78841c49280f3bb4a997410292b1bd4a8ddab)
2016-01-30tests: port lua-factory fake sources to new APIVictor Toso2-20/+19
https://bugzilla.gnome.org/show_bug.cgi?id=753141
2016-01-30lua-factory: port grl-guardianvideos.lua to the new lua systemGeorge Sedov1-9/+9
https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso <me@victortoso.com>
2016-01-30lua-factory: port grl-euronews.lua to the new lua systemGeorge Sedov1-8/+8
https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso <me@victortoso.com>
2016-01-30lua-factory: port grl-appletrailers.lua to the new lua systemGeorge Sedov1-19/+18
https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso <me@victortoso.com>
2016-01-30lua-factory: port grl-metrolyrics.lua to the new lua systemGeorge Sedov1-17/+18
https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso <me@victortoso.com>
2016-01-30lua-factory: port grl-video-title-parsing.lua to the new lua systemGeorge Sedov1-16/+11
https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso <me@victortoso.com>
2016-01-30lua-factory: port grl-pocket.lua to the new lua systemGeorge Sedov1-10/+10
https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso <me@victortoso.com>
2016-01-30lua-factory: port grl-spotify-cover.lua to the new lua systemGeorge Sedov1-16/+15
https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso <me@victortoso.com>
2016-01-30lua-factory: port grl-radiofrance.lua to the new lua systemGeorge Sedov1-7/+7
https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso <me@victortoso.com>
2016-01-30lua-factory: port grl-lastfm-cover.lua to the new lua systemGeorge Sedov1-15/+14
https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso <me@victortoso.com>
2016-01-30lua-factory: change grl.callback(), grl.fetch() and grl.unzip()George Sedov3-220/+199
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>
2016-01-30lua-factory: change grl.get_media_keys() into the static tableGeorge Sedov3-18/+39
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>
2016-01-30lua-factory: change grl.get_options() into the static tableGeorge Sedov3-219/+340
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>
2016-01-30lua-factory: remove dependency on GrlSource from plaintext verificationGeorge Sedov1-11/+28
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>
2016-01-25Updated Hungarian translationBalázs Meskó1-30/+29
2016-01-15lua-factory: Fix memory leak of listTim Lunn1-0/+1
https://bugzilla.gnome.org/show_bug.cgi?id=760565
2016-01-15lua-factory: avoid double free of GOA dataTim Lunn1-5/+6
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
2016-01-12Updated Lithuanian translationAurimas Černius1-4/+4
2016-01-10Updated Norwegian bokmål translation.Kjartan Maraas1-184/+180
2016-01-09lua-factory: Make containers match any supported_mediaCarlos Garnacho1-1/+1
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
2016-01-02Updated Brazilian Portuguese translationRafael Fontenelle1-165/+184
2015-12-31Updated Hebrew translationYosef Or Boczko1-123/+128
2015-12-29Updated German translationMario Blättermann1-210/+187
2015-12-26thetvdb: Bump gom requirementsBastien Nocera1-1/+1
This ensures that the version of gom supports creating new tables in subsequent database versions. https://bugzilla.gnome.org/show_bug.cgi?id=759835
2015-12-23Updated Czech translationMarek Černocký1-122/+126
2015-12-22Updated Indonesian translationAndika Triwidada1-26/+21
(cherry picked from commit 6073ef6f8c54c41821b472d1a91b692b90bc9c6d)
2015-12-20Updated Lithuanian translationAurimas Černius1-132/+131
2015-12-19Updated Portuguese translationPedro Albuquerque1-28/+27
2015-12-17Updated Spanish translationDaniel Mustieles1-7/+10
2015-12-17Updated Polish translationPiotr Drąg1-130/+125