Repository navigation
Conversation
|
TODO: only call |
|
Code looks good. I'll test it tomorrow |
|
Just fixed the localfile part. Need to test with:
|
|
The inspection completed: No new issues |
|
👍 Patch looks good. |
|
Please note that there does not seem to be a dependency on an EXIF PHP module as this function seems to be in core. |
|
@owncloud/designers check it out! :) |
|
One thing I don't like here is that for images that don't have embedded thumbnails this means one extra file access, access that will fail when no thumbnail is found then falls back to the regular method. This still needs testing. |
|
|
@PVince81 This needs some love |
|
@PVince81 any progress on this? |
|
No, and I'm still worried a bit about performance. |
|
💣 Test FAILed. 💣 Build result: FAILURE[...truncated 124 lines...]Checking out Revision e6b8a36 (detached) > git config core.sparsecheckout # timeout=10 > git checkout -f e6b8a36 > git rev-list 28dcb5277015c13914cd6a55c57fde37c583a8fb # timeout=10First time build. Skipping changelog. > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule update --init --recursiveCleaning workspace > git rev-parse --verify HEAD # timeout=10Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 > git submodule foreach --recursive git reset --hard # timeout=10 > git submodule foreach --recursive git clean -fdx # timeout=10Triggering pull-request-analyser-ng-simple » vm-slave-02Configuration pull-request-analyser-ng-simple » vm-slave-02 is still in the queue: Waiting for next available executor on vm-slave-02pull-request-analyser-ng-simple » vm-slave-02 completed with result FAILUREStarted calculate disk usage of buildFinished Calculation of disk usage of build in 0 secondsStarted calculate disk usage of workspaceFinished Calculation of disk usage of workspace in 5 minutes💣 Test FAILed. 💣 |
|
Hmm, might be possible to save a file access by reading the thumbnail through http://php.net/manual/en/function.exif-read-data.php when calling |
|
Keep in mind that |
|
@oparoz yes, it's thanks to your PR that I got the idea from my last comment. |
|
@PVince81 needs to be rebased. |
|
I won't work for this for a while, so if anyone would like to take over, feel free. |
|
Refer to this link for build results (access rights to CI server needed): |
|
I think I'd rather close this due to the potential performance issue with external storage. @oparoz what do you think ? Maybe you have a better idea ? |
|
I think this won't work any more because the providers are used exclusively to generate the max preview which will be re-used later. So the first scan might be slower than using exif_thumbnail, but everything else, when using the slideshow or the Gallery app is much faster. I don't see how we could mix things up, especially since this is for a limited number of formats. |
|
@oparoz great, thanks a lot for the information as you know a lot more than I do regarding previews. 😄 Closing. |

This should be much faster, but in some cases the exif preview might not be updated by image apps.
Still, nice performance improvement.
Please have a try and compare with master.
@georgehrke @jancborchardt
Needs to be tested more thoroughly.
It might work with tiff files, not tried yet.