After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 689125 - jamendo: return no result when browsing out of range feeds
jamendo: return no result when browsing out of range feeds
Status: RESOLVED FIXED
Product: grilo
Classification: Other
Component: plugins
git master
Other Linux
: Normal normal
: ---
Assigned To: grilo-maint
grilo-maint
Depends on:
Blocks:
 
 
Reported: 2012-11-27 00:30 UTC by Andrzej Bieniek
Modified: 2012-11-28 18:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
return no result when browsing out of range feeds (2.06 KB, patch)
2012-11-27 00:30 UTC, Andrzej Bieniek
committed Details | Review

Description Andrzej Bieniek 2012-11-27 00:30:09 UTC
Created attachment 229957 [details] [review]
return no result when browsing out of range feeds

When skip was greater or equal number of elements in feeds table,
plugin never called result callback causing grilo to lockup.

Reproduced with gril-mediaserver2 and gupnp-av-cp when requesting items from starting index 6.
Comment 1 Juan A. Suarez Romero 2012-11-28 18:13:30 UTC
commit 3d09ed8e46676847b3e4d3e73725a82b0938e235
Author: Andrzej Bieniek <andyhelp@gmail.com>
Date:   Tue Nov 27 00:23:02 2012 +0000

    jamendo: return "no results" when browsing out of range feeds
    
    When skip was greater or equal number of elements in feeds table,
    plugin never called result callback causing grilo to lockup.
    
    Reproduced with gril-mediaserver2 and gupnp-av-cp when requesting items from starting index 6.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=689125

 src/jamendo/grl-jamendo.c |   35 +++++++++++++++++++++--------------
 1 file changed, 21 insertions(+), 14 deletions(-)