sahib/glyr — Issue #9: Local cache is dodgy at best.
Author: DaveDavenport
Created: 2011-12-04 17:17:34+00:00
State: open

The local cache does not seem to work as it should. This happens on my main develop pc. (ubuntu 11.04).
I open gmpc, let it get all metadata, close it. open it again, then it refetches large parts.:

Also if I let gmpc insert an entry in the db, it will not find that, and requery it. This is driving me absolutely nuts and makes developing in gmpc/glyr almost impossible atm.

gmpc: could not connect to socket
gmpc: No such file or directory
-:1: error: invalid string constant "dark", expected valid string constant
open glyr db: /home/qball/.cache/gmpc/metadata
db: 0x1507900
playlist3 zoom level changed
- Artist : Clapton, Eric
- Album : Rush: Music From The Motion Picture Soundtrack
- Title : Tracks And Lines
- Language : us
- Type : artistphoto

---- Triggering: local
- Artist : Clapton, Eric
- Album : Rush: Music From The Motion Picture Soundtrack
- Title : Tracks And Lines
- Language : us
- Type : cover

- Artist : Clapton, Eric
- Album : Rush: Music From The Motion Picture Soundtrack
---- Triggering: local
- Title : Tracks And Lines
- Language : us
- Type : artistphoto

---- Triggering: musictree local lastfm singerpictures
- Artist : Clapton, Eric
- Album : Rush: Music From The Motion Picture Soundtrack
- Title : Help Me Up
- Language : us
- Type : backdrops

---- Triggering: local
- Artist : Clapton, Eric
- Album : Rush: Music From The Motion Picture Soundtrack
- Title : Help Me Up
- Language : us
- Type : cover

---- Triggering: local
- Artist : Clapton, Eric
- Album : Rush: Music From The Motion Picture Soundtrack
- Title : Help Me Up
- Language : us
- Type : lyrics

---- Triggering: local
Try querying cache
cache: (nil)
start query
Try querying cache
new style query
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
- Artist : Clapton, Eric
- Album : Rush: Music From The Motion Picture Soundtrack
- Title : Tracks And Lines
- Language : us
- Type : cover

---- Triggering: local
- Artist : Clapton, Eric
- Album : Rush: Music From The Motion Picture Soundtrack
- Title : Help Me Up
- Language : us
- Type : cover

---- Triggering: local
- Artist : Clapton, Eric
- Album : Rush: Music From The Motion Picture Soundtrack
- Title : Help Me Up
- Language : us
- Type : artistphoto

---- Triggering: local
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
- Artist : Clapton, Eric
- Album : Rush: Music From The Motion Picture Soundtrack
- Title : Help Me Up
- Language : us
- Type : cover

---- Triggering: local
- Artist : Clapton, Eric
- Album : Rush: Music From The Motion Picture Soundtrack
- Title : Help Me Up
- Language : us
- Type : artistphoto

---- Triggering: local
- Artist : Clapton, Eric
- Album : 24 Nights
- Language : us
- Type : cover

---- Triggering: local
- Artist : Clapton, Eric
- Album : Apartment Jam
- Language : us
- Type : cover

---- Triggering: local
- Artist : Clapton, Eric
- Album : A Tribute to Stevie Ray Vaughan
- Language : us
- Type : cover

---- Triggering: local
- Artist : Clapton, Eric
- Album : August
- Language : us
- Type : cover

---- Triggering: local
- Artist : Clapton, Eric
- Album : Blood Brother
- Language : us
- Type : cover

---- Triggering: local
- Artist : Clapton, Eric
- Album : Bradley Center, Milwaukee
- Language : us
- Type : cover

---- Triggering: local
- Artist : Clapton, Eric
- Album : From the Cradle
- Language : us
- Type : cover

---- Triggering: local
- Artist : Clapton, Eric
- Album : Just One Night
- Language : us
- Type : cover

---- Triggering: local
- Artist : Clapton, Eric
- Album : Knockin' On Heaven's Door
- Language : us
- Type : cover

---- Triggering: local
- Artist : Clapton, Eric
- Album : Madison Square Garden, New York City, New York
- Language : us
- Type : cover

---- Triggering: local
- Artist : Clapton, Eric
- Album : One More Car, One More Rider
- Language : us
- Type : cover

---- Triggering: local
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
- glyr: Downloaderror: HTTP response code said error [errno:22]
On URL: http://www.singerpictures.com/clapton-eric-pictures.html
#[-2/01] DB lookup found 2 dupes
---- Triggering: discogs rhapsody picsearch flickr
#[-6/01] DB lookup found 6 dupes
---- Triggering: google
#[-2/01] DB lookup found 2 dupes
- Artist : Clapton, Eric
- Album : Rush: Music From The Motion Picture Soundtrack
- Title : Tracks And Lines
- Language : us
- Type : cover

---- Triggering: musictree local lastfm albumart
--- Inserted 1 item into db.
- Artist : Clapton, Eric
- Album : Rush: Music From The Motion Picture Soundtrack
- Title : Help Me Up
- Language : us
- Type : backdrops

---- Triggering: musictree local htbackdrops
#[-2/01] DB lookup found 2 dupes
- Artist : Clapton, Eric
- Album : Rush: Music From The Motion Picture Soundtrack
- Title : Help Me Up
- Language : us
- Type : cover

