Joined: 04 Jan 2008 Posts: 2034 Location: Maryland
Posted: Sun May 27, 2012 12:07 am Post subject: Re: LockedLRUCache
TivoWare wrote:
Do you rember whay you implemented the LockedLRUCache in the photo.py?
Not really. I imagine I was flailing about, trying to solve the mysterious occasional lockups (eventually solved by adding an output buffer for handler.wfile).
I suppose I should've kept better notes, but there it is.
Quote:
Would the other plugins not have the same issue if there is one?
The photo plugin gets hit by barrages of multiple near-simultaneous requests in ways that other plugins do not. _________________ My pyTivo fork . My page
It is probably futile, but I am changing the get_files in plugin.py to be common for videos, music, and photos. Photos was easy, and music is almost done, but I need to add support for playlists and have not decided how I want to do it.
One thing I keep wondering is why when we do sorting we are using the file name/date and not the metadata name/date.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum