Hi there. I currently have a CentOS server with a 500 GB harddrive and 250mbit connection that serves video files through ftp. To be precise I use Kodi to view movies etc when I am not at home because my home upload is limited.
Unfortunately my videolibrary is a multitude of that 500 GB. So right now I need to plan in advanced what I want to watch and then upload it and remove it when I am done. These source files are located on a home-NAS with 8+ TB of storage.
What I would like to happen is that as soon as a file is requested the server will pull the file from my home NAS and start the stream as requested. I would then like the server to finish downloading that file and keep the last X number of files or Y GB. The advantage is that when I pause the file or I want to continue watching it then it will already be available from 250mbit.
I have read about using SSHFS to mount remote filesystems. However that does not include caching AFAIK and basically means the transfer speed will always be limited by my home-nas speed.
Any thoughts or starting points?
[link][16 comments]