Merge lp:~aacid/thumbnailer/asyncprovider into lp:thumbnailer
| Status: | Rejected |
|---|---|
| Rejected by: | Albert Astals Cid on 2015-07-21 |
| Proposed branch: | lp:~aacid/thumbnailer/asyncprovider |
| Merge into: | lp:thumbnailer |
| Diff against target: |
722 lines (+342/-167) 13 files modified
include/thumbnailer.h (+2/-0) plugins/Ubuntu/Thumbnailer/albumartgenerator.cpp (+86/-40) plugins/Ubuntu/Thumbnailer/albumartgenerator.h (+7/-5) plugins/Ubuntu/Thumbnailer/artgeneratorcommon.cpp (+1/-2) plugins/Ubuntu/Thumbnailer/artgeneratorcommon.h (+1/-1) plugins/Ubuntu/Thumbnailer/artistartgenerator.cpp (+87/-40) plugins/Ubuntu/Thumbnailer/artistartgenerator.h (+8/-3) plugins/Ubuntu/Thumbnailer/plugin.cpp (+7/-3) plugins/Ubuntu/Thumbnailer/plugin.h (+3/-0) plugins/Ubuntu/Thumbnailer/thumbnailgenerator.cpp (+110/-66) plugins/Ubuntu/Thumbnailer/thumbnailgenerator.h (+10/-7) src/libthumbnailer.map (+1/-0) src/thumbnailer.cpp (+19/-0) |
| To merge this branch: | bzr merge lp:~aacid/thumbnailer/asyncprovider |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-03-17 | |
| Unity Team | 2015-03-17 | Pending | |
|
Review via email:
|
|||
Description of the Change
Implement an Async image provider
This is a skeleton needs work and also unreleased https:/
Decisions that need to be taken:
* How to organize the thread pools, i'm using 2 thread pools with two threads each, one for slow and one for fast jobs. But one can organize them as wanted
Questions that need answering:
* Why the artist/album providers use dbus but not the thumbnailer one?
Work that needs to be done:
* Add a dbus query to see if art/artist is cached (or don't use the dbus api for those two either) to make them use the fast/slow pool acoordingly
* Make the dbus based providers cancellable when waiting for dbus
| Jussi Pakkanen (jpakkane) wrote : | # |
> Why the artist/album providers use dbus but not the thumbnailer one?
Because artist and album art deal with public data that is downloaded from the net. Thus they are cached in one global location.
Thumbnails are app-specific and for security reasons are stored in an app-specific directory. Otherwise apps could snoop on each others' thumbnails which would be a security violation.
Because of this the former uses dbus and the latter hits the file system directly.
| Albert Astals Cid (aacid) wrote : | # |
Setting as WiP for the moment until upstream Qt change is landed
Unmerged revisions
- 125. By Albert Astals Cid on 2015-03-27
-
New API
- 124. By Albert Astals Cid on 2015-03-17
-
Implement an Async image provider
This is a skeleton needs work and also needs an unreleased Qt for now
Just so people can comment on it

FAILED: Continuous integration, rev:124 /code.launchpad .net/~aacid/ thumbnailer/ asyncprovider/ +merge/ 253188/ +edit-commit- message
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https:/
http:// jenkins. qa.ubuntu. com/job/ thumbnailer- ci/142/ jenkins. qa.ubuntu. com/job/ thumbnailer- vivid-amd64- ci/36/console jenkins. qa.ubuntu. com/job/ thumbnailer- vivid-armhf- ci/34/console jenkins. qa.ubuntu. com/job/ thumbnailer- vivid-i386- ci/31/console
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/thumbnailer -ci/142/ rebuild
http://