Jump to content


Photo

Timeshifting problems with OpenPLi 3.0


  • Please log in to reply
747 replies to this topic

Re: Timeshifting problems with OpenPLi 3.0 #561 littlesat

  • PLi® Core member
  • 57,223 posts

+701
Excellent

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


Re: Timeshifting problems with OpenPLi 3.0 #562 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

Posted 18 April 2013 - 09:01

Version PTS 1.3c

-fix icon seekstate if PTS not enabled(for standart timeshift)


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Timeshifting problems with OpenPLi 3.0 #563 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

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


Re: Timeshifting problems with OpenPLi 3.0 #564 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

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


Re: Timeshifting problems with OpenPLi 3.0 #565 littlesat

  • PLi® Core member
  • 57,223 posts

+701
Excellent

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


Re: Timeshifting problems with OpenPLi 3.0 #566 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

Posted 19 April 2013 - 07:58

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..?

No press OK=  stop, continue, save and save_movie

Press exit


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Timeshifting problems with OpenPLi 3.0 #567 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

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


Re: Timeshifting problems with OpenPLi 3.0 #568 littlesat

  • PLi® Core member
  • 57,223 posts

+701
Excellent

Posted 19 April 2013 - 08:09

Thanks.... Indeed... I missed that...

Better give me something how to trigger an issue

;)


Edited by littlesat, 19 April 2013 - 08:15.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Timeshifting problems with OpenPLi 3.0 #569 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

Posted 19 April 2013 - 08:18

Done :)


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Timeshifting problems with OpenPLi 3.0 #570 littlesat

  • PLi® Core member
  • 57,223 posts

+701
Excellent

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


Re: Timeshifting problems with OpenPLi 3.0 #571 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

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


Re: Timeshifting problems with OpenPLi 3.0 #572 littlesat

  • PLi® Core member
  • 57,223 posts

+701
Excellent

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


Re: Timeshifting problems with OpenPLi 3.0 #573 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

Posted 19 April 2013 - 08:53

del


Edited by Dima73, 19 April 2013 - 08:54.

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Timeshifting problems with OpenPLi 3.0 #574 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

Posted 20 April 2013 - 18:44

Version PTS 1.3d

-Fix GSOD when press save and save movie dir checkTimeshiftRunning message

-add save and save movie file timeshift for checkTimeshiftRunning message if not PTS save


Edited by Dima73, 20 April 2013 - 18:45.

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Timeshifting problems with OpenPLi 3.0 #575 jakey

  • Senior Member
  • 129 posts

+3
Neutral

Posted 21 April 2013 - 10:22

There seems to be a problem with 1.3d.

 

On zapping it is randomly saving timeshift events which take up space on the timeshift device which in my case is a USB stick.

 

timeshift.jpg

 

 



Re: Timeshifting problems with OpenPLi 3.0 #576 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

Posted 21 April 2013 - 10:56

*.ts and *.ts.sc= user selected save timeshift

pts_livebuffer.* will be removed when changing service


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Timeshifting problems with OpenPLi 3.0 #577 jakey

  • Senior Member
  • 129 posts

+3
Neutral

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.



Re: Timeshifting problems with OpenPLi 3.0 #578 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

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


Re: Timeshifting problems with OpenPLi 3.0 #579 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

Posted 21 April 2013 - 17:44

Version PTS 1.3e

- fix save  timeshift if not answer(required to re-configure setup "Timeshift-save action on zap")

-add setup Behavior key long record(start/stop instant record  /  open list timeshift event)


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Timeshifting problems with OpenPLi 3.0 #580 jakey

  • Senior Member
  • 129 posts

+3
Neutral

Posted 21 April 2013 - 18:33

@Dima73, thanks for the update all seems to be ok now as far as I can see. Although Long press record does nothing here.


Edited by jakey, 21 April 2013 - 18:34.



4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users