OK, with vdr version 2.2.0 I did it the following way:
under "/var/lib/vdr/setup.conf" you have the possibility to configure the path for the TimeshiftBuffer. "vnsiserver.TimeshiftBufferDir" is what you are looking for:
Code:
vnsiserver.Timeshift = 2
vnsiserver.TimeshiftBufferDir = /srv/dev-disk-by-label-timeshift/timeshift/
vnsiserver.TimeshiftBufferFileSize = 74
vnsiserver.TimeshiftBufferSize = 222
If I remember right, you can set it up the following way:
- vnsiserver.Timeshift = 0 -> Timeshift off
- vnsiserver.Timeshift = 1 -> Timeshift to RAM
- vnsiserver.Timeshift = 2 -> Timeshift to HDD
- vnsiserver.TimeshiftBufferDir = /path/to/your/timeshiftbuffer
- vnsiserver.TimeshiftBufferFileSize = X -> BufferFileSize per vdr client
- vnsiserver.TimeshiftBufferSize = X -> BufferSize for all vdr clients
For TimeshiftBuffering I mounted a 222GB ssd to "/srv/dev-disk-by-label-timeshift/" and "/srv/dev-disk-by-label-timeshift/timeshift/" is the path where vdr has the rights to r/w. I have three vdr clients. Every client is able to generate a BufferFile with a size of 74GB.
under "/etc/vdr/conf.d/00-vdr.conf" you have the possibility to configure the path for your recordings:
Code:
[vdr]
--video=/var/lib/video
There was a change from version 2.0.2 to 2.2.0. It's not possible to set the variable "VIDEO_DIR" in "/etc/default/vdr" with vdr 2.2.0.
Don't forget to stop the vdr service before editing the files and start again after editing the files.
Maybe it's possible to configure some (or all) parameters at the vdr client gui. But for me it's not possible to do this at the client side, because the vdr client gui under the kodi pvr settings (client specific) is not working with AndroidTV or Win10.
Greetings Hoppel