timeshift buffer location.

General discussion about DVBLink products

timeshift buffer location.

Postby ashley » Sun Sep 06, 2015 5:09 pm

Hi, if I use kodi frontends where is the timeshift buffer defined as I want to take the writes off my ssd boot drive.
Ideally the default should be the same drive as an specified for recorded tv rather than the boot drive.
If I want to set this up in ram how much space needs to be allocated. - would I need a ram disk or can the product be configured to use ram natively?
Thanks.
Intel i5 quad, GTX1060
1xTBS6205
DVBlink 6 on Win10 x64 with Nexus 5x/9/SPMC/Kodi clients
Dumped MCE for Nvidia Shield TV running SPMC v17 with dvblink plugin!
Dumped Sky TV for being a waste of money
ashley
 
Posts: 315
Joined: Sun Jul 10, 2011 9:01 am
Location: Auckland, New Zealand


Re: timeshift buffer location.

Postby the_man » Mon Sep 07, 2015 9:00 am

By default timeshift path is dvblink/share/temp directory. You can change it by addin timeshift_path key to the root of dvblink_configuration.xml file with new path. Beware that all files inside this temp folder will be automatically deleted by DVBLink.
To make any changing available at dvblink_configuration.xml file, stop dvblink server and then, for example add this string:
Code: Select all
<timeshift_path>D:\TestTimeshift</timeshift_path>
NETGEAR RNDU2000; Synology DS112j, DS 212j, DS213+, DS 712+; Western Digital WD ex2; Asustor AS3, RPI2 ...
PCTV 460,461e,292e; TT 4400, 4650CI;DVBSKy S960; DD octopus net; Inverto sat2ip multibox; TBS DVB-C ...
the_man
 
Posts: 4696
Joined: Mon Dec 02, 2013 1:11 pm

Re: timeshift buffer location.

Postby ashley » Mon Sep 07, 2015 10:46 am

Thanks. Great I can see through resource manager that the new location is being used.
If I want to make this go to a ram drive is it 4gb in total required or 4gb per client required? Is there a way of specifying buffer time?
Intel i5 quad, GTX1060
1xTBS6205
DVBlink 6 on Win10 x64 with Nexus 5x/9/SPMC/Kodi clients
Dumped MCE for Nvidia Shield TV running SPMC v17 with dvblink plugin!
Dumped Sky TV for being a waste of money
ashley
 
Posts: 315
Joined: Sun Jul 10, 2011 9:01 am
Location: Auckland, New Zealand

Re: timeshift buffer location.

Postby the_man » Mon Sep 07, 2015 11:36 am

As i know 4 GB for each of the Live TV streams.
NETGEAR RNDU2000; Synology DS112j, DS 212j, DS213+, DS 712+; Western Digital WD ex2; Asustor AS3, RPI2 ...
PCTV 460,461e,292e; TT 4400, 4650CI;DVBSKy S960; DD octopus net; Inverto sat2ip multibox; TBS DVB-C ...
the_man
 
Posts: 4696
Joined: Mon Dec 02, 2013 1:11 pm

Re: timeshift buffer location.

Postby ashley » Mon Sep 07, 2015 6:48 pm

Thanks. And what happens when a live stream is torn down? Are the files relating to that stream deleted?
Is there any way of reducing the size of the buffer? Reason why is that I'd like to push the buffer to a ram disk to avoid disk writes and smooth performance.
Intel i5 quad, GTX1060
1xTBS6205
DVBlink 6 on Win10 x64 with Nexus 5x/9/SPMC/Kodi clients
Dumped MCE for Nvidia Shield TV running SPMC v17 with dvblink plugin!
Dumped Sky TV for being a waste of money
ashley
 
Posts: 315
Joined: Sun Jul 10, 2011 9:01 am
Location: Auckland, New Zealand

Re: timeshift buffer location.

Postby BartZorn » Sat Dec 09, 2017 2:03 pm

I have been away for a while, but now I have restarted using DVBlink.

I have a dedicated SSD for timeshifting, but I am unable to get DVBlink to use it.

I have added the following line to dvblink_configuration.xml:

