I'm pretty sure that there is nothing wrong with extraction from ogg
files; we have tests for this. But, if most of these files do not
contain artwork and you add an SD card with thousands of songs and run
up the music app, the music app will send hundreds of requests to the
thumbnailer. No problem, the thumbnailer queues them all up and
patiently grinds through them. However, for each file without embedded
artwork, the remote server has to deliver an image. This is slow. So
slow that, in all likelihood, some of those requests will time out in
the app because they will spend more than 30 seconds in the queue before
the thumbnailer even sends the request for the image to the server.
Again, no big deal. The server will reply eventually, and the
thumbnailer will cache the image. But the calling music app may well get
tired of waiting and show you the "no artwork" default image instead.

However, if you scroll around in a song list or the like, as soon as you
move away from a missing thumbnail far enough and scroll back to it, the
app will re-issue the request for the thumbnail. That second request
will be answered instantly because, by now, the thumbnailer will have
the image in the cache and deliver it in about a millisecond.

So, I'm wondering whether what you are seeing is simply due to the fact
that a lot of files are added at once, and it simply takes quite a while
to fetch the thumbnails for all of them?

The other possibility is that, at the time you tried, the remote server
had a problem, in which case we back off and stop asking the server
again for two hours. That's to avoid hammering the network needlessly
and draining the battery.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1512608

Title:
  No thumbnails generated for OGG audio

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thumbnailer/+bug/1512608/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to