summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* registry: Copy plugin list contentwip/mschraal/registry-get_plugins-binding-segvMarinus Schraal2020-07-271-1/+4
| | | | Fixes: #141
* registry: do not load .so* files or foldersVictor Toso2020-07-231-1/+1
| | | | | | | | | | | | Latest meson is creating a .so.p temporary folder to lua-factory plugin and current code in grl-registry would try to load all .so* files. This patch makes sure that it only tries to load files with .so suffix (actually, G_MODULE_SUFFIX that could be different in other platforms) Fixes: Bail out! Grilo-FATAL-WARNING: [registry] ../subprojects/grilo/src/grl-registry.c:1210: Failed to open module: /builds/victortoso/grilo-plugins/_build/src/lua-factory/libgrlluafactory.so.p: cannot read file data: Is a directory
* core: Add grl_related_keys_set_for_id()Jean Felder2020-07-226-9/+74
| | | | | | | | | | | | | | It is the counterpart of grl_data_set_for_id() for GrlRelatedKeys (see commit b30608abacd37a4e39d5c5465efc82c566756631). grl_related_keys_set_for_id() allows keys that aren't registered, to be registered and set it's value. It simply sets the value for registered keys. grl_registry_register_metadata_key_for_type() and grl_registry_register_or_lookup_metadata_key() need to be updated to add a new bind_key parameter. For related keys, bind_key parameters is used to create a relation between the key and bind_key.
* core: Factor out register or lookup key logic from GrlDataJean Felder2020-07-223-69/+69
| | | | | | | | | | | grl_data_set_for_id() and grl_data_new_for_id() share some code to register or lookup a key by its name. This shared code is put in a new private function named grl_registry_register_or_lookup_metadata_key(). grl_registry_register_or_lookup_metadata_key() will be used in the commit by the new grl_related_keys_set_for_id() function.
* grilo-test-ui: Do not use gtk_show_uri on newer gtkJean Felder2020-05-141-0/+7
| | | | | | | On 3.22.0, gtk_show_uri has been deprecated in favor of gtk_show_uri_on_window. Add a GTK_CHECK_VERSION to prevent depending on a GTK version too recent. It can be removed after bumping GTK to >= 3.22.0
* grilo-test-ui: Do not use deprecated gdk_cursor_newJean Felder2020-05-141-1/+1
| | | | | It has been deprecated since GTK 3.16. Use gdk_cursor_new_for_display instead.
* Update Chinese (Taiwan) translationCheng-Chia Tseng2020-05-021-34/+34
|
* Update Ukrainian translationDaniel Korostil2020-03-161-73/+82
|
* core: remove GTimeVal from grl_date_time_from_iso8601()Victor Toso2020-02-211-11/+10
| | | | | | | | This patch makes usage of g_date_time_new_from_iso8601() from GLib 2.56 that returns GDateTime* from ISO 8601 formatted string. Note that this API supported a little bit more than GLib's as a helper while developing new plugins thus it makes sense to keep it around.
* pls: fix extra token on ifndef TOTEM_PL_IS_PARSERVictor Toso2020-02-211-1/+1
| | | | | | | | Removes the following warning: > ../libs/pls/grl-pls.c:50:27: warning: extra tokens at end of #ifndef > directive > 50 | #ifndef TOTEM_PL_IS_PARSER(x) > | ^
* pls: don't use GTimeVal on newer glibVictor Toso2020-02-211-1/+9
| | | | | | On 2.62.0 we can use new API and avoid GTimeVal usage in grl-pls.c. As 2.62 is a bit new, wrap the old code to avoid warnings on new builds. It can be removed after bumping glib to >= 2.62.0
* net: Drop usage of deprecated GTimeValVictor Toso2020-02-211-9/+9
| | | | | We can easily replace it with timestamp in seconds for the throttling feature.
* test-ui: Drop usage of deprecated GTimeValVictor Toso2020-02-211-4/+1
|
* build: bump glib 2.44 -> 2.58Victor Toso2020-02-211-1/+1
| | | | | | | | | | | Bumping to make it easier in keeping compatibility with recent APIs without breaking stable distro releases. Fedora 31 (last stable): 2.62 Debian 10 (last stable): 2.58 Considering that we just released Grilo 0.3.12, next release can still be kept under current last stable distros releases.
* Update Japanese translationsicklylife2020-02-171-15/+15
|
* Post-release version bump to 0.3.13Victor Toso2020-02-141-1/+1
|
* Release 0.3.12grilo-0.3.12Victor Toso2020-02-141-0/+11
|
* Update British English translationZander Brown2020-02-111-72/+82
|
* grl-source: Fix GrlSourceStoreCb annotationJean Felder2020-01-301-1/+1
| | | | | | This fixes a reference counting bug in the bindings. Closes: #107
* Update Japanese translationsicklylife2020-01-271-43/+32
|
* Update Japanese translationsicklylife2020-01-271-69/+94
|
* Post-release version bump to 0.3.12Jordan Petridis2020-01-081-1/+1
|
* Release 0.3.11grilo-0.3.11Jordan Petridis2020-01-081-0/+10
| | | | Close #138
* Add Malay translationUmarzuki Bin Mochlis Moktar2020-01-082-0/+192
|
* pls: Support totem-pl-parser 3.26.4Bastien Nocera2019-11-121-1/+5
|
* build: Add a Meson dependency variable for libgrlplsSam Thursfield2019-09-301-0/+6
| | | | | | | This enables the library to be used when Grilo is embedded as a Meson subproject. See: https://gitlab.gnome.org/GNOME/grilo-plugins/merge_requests/68
* build: Avoid using meson.source_root()Sam Thursfield2019-09-293-8/+10
| | | | | | | | The value of meson.source_root() can't be trusted because if we are embedded via subproject() into a larger project, the source root will be that of the parent project. Instead, use a variable to keep track of the toplevel source directory.
* Post-release version bump to 0.3.11Victor Toso2019-09-121-1/+1
|
* Release 0.3.10grilo-0.3.10Victor Toso2019-09-121-0/+13
|
* build: Use variables in pc filesJan Tojnar2019-09-124-11/+18
| | | | | | | | | | | Recently, we started prefixing the values of all variables defined in pc files with `prefix` meson variable. While this works even when `datadir` option is absolute (supported by some meson forks), it leads to inflexible pc files even when prefixing is not strictly necessary. In this commit, we are constructing variables for pkg-config files separately from paths used for installation, obtaining nice .pc files in the common case, while still supporting unusual platforms like Nix.
* Use only one primary header for styleRoger2019-09-121-10/+13
|
* build: generate .pc filesworldofpeace2019-09-1210-126/+58
| | | | | | | The generated .pc have been kept essentially identical to the original ones with the same variables. To squash warnings the meson_version was also bumped
* build: Fix path handling in pkgconfigJan Tojnar2019-09-123-13/+25
| | | | | | On Nix, headers, introspection files and vapi files are installed to different prefix than the library. This makes sure that the correct paths are used, thus making the build more portable.
* data: Fix grl_data_add_related_keys annotationJean Felder2019-08-251-1/+1
|
* data: Remove trailing whitespacesJean Felder2019-08-251-2/+2
|
* Post-release version bump to 0.3.10Victor Toso2019-07-171-1/+1
|
* Release 0.3.9grilo-0.3.9Victor Toso2019-07-171-0/+9
| | | | Small release to fix break of gobject-introspection.
* grl-metadata-key: fix introspectionVictor Toso2019-07-171-2/+1
| | | | | | | | | | | | | | | | | The following commit has break gobject-introspection of Grilo after a comment with a line break was added to deprecate a constant: 608eba2 "core: deprecate mb-album-id metadata-key and related API" in 2019-07-15 by Victor Toso <me@victortoso.com> The issue is being tracked at [0] but a simple workaround is to remove the line break. [0] https://gitlab.gnome.org/GNOME/gobject-introspection/issues/294 Before this patch, grl-metadata-keys with value from 53 to 62 were lost in introspection, that is, from GRL_METADATA_KEY_MB_TRACK_ID till the recent GRL_METADATA_KEY_MB_RELEASE_GROUP_ID
* grl-inspect: Fix core keys extractionBastien Nocera2019-07-161-4/+20
| | | | | | | | | | | | | | This fixes incorrectly duplicated keys in grl-core-keys.h which affected the output of metadata in grl-inspect by removing the C comments prior to processing the file. Before: $ sort grl-core-keys.h | uniq --repeated "GRL_METADATA_KEY_MB_RELEASE_GROUP_ID", After: $ sort grl-core-keys.h | uniq --repeated $
* Post-release version bump to 0.3.9Victor Toso2019-07-151-1/+1
|
* Release 0.3.8grilo-0.3.8Victor Toso2019-07-152-0/+29
|
* core: deprecate mb-album-id metadata-key and related APIVictor Toso2019-07-153-1/+10
| | | | | | Follow up for previous commit, d6fad80 "grl-metadata-key: Add metadata keys for MB Release ID and MB Release Group ID" in 2019-06-14 by Sumaid Syed <sumaidsyed@gmail.com>
* grl-metadata-key: Add metadata keys for MB Release ID and MB Release Group IDSumaid Syed2019-06-146-0/+104
| | | | | | | | | | | | A MusicBrainz release represents the unique release (i.e. issuing) of a product on a specific date with specific release information such as the country, label, barcode and packaging. A release group is used to group several different releases into a single logical entity. Add Grilo Media support for MusicBrainz release and release group identifiers. Deprecate use of album identifier since it could mean release or release group id. https://gitlab.gnome.org/GNOME/grilo/issues/136
* Remove existing trailing whitespacesSumaid Syed2019-06-111-1/+1
|
* media: Fix get_last_played annotationMarinus Schraal2019-05-301-1/+1
|
* Update Catalan translationJordi Mas2019-02-241-59/+52
|
* Update Dutch translationNathan Follens2019-02-241-62/+59
|
* pls: Simplify thumbnail validity handlingBastien Nocera2019-02-181-11/+5
| | | | | | There's really no need to get both G_FILE_ATTRIBUTE_THUMBNAILING_FAILED and G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID as they're generated from a single variable in GIO.
* doc: Fix documentation for GRL_PLUGIN_DEFINE()Bastien Nocera2019-02-063-16/+17
| | | | | Remove GRL_PLUGIN_REGISTER() usage from the documentation, and make sure that GRL_PLUGIN_DEFINE() is correctly documented.
* core: Remove some obsolete compatibility macrosBastien Nocera2019-02-062-6/+0
| | | | They were added 7 years ago in commit ca606fb1.