Page 1 of 1

caching of large music files

PostPosted: Wed Jan 04, 2012 10:01 am
by waldemar
Is there a possbility to limit the cache size for playing a music file?
I have in my collection some podcasts and radio recordings with sizes > 500MB. As it seems the jwplayer trys to cache the complete file while playing. This causes for example in Firefox the "plugin container procces" to allocate >600Mb of Ram. Is there no possibility to limit this cache behaviour?
Im not sure if this is a subsonic or jwplayer problem, but maybe someone knows a solution?

thanks.

Re: caching of large music files

PostPosted: Wed Jan 04, 2012 5:02 pm
by ytechie
So basically a sliding cache window, where it would cache the first 50mb, then keep moving that 50mb window while playing. So it would only keep a cache of 50mb, and when the player needs to continue caching, it would delete what it had cached at the start of the file.

Re: caching of large music files

PostPosted: Wed Jan 04, 2012 11:27 pm
by BKKKPewsey
Unfortunately one consequence of that (if it was possible) would be to break the seek bar.
(Not that my seek bar requires any further breaking :( but that's another issue)

Re: caching of large music files

PostPosted: Thu Jan 05, 2012 12:37 am
by ytechie
BKKKPewsey wrote:Unfortunately one consequence of that (if it was possible) would be to break the seek bar.
(Not that my seek bar requires any further breaking :( but that's another issue)


Yup. The seek bar is very stable right now :roll:

I think what would solve the issue of huge files (if every wish came true) would be to have the option for large files to be treated very similarly to the way videos are controlled.

Even though the seek bar is visible on videos, it is not controlled by it until the video is fully cached. Even then I wouldn't recommend using the seek bar.
Instead, the video is controlled by a dropdown with a list of times to choose from.

What if large files had a similar dropdown box next to the player and would skip to the time selected from the box. Then you could go even further and enable a sliding window and disable the seek bar.

:shock: Pant...Pant... Phew...

It was just a dream. :mrgreen: