[Suggestion] Cache Video/Picture Thumbnails
Re: Cache Video/Picture Thumbnails
Yeah I'm not sure what would be the best way to do it. A good thing about storing it in memory is faster fetching, but considering the problems Java seems to have with freeing memory it might be nice to limit memory use when we can. So there are good points for either way. I would be happy with either way. You know me, if a feature works I'm not picky about how :p
- SharkHunter
- Developer
- Posts: 648
- Joined: Fri Jun 01, 2012 9:36 pm
Re: Cache Video/Picture Thumbnails
My real question was if it doesn't work right now? We call ffmpeg once to extract all metadata plus the thumb and then we store it all in memory. Once you restart UMS the process would be done again. The thing we can get rid of is the "extra" call to ffmpeg to extract the thumb (after a restart). But I think we'll still need to extract the meta data so how big is the gain to cache the thumbs to disc?
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
We believe in: rough consensus and running code.
Re: Cache Video/Picture Thumbnails
I think the speed gain will be significant enough to be worth it