---- Triggering: musictree local lastfm albumart
--- Inserted 1 item into db.
- Artist : Clapton, Eric
- Album : Rush: Music From The Motion Picture Soundtrack
- Title : Help Me Up
- Language : us
- Type : lyrics

---- Triggering: musictree local lyricswiki lipwalk
#[01/01] Checking encoding [.] (-0 item(s) less)
- Artist : Clapton, Eric
- Album : Rush: Music From The Motion Picture Soundtrack
- Title : Tracks And Lines
- Language : us
- Type : cover

---- Triggering: musictree local lastfm albumart
--- Inserted 1 item into db.
- Artist : Clapton, Eric
- Album : Rush: Music From The Motion Picture Soundtrack
- Title : Help Me Up
- Language : us
- Type : cover

---- Triggering: musictree local lastfm albumart
--- Inserted 1 item into db.
- Artist : Clapton, Eric
- Album : Rush: Music From The Motion Picture Soundtrack
- Title : Help Me Up
- Language : us
- Type : artistphoto

---- Triggering: musictree local lastfm singerpictures
Cache is Empty
new style query
glyr_return_queue: results
Provider: musictree
new style query
glyr_return_queue: results
Cache is Empty
new style query
glyr_return_queue: results
Provider: musictree
new style query
Provider: lyricswiki
new style query
Provider: musictree
new style query
glyr_return_queue: results
Provider: musictree
new style query
glyr_return_queue: results
glyr_return_queue: results
glyr_return_queue: results
- glyr: Downloaderror: HTTP response code said error [errno:22]
On URL: http://www.singerpictures.com/clapton-eric-pictures.html
#[-2/01] DB lookup found 2 dupes
---- Triggering: discogs rhapsody picsearch flickr
#[-6/01] DB lookup found 6 dupes
---- Triggering: google
#[-2/01] DB lookup found 2 dupes
- Artist : Clapton, Eric
- Album : Rush: Music From The Motion Picture Soundtrack
- Title : Help Me Up
- Language : us
- Type : cover

---- Triggering: musictree local lastfm albumart
--- Inserted 1 item into db.
- Artist : Clapton, Eric
- Album : Rush: Music From The Motion Picture Soundtrack
- Title : Help Me Up
- Language : us
- Type : artistphoto

---- Triggering: musictree local lastfm singerpictures
- glyr: Downloaderror: HTTP response code said error [errno:22]
On URL: http://www.singerpictures.com/clapton-eric-pictures.html
#[-2/01] DB lookup found 2 dupes
---- Triggering: discogs rhapsody picsearch flickr
Cache is Empty
new style query
glyr_return_queue: results
Provider: musictree
new style query
glyr_return_queue: results
#[-6/01] DB lookup found 6 dupes
---- Triggering: google
#[-2/01] DB lookup found 2 dupes
- Artist : Clapton, Eric
- Album : 24 Nights
- Language : us
- Type : cover

---- Triggering: musictree local lastfm albumart
- Artist : Clapton, Eric
- Album : Apartment Jam
- Language : us
- Type : cover

---- Triggering: musictree local lastfm albumart
- Artist : Clapton, Eric
- Album : A Tribute to Stevie Ray Vaughan
- Language : us
- Type : cover

---- Triggering: musictree local lastfm albumart
- Artist : Clapton, Eric
- Album : August
- Language : us
- Type : cover

---- Triggering: musictree local lastfm albumart
- Artist : Clapton, Eric
- Album : Blood Brother
- Language : us
- Type : cover

---- Triggering: musictree local lastfm albumart
- Artist : Clapton, Eric
- Album : Bradley Center, Milwaukee
- Language : us
- Type : cover

---- Triggering: musictree local lastfm albumart
- Artist : Clapton, Eric
- Album : From the Cradle
- Language : us
- Type : cover

---- Triggering: musictree local lastfm albumart
- Artist : Clapton, Eric
- Album : Just One Night
- Language : us
- Type : cover

---- Triggering: musictree local lastfm albumart
- Artist : Clapton, Eric
- Album : Knockin' On Heaven's Door
- Language : us
- Type : cover

---- Triggering: musictree local lastfm albumart
- Artist : Clapton, Eric
- Album : Madison Square Garden, New York City, New York
- Language : us
- Type : cover

---- Triggering: musictree local lastfm albumart
- Artist : Clapton, Eric
- Album : One More Car, One More Rider
- Language : us
- Type : cover

---- Triggering: musictree local lastfm albumart
Cache is Empty
new style query
glyr_return_queue: results
Provider: lastfm
new style query
glyr_return_queue: results
Provider: google
new style query
Provider: albumart
new style query
Provider: lastfm
new style query
Provider: albumart
new style query
Provider: google
new style query
glyr_return_queue: results
Provider: lastfm
new style query
Provider: albumart
new style query
Provider: albumart
new style query
Provider: albumart
new style query
glyr_return_queue: results
Provider: lastfm
glyr_return_queue: results
glyr_return_queue: results
glyr_return_queue: results
glyr_return_queue: results
glyr_return_queue: results
glyr_return_queue: results
glyr_return_queue: results
glyr_return_queue: results
Quitting....Waiting for glyr to finish.....