Thumbnailer still tries to fetch thumbnails when offline

Bug #1401109 reported by Alan Pope 🍺🐧🐱 🦄
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Thumbnailer
Expired
Undecided
Unassigned

Bug Description

I'm seeing an issue in music app which I believe is a thumbnailer one.

To reproduce

* Have phone connected to domestic wifi connection
* Copy some music to ~/Music on device
* Start Music app
* Navigate to Artists view - observe images of artists show
* Close music app
* Unplug cable modem or otherwise break the internet connection (mine went down)
* Start music app
* Navigate to Artists view - observe the images of artists no longer show.

These should be cached locally but don't seem to be.

If I switch to "Flight mode" they do appear.

description: updated
Revision history for this message
Andrew Hayzen (ahayzen) wrote :

Also when on a 2g (or a slow) network it takes a while before the images are shown, it can be assumed that if the thumbnailer thinks there is the possibility of a network connection then it attempts to use that rather than showing the cached images.

I can confirm that when using the package thumbnailer on ubuntu touch rtm #146 using the steps provided by popey that I can reproduce the bug. Therefore I have set this bug to confirmed.

Changed in thumbnailer:
status: New → Confirmed
Revision history for this message
Jussi Pakkanen (jpakkane) wrote :

I tried to reproduce it with the exact steps given and could not (I disabled network by toggling the wifi off my router).

The thumbnailer will _always_ try locally cached content. If they exist, it just returns that without trying to do anything else.

Could you try the following:

- delete all files in ~/.cache/media-art
- start music app, go to the artist page and see that images show up
- close down music app
- verify that the artist images are in ~/.cache/media-art
- make network connection die
- start music app, go to artist page

If at this point you are not seeing the images then something is seriously screwy. I checked that we explicitly have a test for this.

The only thing I can think of is that the art cache stores only about 200 latest artist and album images. If you have more than that, then some may get deleted when starting the thumbnailer. Seems a bit unlikely to be the cause of this, though.

Changed in thumbnailer:
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Thumbnailer because there has been no activity for 60 days.]

Changed in thumbnailer:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.