commit 1c1af9a4db065566291ef70a028920ec7ce36318 Author: Juan A. Suarez Romero Date: Wed Mar 19 13:51:28 2014 +0000 Release 0.2.12 AUTHORS | 3 +++ NEWS | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) commit ddfcc1eab0d38e906755690f86647b90a20a32f7 Author: Juan A. Suarez Romero Date: Wed Mar 19 13:54:06 2014 +0000 local-metadata: add test in dist tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit c62b5524663ea5bccb4a0032ff0ee58bd971648c Author: Victor Toso Date: Wed Mar 19 02:05:30 2014 -0300 metrolyrics: fix initial check up Artist and Title must be non empty strings. Return after callback. https://bugzilla.gnome.org/show_bug.cgi?id=726677 src/lua-factory/sources/grl-metrolyrics.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 5a487a50834cab26d46a748519fdf44f1c196745 Author: Bastien Nocera Date: Tue Mar 18 18:01:13 2014 +0100 tracker: Export file size https://bugzilla.gnome.org/show_bug.cgi?id=629002 src/tracker/grl-tracker-utils.c | 5 +++++ 1 file changed, 5 insertions(+) commit 3ceffa5fbdb974769ba6f6fa47183bef64ea7396 Author: Bastien Nocera Date: Tue Mar 18 10:47:10 2014 +0100 lua-factory: Protect against broken sources If no fetches are pending and grl.callback() was not called, throw a warning, and clean up after the source to avoid inconsistent states in front-ends. https://bugzilla.gnome.org/show_bug.cgi?id=725209 src/lua-factory/grl-lua-common.h | 2 ++ src/lua-factory/grl-lua-library.c | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+) commit fa88f91d329e2b1b6928406e24d633b6f12e005e Author: Bastien Nocera Date: Tue Mar 18 09:21:38 2014 +0100 lua-factory: Fix concurrent Lua calls to same source This ensures that each fetch callback is called with the correct OperationSpec as the current one, so that we avoid leaking memory or crashing when 2 items overwrite the only store for OperationData. Before each lua_pcall(), set the current operation data, and unset it after. https://bugzilla.gnome.org/show_bug.cgi?id=726563 src/lua-factory/grl-lua-common.h | 6 ++- src/lua-factory/grl-lua-factory.c | 14 ++++- src/lua-factory/grl-lua-library.c | 109 +++++++++++++++++++++++++++++++++++--- 3 files changed, 120 insertions(+), 9 deletions(-) commit 10d7ba8445296383f8e242ac0604e3680473d5ad Author: Bastien Nocera Date: Mon Mar 17 16:52:09 2014 +0100 lua-factory: Assert when overwriting user_data with concurrent resolves This will assert when multiple resolve calls are launched concurrently for the same lua source. We would set the operation spec for that state when calling resolve, but as it is asynchronous, the state would get assigned multiple operation specs, with the latter overwriting the earlier one. This is easily reproduced by browsing in grilo-test-ui and select different video items quickly, so one of the lua sources that implements resolve() gets called twice with the same lua state. The fix might be to have one lua state per call, or have a way to get the operation spec for that particular resolve call. https://bugzilla.gnome.org/show_bug.cgi?id=726563 src/lua-factory/grl-lua-factory.c | 2 ++ src/lua-factory/grl-lua-library.c | 3 +++ 2 files changed, 5 insertions(+) commit 19a8dafc554d1c67c19adf41ed1135af560ab936 Author: Bastien Nocera Date: Mon Mar 17 16:50:32 2014 +0100 lua-factory: Print URL for failed fetches When a network fetch fails, show the URL of the fail call, so that the lua script can be fixed/debugged. https://bugzilla.gnome.org/show_bug.cgi?id=726562 src/lua-factory/grl-lua-library.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 22adabb41ef4b28cc010783520540a7111b75a55 Author: Bastien Nocera Date: Fri Mar 14 21:30:38 2014 +0100 tmdb: Fix possible assertion at run-time When making a single request, we would very likely assert making the request because the address of the list pointer wasn't a valid GrlTmdbRequestDetail value. https://bugzilla.gnome.org/show_bug.cgi?id=726372 src/tmdb/grl-tmdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 18cf4d82acf30ba0b5565d9655b4c6eb6e7caada Author: Bastien Nocera Date: Fri Mar 14 15:46:48 2014 +0100 bookmarks: Pass the removed media when notifying When notifying of changes, pass the removed item, not its parent box. https://bugzilla.gnome.org/show_bug.cgi?id=726349 src/bookmarks/grl-bookmarks.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 0a6bdd19590f41dd1b04a7e7d3be7a951d31a946 Author: naybnet Date: Sun Mar 16 15:35:19 2014 +0000 Updated French translation po/fr.po | 128 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 75 insertions(+), 53 deletions(-) commit 7a9f52ad741fcc838c0dc2f97e9b3cdd54d33c3e Author: Yuri Myasoedov Date: Fri Mar 14 09:12:19 2014 +0400 Updated Russian translation po/ru.po | 120 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 70 insertions(+), 50 deletions(-) commit b281cc2712e9ea11659a3f787757f5c816917cd3 Author: Seong-ho Cho Date: Thu Mar 13 01:18:37 2014 +0900 Updated Korean translation po/ko.po | 234 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 128 insertions(+), 106 deletions(-) commit fee14af6c5ef035350222329be0207e442bead24 Author: Tiagosdot Date: Tue Mar 11 16:08:36 2014 +0000 Updated Portuguese translation po/pt.po | 128 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 75 insertions(+), 53 deletions(-) commit 8653a04e11d7b66c94d908b5613114e88ed049e5 Author: Chao-Hsiung Liao Date: Sun Mar 9 12:52:42 2014 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 123 +++++++++++++++++++++++++++++++++++------------------------- po/zh_TW.po | 123 +++++++++++++++++++++++++++++++++++------------------------- 2 files changed, 144 insertions(+), 102 deletions(-) commit 242114989f0a2308539a9b60d262c8fe9b9d0628 Author: Juan A. Suarez Romero Date: Sun Mar 9 00:36:22 2014 +0000 all: Do not leak icon src/apple-trailers/grl-apple-trailers.c | 1 + src/bliptv/grl-bliptv.c | 18 +++++++++++------- src/freebox/grl-freebox.c | 2 ++ src/lua-factory/grl-lua-factory.c | 1 + src/pocket/grl-pocket.c | 1 + src/raitv/grl-raitv.c | 18 +++++++++++------- src/upnp/grl-upnp.c | 1 + src/vimeo/grl-vimeo.c | 18 +++++++++++------- src/youtube/grl-youtube.c | 1 + 9 files changed, 40 insertions(+), 21 deletions(-) commit bebda14ffc2eae9814bcd64fe11054af27a0246f Author: Rūdolfs Mazurs Date: Fri Mar 7 22:03:11 2014 +0200 Updated Latvian translation po/lv.po | 120 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 70 insertions(+), 50 deletions(-) commit 6eea596179a834ef0e0a3b5103554e9d2a4ce705 Author: Juan A. Suarez Romero Date: Wed Mar 5 19:40:46 2014 +0100 all: Use g_clear_pointer/object when possible Reduces the number of lines and makes the code more readable. src/apple-trailers/grl-apple-trailers.c | 13 +++------- src/bliptv/grl-bliptv.c | 26 +++++++------------ src/bookmarks/grl-bookmarks.c | 14 +++------- src/filesystem/grl-filesystem.c | 16 ++++-------- src/flickr/grl-flickr.c | 25 +++++------------- src/jamendo/grl-jamendo.c | 19 ++++---------- src/lastfm-albumart/grl-lastfm-albumart.c | 10 +++---- src/local-metadata/grl-local-metadata.c | 7 ++--- src/lua-factory/grl-lua-factory.c | 24 +++++------------ src/magnatune/grl-magnatune.c | 3 +-- src/metadata-store/grl-metadata-store.c | 7 ++--- src/optical-media/grl-optical-media.c | 3 +-- src/podcasts/grl-podcasts.c | 36 ++++++++----------------- src/raitv/grl-raitv.c | 33 +++++++---------------- src/shoutcast/grl-shoutcast.c | 39 +++++++--------------------- src/tmdb/grl-tmdb-request.c | 30 ++++----------------- src/tracker/grl-tracker-request-queue.c | 4 +-- src/tracker/grl-tracker-source-api.c | 12 +++------ src/tracker/grl-tracker-source-notif.c | 6 ++--- src/tracker/grl-tracker-source.c | 10 +++---- src/tracker/grl-tracker.c | 3 +-- src/upnp/grl-upnp.c | 19 ++++---------- src/vimeo/grl-vimeo.c | 7 ++--- src/vimeo/gvimeo.c | 5 +--- src/youtube/grl-youtube.c | 30 ++++++--------------- tests/tmdb/test_tmdb_fast_resolution.c | 7 ++--- tests/tmdb/test_tmdb_fast_resolution_by_id.c | 7 ++--- tests/tmdb/test_tmdb_full_resolution.c | 7 ++--- tests/tmdb/test_tmdb_missing_configuration.c | 11 +++----- tests/tmdb/test_tmdb_preconditions.c | 7 ++--- 30 files changed, 121 insertions(+), 319 deletions(-) commit 72cd172512703463935a49a19fffc1b882676742 Author: Balázs Úr Date: Wed Mar 5 16:23:01 2014 +0000 Updated Hungarian translation po/hu.po | 126 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 74 insertions(+), 52 deletions(-) commit 61fb064253d67e5d5acc0402ba2fc7388d30bdc1 Author: Fran Diéguez Date: Mon Mar 3 21:15:13 2014 +0100 Updated Galician translations po/gl.po | 162 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 90 insertions(+), 72 deletions(-) commit 33ba4c70b55bba3ad878c40264b634af0f766674 Author: Bastien Nocera Date: Fri Feb 28 21:23:37 2014 +0100 all: Add names to all the timeouts and idles For debugging purposes. https://bugzilla.gnome.org/show_bug.cgi?id=725420 src/apple-trailers/grl-apple-trailers.c | 4 +++- src/filesystem/grl-filesystem.c | 5 ++++- src/jamendo/grl-jamendo.c | 3 ++- src/podcasts/grl-podcasts.c | 4 +++- src/shoutcast/grl-shoutcast.c | 15 +++++++++++---- src/vimeo/gvimeo.c | 4 +++- 6 files changed, 26 insertions(+), 9 deletions(-) commit d4f2db6e6c73156070803f89a683bdabc3d638eb Author: Dominique Leuenberger Date: Fri Feb 28 22:40:30 2014 +0100 pocket: initialize variables https://bugzilla.gnome.org/show_bug.cgi?id=725425 src/pocket/gnome-pocket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c7deda338509d7f51df5fba299009df6268a5419 Author: Juan A. Suarez Romero Date: Sun Mar 2 00:13:10 2014 +0000 lua-factory: Add cast conversion src/lua-factory/grl-lua-library.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1a9c913ce8ae07eebe16ead7c8fe3344bb8f06b8 Author: Bastien Nocera Date: Sat Mar 1 20:42:25 2014 +0100 lua-factory: Add support for operation-id option This is necessary to allow chaining calls while keeping state between them using global variable. src/lua-factory/grl-lua-library.c | 5 +++++ 1 file changed, 5 insertions(+) commit 337937b5a16d84467e3b0852c70b38bb4a899fd9 Author: Bastien Nocera Date: Sat Mar 1 20:41:47 2014 +0100 lua-factory: Don't warn for the "type" key We don't handle it in this loop, but it's correct to define the type of a GrlMedia and handled just above. src/lua-factory/grl-lua-library.c | 6 ++++++ 1 file changed, 6 insertions(+) commit fcea8fe6c51f636dcd367b99e56fedf5d5e45bc0 Author: Bastien Nocera Date: Sat Mar 1 20:40:41 2014 +0100 radiofrance: Fix incorrect "mime" key It's supposed to be "mime-type". src/lua-factory/sources/grl-radiofrance.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 44f81e4ebdf69355806ec8b0276de9bbdc5509f2 Author: Bastien Nocera Date: Wed Feb 19 10:22:08 2014 +0100 filesystem: Bail out early for cancelled operations https://bugzilla.gnome.org/show_bug.cgi?id=725203 src/filesystem/grl-filesystem.c | 4 ++++ 1 file changed, 4 insertions(+) commit de86187687cb291f09ff92f8b845be4b0b39e137 Author: Bastien Nocera Date: Fri Feb 28 14:52:39 2014 +0100 lua-factory: Fix "type" key in supported_keys All those sources declared the "type" metadata key as supported, but it's not actually a key. Remove it. Also fix "mime" keys, it's actually called "mime-type". src/lua-factory/sources/grl-euronews.lua | 2 +- src/lua-factory/sources/grl-guardianvideos.lua | 2 +- src/lua-factory/sources/grl-radiofrance.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 8bf06cf7d7c9bd96034dfbe3e36771fdc45bcc52 Author: Bastien Nocera Date: Fri Feb 28 14:52:02 2014 +0100 lua-factory: Better warnings for unknown keys So that script writers can see where the keys come from. src/lua-factory/grl-lua-factory.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit d830e9320c52f72efad2624b9bbfa7c24bde56e4 Author: Bastien Nocera Date: Fri Feb 28 14:19:33 2014 +0100 lua-factory: More warnings with unknown/unhandled metadata keys Print out a warning when a key name is not registered, and upgrade to a warning statement the debug output that warned about unhandled GTypes. src/lua-factory/grl-lua-library.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 052ef9786ee007099651245db5eda1209a6e3261 Author: Bastien Nocera Date: Fri Feb 28 14:18:18 2014 +0100 lua-factory: Factor out redundant code in lua_plugin_source_all_keys The loop that gets the key names, checks if they exist, and adds them to a list was repeated 3 times. Factor it out instead. src/lua-factory/grl-lua-factory.c | 84 +++++++++++++++++---------------------- 1 file changed, 37 insertions(+), 47 deletions(-) commit cf34c76278ec1cc4e5c852c885b48b18527cfcf0 Author: Bastien Nocera Date: Fri Feb 28 13:52:10 2014 +0100 lua-factory: Fix warnings when resolution fails If the resolution fails, or the media passed from the callback function is not in the right format, we need to pass back the untouched original media, not NULL. src/lua-factory/grl-lua-library.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e60fa1fb0e6fadaa4dd5a610db3a189cd4e86093 Author: Bastien Nocera Date: Fri Feb 28 10:26:40 2014 +0100 lua-factory: Add grl.unescape() and grl.decode helpers grl.decode will decode '%' encoded strings (usually URLs), and grl.unescape will unescape HTML-escaped strings, usually unicode or reserved characters. https://bugzilla.gnome.org/show_bug.cgi?id=725381 src/lua-factory/grl-lua-library.c | 141 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 141 insertions(+) commit d00bfa9581cda2937002f024cfcaaed1e65e3b06 Author: Juan A. Suarez Romero Date: Thu Feb 27 10:09:27 2014 +0000 build: Detect Lua in Debian systems Debian packages lua pkgconfig file as lua5.2.pc, instead of plainly lua.pc. https://bugzilla.gnome.org/show_bug.cgi?id=725299 configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 482944aaf76f5c71dacc64cc1fe063a884c59d09 Author: Bastien Nocera Date: Thu Feb 27 13:58:12 2014 +0100 local-metadata: Add tests for episode name parsing This will allow us to fix old regular expressions, and add new ones to detect season and episode numbers, without creating regressions. https://bugzilla.gnome.org/show_bug.cgi?id=725026 configure.ac | 1 + tests/Makefile.am | 4 + tests/local-metadata/Makefile.am | 33 +++++++ tests/local-metadata/test_local_metadata.c | 136 +++++++++++++++++++++++++++++ 4 files changed, 174 insertions(+) commit a0ebd88f378057c59e6273619ead678073218dc2 Author: Matej Urbančič Date: Wed Feb 26 19:52:05 2014 +0100 Updated Slovenian translation po/sl.po | 118 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 68 insertions(+), 50 deletions(-) commit 4a7a65b92a3367161df53278b278c9db6e95a83b Author: Bastien Nocera Date: Wed Feb 26 14:42:15 2014 +0100 lua-factory: Remove confusing fetch_op_cleanup fetch_op_cleanup didn't really cleanup the whole operation structure. Instead, clean up what we need to and wait for the rest of the operations to complete. src/lua-factory/grl-lua-library.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit a5f53a2d5d466542d9754fdef6beb56027451de9 Author: Bastien Nocera Date: Wed Feb 26 14:36:07 2014 +0100 lua-factory: Don't warn for empty values Sometimes, values will be set to nil for certain keys, which should simply be ignored. Don't print warnings or debug in those cases. src/lua-factory/grl-lua-library.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 3782031748f391750e432562a9f2b14368494268 Author: Bastien Nocera Date: Wed Feb 26 12:32:35 2014 +0100 lua-factory: Add comment in grl_util_build_media() For the next person that will try to unfold the switch statement. src/lua-factory/grl-lua-library.c | 2 ++ 1 file changed, 2 insertions(+) commit fce23862f75e88855acfff66becff1711ac1227a Author: Juan A. Suarez Romero Date: Wed Feb 26 12:03:40 2014 +0000 travis: Fix typo .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3d3aa1463753e41841b25f6e68493affc2b3823e Author: Juan A. Suarez Romero Date: Wed Feb 26 11:53:16 2014 +0000 travis: Add dependency for Freebox plugin .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 077adb78a03c300b068e2d8908fbc80f9a5f8686 Author: Juan A. Suarez Romero Date: Wed Feb 26 11:48:17 2014 +0000 travis: Depend on grilo unreleased Special package with upstream content, so we can run the tests. .travis.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 4d6bde3cf32f18ef666e9cd76285cce963f17216 Author: Juan A. Suarez Romero Date: Wed Feb 26 12:00:02 2014 +0100 build: Require grilo >= 0.2.10. Due the new source-tags property. This fixes 8b80c30401ab5e3856. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3f614246bcd38a7fc55b99109a597d73943cc7db Author: Miguel Rodriguez Nuñez Date: Wed Feb 26 11:50:59 2014 +0100 Updated Spanish translation po/es.po | 136 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 81 insertions(+), 55 deletions(-) commit 8b80c30401ab5e385619c8ee31c4f1e2d009e6c1 Author: Juan A. Suarez Romero Date: Wed Feb 26 10:27:44 2014 +0000 build: Required Grilo >= 0.2.9 Due the new source-tags property. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 912a891904440a35a908d0ebdb8fb0f43bc35b21 Author: Bastien Nocera Date: Fri Feb 21 10:37:20 2014 +0100 guardian-videos: Remove C plugin It is obsoleted by the same plugin implemented in lua. This reverts commits 79635d20212c431142487dbb51cbcc96a5cfe587 and fa49c5a92f7ba00d3b74f148e401fc7ee81d852d. https://bugzilla.gnome.org/show_bug.cgi?id=724644 Makefile.am | 1 - configure.ac | 41 ---- po/POTFILES.in | 1 - src/Makefile.am | 6 +- src/guardian-videos/Makefile.am | 50 ----- src/guardian-videos/grl-guardianvideos.c | 227 ----------------------- src/guardian-videos/grl-guardianvideos.h | 76 -------- src/guardian-videos/grl-guardianvideos.xml | 10 - src/guardian-videos/guardian.png | Bin 2193 -> 0 bytes src/guardian-videos/guardianvideos.gresource.xml | 6 - 10 files changed, 1 insertion(+), 417 deletions(-) commit b5e3c7408b8242e620e9861be1d209ca38022dbe Author: Bastien Nocera Date: Tue Feb 25 11:53:43 2014 +0100 guardian-videos: Add implementation in Lua To replace the old C one. The main difference is not the language though, but the service used to gather the list of videos, which has more items, and results with more metadata. https://bugzilla.gnome.org/show_bug.cgi?id=724644 src/lua-factory/sources/Makefile.am | 3 +- src/lua-factory/sources/grl-guardianvideos.lua | 109 +++++++++++++++++++++++++ 2 files changed, 111 insertions(+), 1 deletion(-) commit 1e637cc8a39396f9d24674e4c1495febd9a5326f Author: Bastien Nocera Date: Wed Feb 26 10:22:13 2014 +0100 lua-factory: Don't require a source description The source description isn't usually used in front-ends, and isn't required for C sources, so don't require it for Lua ones. src/lua-factory/grl-lua-factory.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 68777966433b05d763673ea5b43af50c335414c3 Author: Victor Toso Date: Tue Feb 25 23:38:04 2014 -0300 lua-factory: Support fetching multiple URLs https://bugzilla.gnome.org/show_bug.cgi?id=725188 src/lua-factory/grl-lua-library.c | 99 ++++++++++++++++++++++++++++++++------- 1 file changed, 83 insertions(+), 16 deletions(-) commit b4a6a0a78c85e269885bea37b60a963bb39e6466 Author: Bastien Nocera Date: Tue Feb 25 13:47:57 2014 +0100 euronews: Add streaming TV news from Euronews https://bugzilla.gnome.org/show_bug.cgi?id=724415 src/lua-factory/sources/Makefile.am | 3 +- src/lua-factory/sources/grl-euronews.lua | 115 +++++++++++++++++++++++++++++++ 2 files changed, 117 insertions(+), 1 deletion(-) commit 3cda4587a6b4a23c46f7b13c24affa0955a7c071 Author: Bastien Nocera Date: Tue Feb 25 13:45:57 2014 +0100 lua-factory: Add dgettext() binding to Lua src/lua-factory/grl-lua-library.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) commit 64b755b4f6b3ad892cc00919e4cb8a8e5cb4cf9d Author: Bastien Nocera Date: Tue Feb 25 13:11:29 2014 +0100 lua-factory: Add debug and warning Lua bindings Even if we can easily modify sources (most of the time), we want developers to sprinkle this to aid with debugging. src/lua-factory/grl-lua-library.c | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) commit 399ed9c31195a91416d2b9657baa9b1e2acdc5ff Author: Bastien Nocera Date: Tue Feb 25 12:42:25 2014 +0100 radiofrance: Add Radio France source https://bugzilla.gnome.org/show_bug.cgi?id=722820 src/lua-factory/sources/Makefile.am | 3 +- src/lua-factory/sources/grl-radiofrance.lua | 138 ++++++++++++++++++++++++++++ 2 files changed, 140 insertions(+), 1 deletion(-) commit 870d75c81a3d8cf654f3a6b375cfbbfcb805a6e7 Author: Bastien Nocera Date: Tue Feb 25 12:20:14 2014 +0100 lua-factory: Add support for source-tags source prop src/lua-factory/grl-lua-factory.c | 59 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 55 insertions(+), 4 deletions(-) commit b856c3253bc9bf3bf9f44600f7dee6151778d6d6 Author: Bastien Nocera Date: Tue Feb 25 12:05:01 2014 +0100 lua-factory: Add support for auto-split-threshold source prop This is needed for some sources to avoir large queries being made. src/lua-factory/grl-lua-factory.c | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) commit 2c1206868b0d2ffa09315498d91b05fcd44b4b1a Author: Bastien Nocera Date: Tue Feb 25 01:47:34 2014 +0100 metrolyrics: Remove executable bit It's not needed. src/lua-factory/sources/grl-metrolyrics.lua | 0 1 file changed, 0 insertions(+), 0 deletions(-) commit b7b59ffae541d0f81650dca39b734743e19004de Author: Bastien Nocera Date: Mon Feb 24 21:14:55 2014 +0100 lua-factory: Fix crasher on startup When the front-end deletes the source during registration, we need to make sure that we don't consider the source to be registered successfully. See also commit 5973947051d6ca789965c92c5c33cf66cadd3f25 which did this for the dmap, and podcasts plugins. https://bugzilla.gnome.org/show_bug.cgi?id=711243 src/lua-factory/grl-lua-factory.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 65d5f17d9491ffb0b51242243e6ae1232ce374f7 Author: Victor Toso Date: Tue Feb 11 23:03:16 2014 -0200 metrolyrics: Looks up lyrics with metrolyrics.com If media has Artist and Title keys, look up lyrics on metrolyrics.com. https://bugzilla.gnome.org/show_bug.cgi?id=711243 src/lua-factory/sources/Makefile.am | 3 +- src/lua-factory/sources/grl-metrolyrics.lua | 105 ++++++++++++++++++++++++++++ 2 files changed, 107 insertions(+), 1 deletion(-) commit 20c60d158d8d41b9137f97dba259442e6f2a19a2 Author: Victor Toso Date: Thu Oct 31 22:59:30 2013 -0200 lua-factory: Lua libraries for sources Include libraries for lua sources to use. Core library: - grl.callback: operation to return the content for user application; - grl.fetch: A fetch operation that uses GrlNet to fetch web content; - grl.get_options: Get options provided by application; - grl.get_requested_keys: List of all requested keys; - grl.get_media_keys: Current values of media, mainly for resolve op; Json library: - grl.json.string_to_table: parser using json-glib that gets a json object as string and return its equivalent in a table; https://bugzilla.gnome.org/show_bug.cgi?id=711243 configure.ac | 10 +- src/lua-factory/Makefile.am | 1 + src/lua-factory/grl-lua-library.c | 523 ++++++++++++++++++++++++++++ src/lua-factory/grl-lua-library.h | 1 + src/lua-factory/lua-library/lua-json.c | 168 +++++++++ src/lua-factory/lua-library/lua-libraries.h | 36 ++ 6 files changed, 737 insertions(+), 2 deletions(-) commit f5f335ca0f593e855d057f772c358c3c1e82cdc9 Author: Victor Toso Date: Thu Oct 31 22:18:48 2013 -0200 lua-factory: Grilo operations to Lua sources This is the glue code between Grilo and the Lua sources. The Lua stack (lua_State) is used to pass the variables to the lua code. Besides the Grilo operations, the lua source can use the grl_source_init function to check if it can be successfully loaded or not. https://bugzilla.gnome.org/show_bug.cgi?id=711243 src/lua-factory/grl-lua-common.h | 3 + src/lua-factory/grl-lua-factory.c | 272 +++++++++++++++++++++++++++++++++++++- src/lua-factory/grl-lua-library.c | 42 ++++++ src/lua-factory/grl-lua-library.h | 4 + 4 files changed, 319 insertions(+), 2 deletions(-) commit b06acd2b32f48103d53a88e0b82e75844879576c Author: Victor Toso Date: Thu Oct 31 22:03:34 2013 -0200 lua-factory: Load and initialise Lua sources - Find lua sources in the install path or in the directories specified by envvars - Run source a first time to get the source metadata provided by the script's 'source' table - Check if necessary API keys were provided by application, if applicable https://bugzilla.gnome.org/show_bug.cgi?id=711243 Makefile.am | 1 + configure.ac | 47 +++ src/Makefile.am | 6 +- src/lua-factory/Makefile.am | 40 ++ src/lua-factory/grl-lua-common.h | 69 +++ src/lua-factory/grl-lua-factory.c | 818 ++++++++++++++++++++++++++++++++++++ src/lua-factory/grl-lua-factory.h | 51 +++ src/lua-factory/grl-lua-factory.xml | 10 + src/lua-factory/grl-lua-library.c | 46 ++ src/lua-factory/grl-lua-library.h | 36 ++ src/lua-factory/sources/Makefile.am | 16 + 11 files changed, 1139 insertions(+), 1 deletion(-) commit 907b8d63762a88a948ce5af6aad21ebcb30a56e5 Author: Bastien Nocera Date: Mon Feb 10 12:42:58 2014 +0100 apple-trailers: Add "source-tags" property https://bugzilla.gnome.org/show_bug.cgi?id=724019 Signed-off-by: Juan A. Suarez Romero src/apple-trailers/grl-apple-trailers.c | 6 ++++++ 1 file changed, 6 insertions(+) commit ebb9dd0e02b8adcd9c7efafff6a38e003f3dd922 Author: Bastien Nocera Date: Mon Feb 10 12:42:41 2014 +0100 freebox: Add source-tags property https://bugzilla.gnome.org/show_bug.cgi?id=724019 src/freebox/grl-freebox.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 61fce31b9dc9fc6b246f0cb533f62877ad509ed8 Author: Bastien Nocera Date: Thu Feb 20 12:42:02 2014 +0100 upnp: Prevent crash with some UPnP servers The "Skifta" iOS UPnP server seems to pass us " " as a list of changed items. We need to protect better against bad input and avoid accessing data beyond the array. https://bugzilla.gnome.org/show_bug.cgi?id=724793 src/upnp/grl-upnp.c | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) commit b5b77e35e4c40fe24f7be06720eb9c4c9c5134b6 Author: Wylmer Wang Date: Thu Feb 20 04:24:04 2014 +0000 Updated Chinese (China) translation po/zh_CN.po | 139 ++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 84 insertions(+), 55 deletions(-) commit eb546cbf2dbdd03becd25eb0b197455bd786b84d Author: Bastien Nocera Date: Wed Feb 19 16:05:41 2014 +0100 local-metadata: Use libmediaart Instead of our copy/paste code. https://bugzilla.gnome.org/show_bug.cgi?id=724046 configure.ac | 11 +- src/local-metadata/grl-local-metadata.c | 188 ++------------------------------ 2 files changed, 16 insertions(+), 183 deletions(-) commit b151fa009d962a15150e1de70ce336b16c747529 Author: Juan A. Suarez Romero Date: Tue Feb 18 14:46:01 2014 +0000 Post-release version bump to 0.2.12 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)