Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 2 of 2
  1. #1
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,318

    Caching in lua ?

    How should an applet that retrieves information from Internet cache things ?

    Unless I've interpreted the code incorrectly it seems like album covers are cached in memory and not persistently. Is this the way to do it or is there a standard way to cache images I retrieve from Internet persistently on Controller/Touch/Radio ?
    Erland Isaksson (My homepage)
    (Developer of many plugins/applets (both free and commercial).
    If you like to encourage future presence on this forum and/or third party plugin/applet development, consider purchasing some plugins)
    You may also want to try my Android apps Squeeze Display and RSS Photo Show
    Interested in the future of music streaming ? ickStream - A world of music at your fingertips.

  2. #2
    Administrator andyg's Avatar
    Join Date
    Jan 2006
    Location
    Pittsburgh, PA
    Posts
    7,396
    You probably want to use the imageproxy service on SN. It will cache as well as resize for you with much higher quality than you get with SDL. On-device caching is probably something we will want to look at in the Touch timeframe.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •