Async and buffer settled, Next: next page and close()
Tuesday, September 05, 2006
The async and buffer took more time than I expected. I had to reorganize the functions so that it's more understandable.Next thing to do is handle the get next page. In slideshow mode, I have set the number of images to fetch perpage to 500 (the max amount allowed perpage by flickr). Before this, once the slideshow has reached 500, it goes back to one. I figured that nobody leaves their slideshow on for more than 4 hours (the normal slideshow mode's smallest interval is 30 seconds, 30 seconds times 500 = 4 hours+). But with the badge mode, the interval is much smaller, around 4 seconds. So it very likely the user will manage to get through all the 500 images in the page.
Since I began making the badge mode, I've created a lot of new global variables and images. All these things take up memory, and I need the destroy them when the user exits the slideshow.
To do:
- Next page in slideshow
- Clean up variables on close()






Leave your response