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 #521 Robinson

  • Senior Member
  • 2,497 posts

+29
Good

Posted 10 March 2013 - 01:33

not sure, maybe a 'channel specific' bug because of kinda non standard way of broadcast by its provider (IIRC there were some issues with rewinding on TCM recordings /?/)
//can't test it for the moment on TCM, on another channel (on my vuduo) it works as expected...

I was actually talking about TCM UK and AFAIK the problem was related to TCM Poland.

well, this is not a bug, it's a (pretty fresh) feature, although a debatable one, to say the least...
//IMHO zapping with number keys is not exactly what you expect when you are in a timeshift mode (no matter whether you're watching shifted playback or you've caught up with a 'live' broadcast)
but of course, opinions vary...

If so, this new feature seems to be unnecessary.

Is this reproducable? This happens on my ET9200 sometimes and in my case it's not easy to reproduce. There was already a discussion about this in the thread. I think only ETxxxx are affected. When it occurs I see "wait for driver eof ok" in the E2 output. For me it's an driver issue, but I'm but 100% sure.

I don't use timeshift too often. I will try to reproduce it though.

or maybe you've just accidentaly pressed 9 instead of 6 when it was less than 5 minutes to 'live'?

Not likely. It was 7 minutes, so I would have had to press "9" twice.

ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: Timeshifting problems with OpenPLi 3.0 #522 Dimitrij

  • PLi® Core member
  • 6,551 posts

+210
Excellent

Posted 14 March 2013 - 11:15

PermanentTimeshift plugin for openPLi - version 1.3a
-fix stop standart timeshift
-fix warning when zap

P.S.needs to be tested

Lunix3-4K/VU+solo4k(thanks guys to gisclub.tv)


Re: Timeshifting problems with OpenPLi 3.0 #523 littlesat

  • PLi® Core member
  • 49,175 posts

+527
Excellent

Posted 14 March 2013 - 13:32

fix warning when zap

I suggest this should be configurable as it is...

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


Re: Timeshifting problems with OpenPLi 3.0 #524 Dimitrij

  • PLi® Core member
  • 6,551 posts

+210
Excellent

Posted 14 March 2013 - 13:50

I suggest this should be configurable as it is...

In my opinion it should be on/off and all.
But was asked to show warning only under certain conditions(if seeking or not live tv).
Let's see what came of it.
If it works not correctly, i simply remove this code from the plugin.

Lunix3-4K/VU+solo4k(thanks guys to gisclub.tv)


Re: Timeshifting problems with OpenPLi 3.0 #525 Nikei

  • Senior Member
  • 60 posts

0
Neutral

Posted 15 March 2013 - 07:18

Enigma2-плагинов-расширений-permanenttimeshift_1.3a
works perfectly

Re: Timeshifting problems with OpenPLi 3.0 #526 littlesat

  • PLi® Core member
  • 49,175 posts

+527
Excellent

Posted 15 March 2013 - 09:37

Thanks to dima73

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


Re: Timeshifting problems with OpenPLi 3.0 #527 SpaceRat

  • Senior Member
  • 991 posts

+62
Good

Posted 17 March 2013 - 18:40

Dunno if this crash is timeshift related, but it occured when trying to rewind after one of those still unsolved freezers occured:

Spoiler

1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: Timeshifting problems with OpenPLi 3.0 #528 Dimitrij

  • PLi® Core member
  • 6,551 posts

+210
Excellent

Posted 17 March 2013 - 19:13

SpaceRat

HbbTV
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Navigation.py", line 49, in dispatchEvent
  File "/usr/lib/enigma2/python/Components/ServiceEventTracker.py", line 74, in event
  File "/usr/lib/enigma2/python/Plugins/Extensions/HbbTV/plugin.py", line 948, in _cb_detectedAIT
		name = self._cb_ready_for_ait()
  File "/usr/lib/enigma2/python/Plugins/Extensions/HbbTV/plugin.py", line 986, in _cb_ready_for_ait
		if reader.doOpen():
  File "/usr/lib/enigma2/python/Plugins/Extensions/HbbTV/aitreader.py", line 47, in doOpen
		self.mDocument = xml.dom.minidom.parseString(document)
  File "/usr/lib/python2.7/xml/dom/minidom.py", line 1924, in parseString
  File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 940, in parseString
  File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 223, in parseString
xml.parsers.expat.ExpatError: syntax error: line 1, column 0
Why no one fixes this plugin?

Edited by Dima73, 17 March 2013 - 19:15.

Lunix3-4K/VU+solo4k(thanks guys to gisclub.tv)


Re: Timeshifting problems with OpenPLi 3.0 #529 littlesat

  • PLi® Core member
  • 49,175 posts

+527
Excellent

Posted 17 March 2013 - 21:01

Is that VU's plugin?

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


Re: Timeshifting problems with OpenPLi 3.0 #530 SpaceRat

  • Senior Member
  • 991 posts

+62
Good

Posted 17 March 2013 - 23:12

Is that VU's plugin?

Yepp.
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: Timeshifting problems with OpenPLi 3.0 #531 littlesat

  • PLi® Core member
  • 49,175 posts

