summaryrefslogtreecommitdiff
path: root/src/totem-grilo.c
Commit message (Collapse)AuthorAgeFilesLines
* grilo: Fix crash when scrolling for more content in some casesBastien Nocera2022-05-031-1/+2
| | | | | | | | | | | When popping down the search entry, and scrolling down to activate the "load content" action, we would try and load more search results but we never really started a search, leading to a crash. Make sure that a search is only considered to be started when the search entry has been activated. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2079657
* all: Convert totem_time_to_string() to using flagsBastien Nocera2022-02-171-1/+1
| | | | See https://blog.ometer.com/2011/01/20/boolean-parameters-are-wrong/
* grilo: Remove unused variables in finalize()Georges Basile Stavracas Neto2022-02-091-2/+0
|
* grilo: Simplify object creationBastien Nocera2022-02-081-283/+278
| | | | Use G_DECLARE_FINAL_TYPE(), and remove intermediate private struct.
* grilo: Add debug when thumbnailing media failsBastien Nocera2020-08-261-0/+6
| | | | Could be for any reason, and it's really useful to know.
* Revert "grilo: Enable monitoring on tracker 2.x"Bastien Nocera2020-08-241-0/+3
| | | | | | | | | | This reverts commit f672175701ad4b8320a771854ad6364f51fe6570. 2 problems: - we remove the whole conditional, which meant never setting the "monitor" variable - the tracker2 plugin doesn't resolve media before passing it to the content-changed functions, so it still isn't useful
* Revert "grilo: Don't listen to tracker3 content changes"Bastien Nocera2020-08-241-3/+0
| | | | | | This reverts commit 0ed1d793feade5f9e8a28a82f1fe1e00456f3b37. Fixed in https://gitlab.gnome.org/GNOME/grilo-plugins/-/issues/73
* grilo: Don't listen to tracker3 content changesBastien Nocera2020-08-211-0/+3
| | | | | They don't work well enough for now. See: https://gitlab.gnome.org/GNOME/grilo-plugins/-/issues/73
* grilo: Enable monitoring on tracker 2.xBastien Nocera2020-08-211-3/+0
| | | | It should be working correctly now that we only add videos to the view.
* grilo: Make sure to only add videos to the library viewBastien Nocera2020-08-211-6/+14
| | | | | Don't handle changes related to non-video files in monitored grilo sources.
* grilo: Prepare for Tracker 3 grilo pluginBastien Nocera2020-08-211-3/+10
| | | | Just the name of the plugin changed.
* grilo: Move VCD disablement to config fileBastien Nocera2020-08-191-6/+0
| | | | No need for this to be code, it's a static configuration option.
* grilo: Specify upper boundary for duration range filterCarlos Garnacho2020-07-311-1/+2
| | | | | | | Handle https://gitlab.gnome.org/GNOME/grilo/-/issues/140 locally and specify an upper range that does not translate to 0. This will be necessary for the tracker3 grilo source, as it doesn't try to interpret what that 0 means.
* grilo: More s/blacklist/block/Bastien Nocera2020-07-311-6/+6
|
* grilo: Keep focus on search entry after validationGabor Karsay2020-04-011-9/+14
| | | | | | | | Don't make the search entry insensitive while the search is ongoing, instead cancel the ongoing operation if a new search is started. Closes: #188 Helps: #113
* grilo: Replace Bugzilla by Gitlab links in terminal outputAndre Klapper2019-06-081-2/+2
|
* main: Fix warning when "browsing too fast"Bastien Nocera2019-02-281-2/+5
| | | | | | | | | | | | | | | | | | | | Fix possible use of an uninitialised variable, as spotted by valgrind. (totem:28635): Gtk-CRITICAL **: 17:22:01.811: gtk_tree_model_get_iter: assertion 'path != NULL' failed ==28635== Conditional jump or move depends on uninitialised value(s) ==28635== at 0x50BCC94: gtk_tree_store_get_value (gtktreestore.c:655) ==28635== by 0x50AF14D: gtk_tree_model_get_valist (gtktreemodel.c:1798) ==28635== by 0x50AF47C: gtk_tree_model_get (gtktreemodel.c:1762) ==28635== by 0x48989C6: browse_cb (totem-grilo.c:688) ==28635== by 0x608EFE3: queue_process (grl-source.c:2088) ==28635== by 0x4994917: g_main_dispatch (gmain.c:3189) ==28635== by 0x4994917: g_main_context_dispatch (gmain.c:3854) ==28635== by 0x4994D07: g_main_context_iterate.isra.26 (gmain.c:3927) ==28635== by 0x4994D9B: g_main_context_iteration (gmain.c:3988) ==28635== by 0x4B3A71C: g_application_run (gapplication.c:2516) ==28635== by 0x10A277: main (totem.c:83) See https://gitlab.gnome.org/GNOME/totem/issues/304
* all: Update bugzilla links for current bugsBastien Nocera2019-02-231-1/+1
| | | | Update Bugzilla links for GitLab links when the bugs are still opened.
* main: Ignore VCDsBastien Nocera2019-02-181-1/+7
| | | | | | | | They're not supported in GStreamer: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/203 Note that this will only work with a new enough grilo-plugins, but will not throw errors with older ones.
* main: Correct prefix in grilo GResource definitionBastien Nocera2019-02-111-2/+2
|
* grilo: Better content change debugBastien Nocera2019-02-111-1/+14
|
* Revert "grilo: Monitor tracker again"Bastien Nocera2019-02-111-1/+3
| | | | | | | | This reverts commit 833526d06f9ac9ad44966b00a9fd62648ccaf489. This was still not working, see: https://gitlab.gnome.org/GNOME/grilo-plugins/merge_requests/29 https://gitlab.gnome.org/GNOME/grilo-plugins/issues/14
* grilo: Fix removing saved streamsBastien Nocera2019-02-071-2/+9
| | | | | | | | | When a cached stream is created in the cache dir after a "Make available offline" click, we need to make sure, in delete_foreach() that the file is trashed as well as the bookmarks entry removed, otherwise "Make available offline" would fail later for that same stream. Closes: #294
* grilo: Monitor tracker againBastien Nocera2019-02-071-2/+1
| | | | | | This reverts commit e88c4d5806986cd82781c5447d7301d248bf1bdd. As https://bugzilla.gnome.org/show_bug.cgi?id=746974 has been fixed.
* grilo: Ensure bookmarks plugin is available on startupBastien Nocera2019-02-071-19/+46
| | | | | | | Rework the grilo plugins loading code to make sure that the bookmarks plugin and offline metadata plugins are available when the UI is opened without going through the content selection view, directly into the player.
* grilo: Drop redundant if-statementPhilip Withnall2017-09-081-3/+0
| | | | | | | | As spotted by dcb. https://bugzilla.gnome.org/show_bug.cgi?id=787262 Signed-off-by: Philip Withnall <withnall@endlessm.com>
* all: Fix compile-time warning with GCC7Bastien Nocera2017-06-261-9/+9
| | | | | | | | | | | | | | | | | duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] The warning was added in: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43651 just for this purpose. " int foo(const char const *data); ^~~~~~ 1 warning generated. [...] In that case it was clearly a mistake, because the author meant 'const char *const data' [...] "
* grilo: Add keyboard shortcut to de-select all itemsvrishab2016-12-051-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=774411
* grilo: Port to grilo 0.3.0Bastien Nocera2015-12-161-9/+9
| | | | Some small changes to the API.
* grilo: Fix thumbnail cache not being usedBastien Nocera2015-12-031-0/+8
| | | | | | b1eee82 was slightly incorrect. We still use the local-metadata source to fetch the URL to the local thumbnails. Both the local-metadata (for thumbnail paths) and video-title-parsing sources are required.
* grilo: Use grl-video-title-parsing nowBastien Nocera2015-12-011-1/+1
| | | | | grl-local-metadata is now gone, replaced by a Lua source that does the same.
* grilo: Fix selection not working after visiting ChannelsBastien Nocera2015-09-011-1/+2
| | | | | | | | | When visiting the Channels page, we'd create a filter model, but switching back to the Videos page, we wouldn't reset it. Harden the selection request checks to check whether we're on the Channels page (and at the root of it) before refusing selection. https://bugzilla.gnome.org/show_bug.cgi?id=754389
* grilo: MAX_DURATION of 5 seconds? NopeBastien Nocera2015-08-241-3/+3
| | | | | We want films with a minimum length of 5 seconds, not a maximum length of 5 seconds.
* grilo: Add debug statementsBastien Nocera2015-04-231-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=746165
* grilo: Don't monitor trackerBastien Nocera2015-03-291-1/+2
| | | | | See also: https://bugzilla.gnome.org/show_bug.cgi?id=746974
* grilo: Simplify test whether to monitor a sourceBastien Nocera2015-03-291-4/+4
| | | | A little bit cleaner.
* icon-helpers: Improve thumbnailing styleBastien Nocera2015-03-061-3/+3
| | | | | | | | | | | Thumbnails are now square to avoid reflow when loading new items which might have mixed types of media (vertical videos, covers vs. horizontal TV/cinema videos). Mockup is at: https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/videos/thumbnails-square.png https://bugzilla.gnome.org/show_bug.cgi?id=743247
* grilo: Use new _set_resolution_flags() functionBastien Nocera2015-02-201-3/+3
| | | | Instead of the deprecated version.
* grilo: Make view switcher homogeneousBastien Nocera2015-01-201-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=743190
* main: Hide source which provide torrent URLsBastien Nocera2014-12-071-3/+4
| | | | | | As we don't have GStreamer support for them yet. See https://bugzilla.gnome.org/show_bug.cgi?id=741063
* main: Only show videos longer than 5 secondsBastien Nocera2014-12-071-0/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=737469
* main: Always request title-from-filenameBastien Nocera2014-12-071-0/+1
| | | | Just in case the source doesn't want to give us that.
* main: Add helper to pause thumbnailing in grilo widgetBastien Nocera2014-11-251-0/+8
|
* main: Cancel thumbnailing on destroyBastien Nocera2014-11-251-2/+7
| | | | Stop thumbnailing when TotemGrilo object is destroyed.
* main: Factor out thumbnail code for sources/mediaBastien Nocera2014-10-271-26/+7
|
* main: Remove obsolete rules-hint property usageBastien Nocera2014-10-171-1/+0
|
* main: Port thumbnail fetcher to GTaskBastien Nocera2014-09-021-1/+1
| | | | | | And make sure we don't simply return from a failed icon fetch! https://bugzilla.gnome.org/show_bug.cgi?id=727748
* main: Postpone loading library after playbackBastien Nocera2014-08-171-1/+14
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=728716
* main: Fix crash when browsing Euronews sourceBastien Nocera2014-06-041-1/+1
| | | | | | | | In some locations, because the Euronews source would give out broken URIs such as: UNAVAILABLEUNAVAILABLE playpath=UNAVAILABLE swfVfy=1 swfUrl=http://euronews.com/media/player_live_1_14.swf live=1 https://bugzilla.gnome.org/show_bug.cgi?id=731224
* main: Remove RTL helpersBastien Nocera2014-05-301-1/+0
| | | | The code now lives directly in GTK+'s GtkIconTheme handling.