Keep a current metadata parsing in cache
|Assignee:||Andreas Smas||% Done:|
My main movie directory contains 400 movies. It takes a while for my PS3 to parse its metadata (movie title + cover).
That parsing is discarded when exiting a directory and going to a parent one.
Would it be possible to keep a given parsing in memory rather than discarding it?
Note: this doesn't apply when navigating into a child directory. Parsing is properly kept.
ps3: Use lwmutexes for faster locking
#3 Updated by Andreas Smas over 4 years ago
According to the log the metadata is in the sqlite cache for sure but it's still a bit slow.
I've tried to fix various stuff related to this but I don't have as big database as you do so i'm not 100% sure what effect it has, please check with 4.99.482 and report back.
#4 Updated by Ema Nymton over 4 years ago
Bug resolved. Thanks. Initial parsing is a tad faster (maybe 10% faster?). I can also confirm that when leaving and entering the directory again, caching is used (it takes about 2 seconds to retrieve the metadata and the HDD LED doesn't blink).
Mission accomplished :)
You're a really talented coder!