+527
Excellent

Posted 18 March 2013 - 07:43

They need to patch that aitreader

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


Re: Timeshifting problems with OpenPLi 3.0 #532 greatred

  • Senior Member
  • 268 posts

+2
Neutral

Posted 18 March 2013 - 10:21

Hi,

could someone please explain the functionality introduced by this commit?

Re: Timeshifting problems with OpenPLi 3.0 #533 ims

  • PLi® Core member
  • 11,127 posts

+168
Excellent

Posted 18 March 2013 - 10:28

activate timeshift and then try press button for instant recording and you will see 2 new item in this menu
Kdo nic nedělá, nic nezkazí!

Re: Timeshifting problems with OpenPLi 3.0 #534 betacentauri

  • PLi® Core member
  • 5,397 posts

+247
Excellent

Posted 18 March 2013 - 10:35

Hi,

could someone please explain the functionality introduced by this commit?


See here: http://openpli.org/f...post__p__336631
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Timeshifting problems with OpenPLi 3.0 #535 Dimitrij

  • PLi® Core member
  • 6,551 posts

+210
Excellent

Posted 18 March 2013 - 19:26

Saving timeshift ...
No description, no reference service.
Is it just me or?

Lunix3-4K/VU+solo4k(thanks guys to gisclub.tv)


Re: Timeshifting problems with OpenPLi 3.0 #536 Dimitrij

  • PLi® Core member
  • 6,551 posts

+210
Excellent

Posted 18 March 2013 - 19:33

You can not answer, i understand.
No meta file.

Lunix3-4K/VU+solo4k(thanks guys to gisclub.tv)


Re: Timeshifting problems with OpenPLi 3.0 #537 betacentauri

  • PLi® Core member
  • 5,397 posts

+247
Excellent

Posted 18 March 2013 - 19:39

Hi Dima73,

yes, there is no description. What is reference service? The channel name? Yes, that's missing, too.
Timeshift mechanism only generates .ts and .sc file. These files are not deleted with my patch.

I'am working on a patch which also generates .cuts files. For .meta file I'll have to look if it is easy to implement.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Timeshifting problems with OpenPLi 3.0 #538 Dimitrij

  • PLi® Core member
  • 6,551 posts

+210
Excellent

Posted 18 March 2013 - 22:29

For .meta file I'll have to look if it is easy to implement.

Example for creating meta file...
	import os
	from meta import MetaParser, getctime, fileSize
	from enigma import eServiceReference
	TSFILE = '/media/hdd/movie/xxx.ts'
	metaParser = MetaParser();
	if os.path.exists(TSFILE + '.meta'):
	   #
	   ### read existen data from meta-file
	   #
	   metaParser.parseFile(TSFILE);
	else:
	   #
	   ### create new meta-data
	   #
	   print "create new meta-data";
	   metaParser.ref = eServiceReference('1:0:0:0:0:0:0:0:0:0:');
	   metaParser.name = 'name event';
	   metaParser.description = 'Short Description ';
	   metaParser.time_create = getctime(TSFILE);
	   metaParser.tags = '';
	   metaParser.length = 0;
	   metaParser.filesize = fileSize(TSFILE);
	   metaParser.service_data = '';
	  
	   #
	   ### required!!! to comfirm for valid meta-data
	   #
	   metaParser.data_ok = 1;
	#
	### update ( or save changed) data to meta-file
	#
	metaParser.updateMeta(TSFILE);

Lunix3-4K/VU+solo4k(thanks guys to gisclub.tv)


Re: Timeshifting problems with OpenPLi 3.0 #539 betacentauri

  • PLi® Core member
  • 5,397 posts

+247
Excellent

Posted 18 March 2013 - 23:10

Thanks Dima73! I'll put it on my todo list.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Timeshifting problems with OpenPLi 3.0 #540 Dimitrij

  • PLi® Core member
  • 6,551 posts

+210
Excellent

Posted 21 March 2013 - 07:37

Need help.
Standard timeshift...
How to add saveTimeshiftCallback to perform returnFunction?

def checkTimeshiftRunning(self, returnFunction):
  if self.timeshift_enabled and config.usage.check_timeshift.value:
   message = _("Stop timeshift?")
   if not self.save_timeshift_file:
	list = [(_("Yes"), True), (_("Yes, but save timeshift"), "save"), (_("No"), False)]
   else:
	list = [(_("Yes"), True), (_("No"), False)]
	message += "\n" + _("Reminder, you have chosen save the timeshift file.")
   self.session.openWithCallback(returnFunction, MessageBox, message, simple = True, list = list)
  else:
   returnFunction(True)

def saveTimeshiftCallback(self, answer):
  if answer:
   if answer == "save":
	ts = self.getTimeshift()
	if ts is not None:
	 ts.saveTimeshiftFile()
	 self.save_timeshift_file = True
	 self.save_timeshift_in_movie_dir = True

Edited by Dima73, 21 March 2013 - 07:37.

Lunix3-4K/VU+solo4k(thanks guys to gisclub.tv)





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users