<timeshift_path>F:\Timeshift</timeshift_path>

I save the xml file to my desktop. I verified the line is still in the file. I copied the xml file to the installation folder and gave the required permission. Finally, I verified that the line is still in the xml file.

Next I restart the dvblink_server service. The result is that my SSD is not used, and that the timeshift_path line has been removed from the xml file.

What the f**k is going on?

Bart
DVBlink TVsource 6.0.0
Digital Devices Cine S2 V7 with DuoFlex CI
CanalDigitaal (NL) CAM with CanalDigitaal smartcard
Kodi 17.6 with DVBlink PVR client V 3.4.5
Windows 10 Pro x64
Core i3-7100, 8 GB
BartZorn
 
Posts: 121
Joined: Mon Jun 08, 2015 9:14 pm
Location: Spain

Re: timeshift buffer location.

Postby BartZorn » Sun Mar 04, 2018 10:23 am

BartZorn wrote:I have been away for a while, but now I have restarted using DVBlink.

I have a dedicated SSD for timeshifting, but I am unable to get DVBlink to use it.

I have added the following line to dvblink_configuration.xml:

<timeshift_path>F:\Timeshift</timeshift_path>

I save the xml file to my desktop. I verified the line is still in the file. I copied the xml file to the installation folder and gave the required permission. Finally, I verified that the line is still in the xml file.

Next I restart the dvblink_server service. The result is that my SSD is not used, and that the timeshift_path line has been removed from the xml file.

What the f**k is going on?

Bart


Because the DVBlogic team saw no reason to respond here, I send them an email. The response was that you have to stop the dvblink_server service *before* you make the edit to the configuration file. I have no idea how they do it, but it seems that the configuration file is a dynamic configuration store of some sort, rather than a text file which is read at startup of the service.

Anyway, it now works as I want it.

Regards,

Bart
DVBlink TVsource 6.0.0
Digital Devices Cine S2 V7 with DuoFlex CI
CanalDigitaal (NL) CAM with CanalDigitaal smartcard
Kodi 17.6 with DVBlink PVR client V 3.4.5
Windows 10 Pro x64
Core i3-7100, 8 GB
BartZorn
 
Posts: 121
Joined: Mon Jun 08, 2015 9:14 pm
Location: Spain

Re: timeshift buffer location.

Postby btaroli » Mon Mar 12, 2018 2:25 am

BartZorn wrote:... you have to stop the dvblink_server service *before* you make the edit to the configuration file. I have no idea how they do it, but it seems that the configuration file is a dynamic configuration store of some sort ..


Not really, and this is a fairly common requirement for applications. Thunderbird is another good example. The issue is that the file is READ at startup and WRITTEN during execution (or sometimes just at shutdown). So what’s in the file only matters at start time. And it often gets overwritten at shutdown.
btaroli
 
Posts: 228
Joined: Tue Jan 01, 2013 12:26 am
Location: SF Bay Area, CA, USA

Re: timeshift buffer location.

Postby BartZorn » Thu Mar 22, 2018 2:15 pm

btaroli wrote:
BartZorn wrote:... you have to stop the dvblink_server service *before* you make the edit to the configuration file. I have no idea how they do it, but it seems that the configuration file is a dynamic configuration store of some sort ..


Not really, and this is a fairly common requirement for applications. Thunderbird is another good example. The issue is that the file is READ at startup and WRITTEN during execution (or sometimes just at shutdown). So what’s in the file only matters at start time. And it often gets overwritten at shutdown.


Sorry, but to me that is the same thing. Be it fairly common or not, I was very surprised that my configuration file got changed, without any warning or error message whatsoever.

Bart
DVBlink TVsource 6.0.0
Digital Devices Cine S2 V7 with DuoFlex CI
CanalDigitaal (NL) CAM with CanalDigitaal smartcard
Kodi 17.6 with DVBlink PVR client V 3.4.5
Windows 10 Pro x64
Core i3-7100, 8 GB
BartZorn
 
Posts: 121
Joined: Mon Jun 08, 2015 9:14 pm
Location: Spain


Return to General

Who is online

Users browsing this forum: No registered users and 4 guests

cron