Switch to full style
Discussions about Coollector.
Post a reply

Optimization

Fri Apr 01, 2011 4:04 pm

How comes i see this for movies that have no image.
Untitled.png
Untitled.png (53.71 KiB) Viewed 4306 times

Since the substitute movie image is already on my pc I expected the waiting process would be skipped. :worried:

I asssume you have a logical reason.
Can you please explain how this works. please :)

Re: Optimization

Fri Apr 01, 2011 4:22 pm

We don't have an image for the movie 1977 (2007).

You don't have an image on your hard drive.

Coollector tries to find an image on the internet.

Re: Optimization

Fri Apr 01, 2011 4:24 pm

So the loading time is the time it takes to check for a image online then when it doesn't find one -> load the replacement...

edit: it seems to take the same time as downloading an xxxxxxxx.jpg image. does it actually download that image each time?
Last edited by kakashi on Fri Apr 01, 2011 4:27 pm, edited 1 time in total.

Re: Optimization

Fri Apr 01, 2011 4:26 pm

kakashi wrote:So the loading time is the time it takes to check for a image online

Yes, Coollector talks to the server.


kakashi wrote:then when it doesn't find one -> load the replacement...

What replacement ? If there's no image, Coollector displays a gray movie reel.

Re: Optimization

Fri Apr 01, 2011 4:28 pm

(cool) Hector wrote:Coollector displays a gray movie reel.


that image

Re: Optimization

Fri Apr 01, 2011 4:38 pm

kakashi wrote:edit: it seems to take the same time as downloading an xxxxxxxx.jpg image.

There are 3 stages:

1) communicate with the server

2) download the image if there's one.

3) react to the end of transmission event, and redraw the grid cell.

When there's no image, only stage 2 is skipped.


kakashi wrote:does it actually download that image each time?

If you mean the movie reel image, of course not, that image is hard coded inside Coollector.

Re: Optimization

Fri Apr 01, 2011 4:43 pm

:V: Thanks for explaining. Hope I don't sound like a 'back-seat driver'

Re: Optimization

Fri Apr 01, 2011 4:56 pm

kakashi wrote:Hope I don't sound like a 'back-seat driver'

No problem at all. Your interest is flattering. And you're helping more often than not.
Post a reply