Ask Birdman for comments
Ask Birdman for comments
Gigablue Quad 4K & UE 4K
.........FBC Tuners:
------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
.......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
Zgemma H9 C/S into Giga4K
Well, the change you made prevents a directory pathname, rather than a file pathname, being set for the timeshift buffer.
This situation also occurs at line 253 and 1197 in the same file.
So it might be better to fix all of them....
They are all associated with setting self.pts_switchtolive to True, so I reckon changing the ptsSetNextPlaybackFile() code to be:
will be better, as this will handle all of them by not prepending the timeshift directory name when it is actually trying to not set any file. This code ends up setting m_timeshift_file_next in lib/service/service/dvb.cpp and there are various checks for this being an empty string, all associated with it switching to live TV.Code:def ptsSetNextPlaybackFile(self, nexttsfile): # print '!!!!! ptsSetNextPlaybackFile' ts = self.getTimeshift() if ts is None: return # Prepend timeshift dir, unless we are setting nothing ("") if nexttsfile != "": nexttsfile = "%s%s" % (config.usage.timeshift_path.value, nexttsfile) # print ("!!! SET NextPlaybackFile nexttsfile) ts.setNextPlaybackFile(nexttsfile)
Here's a version of Timeshift.py with this fix applied.
Timeshift.zip
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
divil_a_bit (04-01-17)
divil_a_bit (04-01-17)