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 #481 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 3 March 2013 - 17:59

I think pts plugin does merging, or?
I don't know how difficult it is.

It would be better if backend could handle it without copying afterwards ...
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Timeshifting problems with OpenPLi 3.0 #482 Dimitrij

  • PLi® Core member
  • 10,330 posts

+350
Excellent

Posted 3 March 2013 - 19:19

I think pts plugin does merging, or?
I don't know how difficult it is.

pts plugin not merge.
This is the last thing i want to do for timeshift.
and correct these errors http://openpli.org/f...post__p__337494

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


Re: Timeshifting problems with OpenPLi 3.0 #483 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 3 March 2013 - 19:59

and correct these errors http://openpli.org/f...post__p__337494


To 1: I'll try to test whether my suggestion works. If it works, I'll provide a patch.
To 2: As said before pieterg tried to tune it with no success: http://openpli.org/f...post__p__332900
To 3: If I have time (not very likely) I'll look at it.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Timeshifting problems with OpenPLi 3.0 #484 Dimitrij

  • PLi® Core member
  • 10,330 posts

+350
Excellent

Posted 3 March 2013 - 20:10

To 1: I'll try to test whether my suggestion works. If it works, I'll provide a patch.
To 2: As said before pieterg tried to tune it with no success: http://openpli.org/f...post__p__332900
To 3: If I have time (not very likely) I'll look at it.

Thank you.
to 3 ...
it is more a problem for pts plugin(automatic /permanent mode) than for standard timeshift.

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


Re: Timeshifting problems with OpenPLi 3.0 #485 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 4 March 2013 - 20:42

Hi pieterg,

it's regarding this bug http://openpli.org/f...post__p__335405.
I have patched tstools.cpp in this way:
diff --git a/lib/dvb/tstools.cpp b/lib/dvb/tstools.cpp
index 8f5e3c9..fa3a913 100644
--- a/lib/dvb/tstools.cpp
+++ b/lib/dvb/tstools.cpp
@@ -807,6 +807,9 @@ int eDVBTSTools::findFrame(off_t &_offset, size_t &len, int &direction, int fram
				}
		}

+	   // found frame must be after/before given offset
+	   if ((direction >= 0 && start < _offset) || (direction < 0 && start > _offset)) return -1;
+
		len = offset - start;
		_offset = start;
		if (direction < 0)

I have tested this:
- Fast forwarding with > 8x speed while timeshifting SD and HD -> at end of timeshift it switches without problems to live tv
- Fast forward in radio timeshift -> not working, but also don't work without my patch
- Fast forwarding with > 8x speed in normal recording -> no problems
- Fast forwarding with > 8x speed in normal recording without .ap and .sc file -> no problems
- Fast forwarding with > 8x speed in normal recording without .ap but with .sc file -> no problems
Also fast rewinding works without problems.

Can you please take a look at it and change it in git??
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Timeshifting problems with OpenPLi 3.0 #486 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 4 March 2013 - 20:53

I'm just a bit worried about what happens when callers ignore the return value of findFrame, and expect to be returned a valid frame at all times.
Did you check who uses this function, and whether they should handle this correctly?

Re: Timeshifting problems with OpenPLi 3.0 #487 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 4 March 2013 - 21:34

No, I didn't check callers. Didn't thought about this, because there are a couple of "return -1" in the procedure.
Well, wait some minutes. I'll check all callers....
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Timeshifting problems with OpenPLi 3.0 #488 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 4 March 2013 - 21:40

findFrame is only called twice (one time in tstools.cpp and one time in dvb.cpp). Both times return value is checked.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Timeshifting problems with OpenPLi 3.0 #489 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 4 March 2013 - 22:12

I have no time to test things right now, but as you have given it thorough testing, I've applied it.

Re: Timeshifting problems with OpenPLi 3.0 #490 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 4 March 2013 - 22:19

Thanks!
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Timeshifting problems with OpenPLi 3.0 #491 littlesat

  • PLi® Core member
  • 57,183 posts

+699
Excellent

Posted 5 March 2013 - 07:50

You thanks for this suggestion....

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


Re: Timeshifting problems with OpenPLi 3.0 #492 Dimitrij

  • PLi® Core member
  • 10,330 posts

+350
Excellent

Posted 5 March 2013 - 08:15

littlesat
Please help me.
Where does this information here?
self.session.nav.getCurrentService()
and
def getTimeshift(self):
  service = self.session.nav.getCurrentService()
  return service and service.timeshift()

Edited by Dima73, 5 March 2013 - 08:15.

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


Re: Timeshifting problems with OpenPLi 3.0 #493 littlesat

  • PLi® Core member
  • 57,183 posts

+699
Excellent

Posted 5 March 2013 - 09:32

Where is it?

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


Re: Timeshifting problems with OpenPLi 3.0 #494 Dimitrij

  • PLi® Core member
  • 10,330 posts

+350
Excellent

Posted 5 March 2013 - 10:56

Where is it?

InfoBarGenerics.py
class InfoBarTimeshift

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


Re: Timeshifting problems with OpenPLi 3.0 #495 littlesat

  • PLi® Core member
  • 57,183 posts

+699
Excellent

Posted 5 March 2013 - 11:07

And why is that quationable?
(or do you have suggestions?)

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


Re: Timeshifting problems with OpenPLi 3.0 #496 Dimitrij

  • PLi® Core member
  • 10,330 posts

+350
Excellent

Posted 5 March 2013 - 11:15

And why is that quationable?
(or do you have suggestions?)

I do not know why.
Therefore, I want to ask you.
You are an expert in Enigma.

No signal from the satellite.
Start timeshift(standart)
And it works, how can this be???

item 3(log)
http://openpli.org/f...post__p__337494

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


Re: Timeshifting problems with OpenPLi 3.0 #497 littlesat

  • PLi® Core member
  • 57,183 posts

+699
Excellent

Posted 5 March 2013 - 12:06

Could be somehow related... This function just get the reference to the currently played service.... and when this is not playing it takes a service from self.pnav in Navigation.py.. (even when it is not really playing yet).

Probably we need to add a function getCurrentService (without Ref) in Navigation and get simply self.getCurrentService back there...

But as far I understand as soon that the service is tuned... the timeshift will go-on...
So the big question here... is this really a bug?

Edited by littlesat, 5 March 2013 - 12:08.

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


Re: Timeshifting problems with OpenPLi 3.0 #498 Dimitrij

  • PLi® Core member
  • 10,330 posts

+350
Excellent

Posted 5 March 2013 - 12:49

So the big question here... is this really a bug?

Who else should check out.
Log.
Two channels, where there is no signal at the moment.
Timeshift but it works.

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


Re: Timeshifting problems with OpenPLi 3.0 #499 littlesat

  • PLi® Core member
  • 57,183 posts

+699
Excellent

Posted 5 March 2013 - 13:52

But if this bad.???

The same could happen when you do timeshift and timeshift works and you have a real bad stormy rain??? As far I undrestood you slimply get an empty timeshift recording because there is no data yet...

Edited by littlesat, 5 March 2013 - 13:53.

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


Re: Timeshifting problems with OpenPLi 3.0 #500 kocus37

  • Senior Member
  • 121 posts

+4
Neutral

Posted 5 March 2013 - 13:59

In that way timeshift could work with IPTV, streaming channels....

OpenPli 4.0 - Vu+Solo2 - 30W Hispasat



6 user(s) are reading this topic

0 members, 6 guests, 0 anonymous users