There cannot be a boolean returned there... I should be stop, continue, save or save_movie..... Even with stop timeshift....
I suggest you did not use the complete patch....
Edited by littlesat, 18 April 2013 - 08:34.
Posted 18 April 2013 - 08:33
There cannot be a boolean returned there... I should be stop, continue, save or save_movie..... Even with stop timeshift....
I suggest you did not use the complete patch....
Edited by littlesat, 18 April 2013 - 08:34.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 19 April 2013 - 07:04
There cannot be a boolean returned there... I should be stop, continue, save or save_movie..... Even with stop timeshift....
I suggest you did not use the complete patch....
You probably did not understand me?
Press exit when the message about stopping timeshift on the screen.
Who can confirm the error?
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Posted 19 April 2013 - 07:38
def checkTimeshiftRunningCallback(self, returnFunction, answer):
+ if answer:
if "movie" in answer:
self.save_timeshift_in_movie_dir = True
if "save" in answer:
self.save_timeshift_file = True
self.saveTimeshiftFiles()
returnFunction(answer != "continue")
+ else:
+ returnFunction(False)
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Posted 19 April 2013 - 07:51
Why is this required? I do not see the problem...
The only values we get there should be stop, continue, save and save_movie...? So answer should always have a value..? Answer should be a string here...
When/Where will there be a bool returned?
Edited by littlesat, 19 April 2013 - 07:58.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 19 April 2013 - 08:07
Traceback (most recent call last):
File "/usr/lib/enigma2/python/mytest.py", line 192, in processDelay
callback(*retval)
File "/usr/lib/enigma2/python/Tools/BoundFunction.py", line 9, in __call__
File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 1607, in checkTimeshiftRunningCallback
if "movie" in answer:
TypeError: argument of type 'bool' is not iterable
(PyObject_CallObject(<bound method Session.processDelay of <__main__.Session instance at 0x2391508>>,()) failed)
wait for driver eof timeout
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Posted 19 April 2013 - 08:23
Can you chech this....?
def checkTimeshiftRunningCallback(self, returnFunction, answer): if answer: if "movie" in answer: self.save_timeshift_in_movie_dir = True if "save" in answer: self.save_timeshift_file = True ts = self.getTimeshift() if ts: ts.saveTimeshiftFile() del ts self.saveTimeshiftFiles() returnFunction(answer and answer != "continue")
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 19 April 2013 - 08:38
Can you chech this....?
def checkTimeshiftRunningCallback(self, returnFunction, answer): if answer: if "movie" in answer: self.save_timeshift_in_movie_dir = True if "save" in answer: self.save_timeshift_file = True ts = self.getTimeshift() if ts: ts.saveTimeshiftFile() del ts self.saveTimeshiftFiles() returnFunction(answer and answer != "continue")
Everything is OK.
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Posted 19 April 2013 - 08:41
Hopefully I did not make approx the same mistake this morning in recordQuestionCallback.... (e.g. it is cached up by this row.... if answer is None or answer[1] == "no":) So I'll wait before committing...
Edited by littlesat, 19 April 2013 - 08:43.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 21 April 2013 - 11:09
But I didn't select to save them and anyway shouldn't they be saved to /hdd/movie and not the timeshift device ?
Yes I know about pts_livebuffer
I think I narrowed down the problem, It happens when you look at 'Timeshift save recording(Select event)' but DO NOT press ok to select something.
So just looking at an event to save evokes a save.
Posted 21 April 2013 - 11:26
But I didn't select to save them and anyway shouldn't they be saved to /hdd/movie and not the timeshift device ?
Yes I know about pts_livebuffer
I think I narrowed down the problem, It happens when you look at 'Timeshift save recording(Select event)' but DO NOT press ok to select something.
So just looking at an event to save evokes a save.
Ok, I saw.
Now let's see what's up.
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
0 members, 5 guests, 0 anonymous users