pyTivo Discussion Forum Forum Index pyTivo Discussion Forum
Answers and the development of pyTivo a TiVo transcoding server
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

LockedLRUCache

 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> pyTivo
 View previous topic :: View next topic  
Author Message
TivoWare



Joined: 18 May 2012
Posts: 8

PostPosted: Sat May 26, 2012 11:39 pm    Post subject: LockedLRUCache Reply with quote

wmcbrine,
Do you rember whay you implemented the LockedLRUCache in the photo.py? Would the other plugins not have the same issue if there is one?
Back to top
View user's profile Send private message
wmcbrine



Joined: 04 Jan 2008
Posts: 2034
Location: Maryland

PostPosted: Sun May 27, 2012 12:07 am    Post subject: Re: LockedLRUCache Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
TivoWare



Joined: 18 May 2012
Posts: 8

PostPosted: Mon May 28, 2012 10:16 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> pyTivo All times are GMT
Page 1 of 1

 
Jump to:  
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
Site is in NO WAY affiliated with TiVo Inc

Powered by phpBB © 2001, 2005 phpBB Group
phpBB SEO

Get pytivo at SourceForge.net. Fast, secure and Free Open Source software downloads
[ Time: 0.1049s ][ Queries: 12 (0.0096s) ][ GZIP on - Debug on ]