Jump to content


Photo

EPGImport mod


  • Please log in to reply
72 replies to this topic

#1 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 16 January 2013 - 16:51

Сhanges:
-select the day of the week to import
if When in deep standby=wake up and import
-return to deep standby after import(yes/no)
or
-standby at startup(yes/no)
-Start import after booting up(newer/always/only manual boot/only automatic boot)
+
-Consider setting "select the day of the week to import"(yes/no)
-Skip import on restart GUI(yes/no)
-key info(last import+events)
-hd/sd skins

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


Re: EPGImport mod #2 rtzhjgg0

  • Senior Member
  • 568 posts

+13
Neutral

Posted 16 January 2013 - 17:41

Great idea. Works here. Very useful options!

Two suggestions:

-Clear existing EPG --> /Now /Before importing /Never

-Backup existng EPG to Selected folder --> /Now /After importing /Never
Selfsat H50M4
Ultimo4K /2xTwinS2, VTI, PLi, ATV...
NAS: Qnap221

Re: EPGImport mod #3 littlesat

  • PLi® Core member
  • 56,262 posts

+691
Excellent

Posted 16 January 2013 - 18:39

Why not delivering a diff patch to e2openpligins?

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


Re: EPGImport mod #4 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 16 January 2013 - 18:51

Why not delivering a diff patch to e2openpligins?

My code looks amateurish.
He is not quite well-written, say not very well.
You can reduce the number of lines of code duplication of functions.
So I do not want to put it on public display.
Therefore, it would be better to let the individual plugins.
P.S. Although all of these plugins work :) .

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


Re: EPGImport mod #5 littlesat

  • PLi® Core member
  • 56,262 posts

+691
Excellent

Posted 16 January 2013 - 18:53

Then improve your code...... So you feel fine and Proud with it....

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


Re: EPGImport mod #6 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 16 January 2013 - 19:26

Then improve your code...... So you feel fine and Proud with it....

I like to do every week something new.
Optimization will be engaged in retirement :D .

Edited by Dima73, 16 January 2013 - 19:27.

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


Re: EPGImport mod #7 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 16 January 2013 - 19:56

Two suggestions:

-Clear existing EPG --> /Now /Before importing /Never

It seems impossible

-Backup existng EPG to Selected folder --> /Now /After importing /Never

Why?

Edited by Dima73, 16 January 2013 - 19:56.

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


Re: EPGImport mod #8 rtzhjgg0

  • Senior Member
  • 568 posts

+13
Neutral

Posted 16 January 2013 - 20:30

It seems impossible

I use this scripts:

----------------- Clear_EPG
#!/bin/sh
wget -q -O - http://127.0.0.1/web...tate?newstate=3
sleep 5
rm -f /media/hdd/epg.dat
exit



---------------- Backup_pliEPG
#!/bin/sh
wget -q -O - http://127.0.0.1/web...tate?newstate=3
sleep 5
cp -rfp /media/hdd/epg.dat /media/hdd/backup/epg_pli
exit


---------------- Restore_pliEPG
#!/bin/sh
wget -q -O - http://127.0.0.1/web...tate?newstate=3
sleep 5
cp -rfp /media/hdd/backup/epg_pli /epg.dat /media/hdd
exit
Selfsat H50M4
Ultimo4K /2xTwinS2, VTI, PLi, ATV...
NAS: Qnap221

Re: EPGImport mod #9 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 21 March 2013 - 21:23

Ver. 1.3
-add "Run AutoTimer after import"(yes/no)

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


Re: EPGImport mod #10 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,470 posts

+118
Excellent

Posted 23 March 2013 - 08:20

You can setup The autotimer plugin to run every ..... Hour
See the autotimer setup and options

on the Glassfibre 1GB DVB-C...


Re: EPGImport mod #11 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 23 March 2013 - 08:52

You can setup The autotimer plugin to run every ..... Hour
See the autotimer setup and options

Thanks for the information :) .
But ...
In this EPGImport mod there are two options:
"When in deep standby"(wake up and import) ->"Choice days for start import"
and
"Return to deep standby after import"(yes)

But for this and make the setting "Run AutoTimer after import".
The process is fully automatic, for example - you are on a business trip.

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


Re: EPGImport mod #12 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 16 May 2013 - 16:47

My code looks amateurish.
He is not quite well-written, say not very well.
You can reduce the number of lines of code duplication of functions.
So I do not want to put it on public display.

Even 'amateurish' code is better that no code at all. Mail it privately if you don't want it on public display...
Real musicians never die - they just decompose

Re: EPGImport mod #13 alsat1

  • Senior Member
  • 221 posts

+1
Neutral

Posted 16 July 2013 - 07:56

Thank You for nice job.



Re: EPGImport mod #14 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 25 August 2013 - 11:57

Thanx for this, will test ASAP and report back...

 

In particular, I will test it on SH4 rec: http://openpli.org/f...ts/#entry368602

 

(...subscribes to thread... :D )


<span style='font-family: comic sans ms,cursive'>"Enlightenment is man's emergence from his self-incurred immaturity. Immaturity is the inability to use one's own understanding without the guidance of another. This immaturity is self-incurred if its cause is not lack of understanding, but lack of resolution and courage to use it without the guidance of another. The motto of enlightenment is therefore: Sapere aude! Have courage to use your own understanding!</span><br /> <br /><span style='font-family: comic sans ms,cursive'>Laziness and cowardice are the reasons why such a large proportion of men, even when nature has long emancipated them from alien guidance..." I. Kant, "Political writings" (1784)</span><br /> <br /><span style='font-family: comic sans ms,cursive'><a class='bbc_url' href='<a class='bbc_url' href='http://eserver.org/p...lightenment.txt'>http://eserver.org/p...ent.txt</a>'><a class='bbc_url' href='http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a>'>http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a></a> - the jolly text on Enlightenment, at the basis of Modernity...</span>

Re: EPGImport mod #15 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 11 September 2013 - 20:31

ver. 1.4


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


Re: EPGImport mod #16 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 11 September 2013 - 20:44

Chagelog, please? What's new?


<span style='font-family: comic sans ms,cursive'>"Enlightenment is man's emergence from his self-incurred immaturity. Immaturity is the inability to use one's own understanding without the guidance of another. This immaturity is self-incurred if its cause is not lack of understanding, but lack of resolution and courage to use it without the guidance of another. The motto of enlightenment is therefore: Sapere aude! Have courage to use your own understanding!</span><br /> <br /><span style='font-family: comic sans ms,cursive'>Laziness and cowardice are the reasons why such a large proportion of men, even when nature has long emancipated them from alien guidance..." I. Kant, "Political writings" (1784)</span><br /> <br /><span style='font-family: comic sans ms,cursive'><a class='bbc_url' href='<a class='bbc_url' href='http://eserver.org/p...lightenment.txt'>http://eserver.org/p...ent.txt</a>'><a class='bbc_url' href='http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a>'>http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a></a> - the jolly text on Enlightenment, at the basis of Modernity...</span>

Re: EPGImport mod #17 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 11 September 2013 - 20:55

-small fix goto standby if wake up box for import(add delay 30 sec)


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


Re: EPGImport mod #18 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 11 September 2013 - 21:07

I have a problem going to Standby full stop - just GSODs... i.e. the box has to be ON all the time (and GSOD states clearly it id due to EOG Import...

 

This is the end of the log (and I have many, sadly):

 

start release channel timer
Screen <class 'Screens.Standby.Standby'>((), {}): <type 'exceptions.OSError'>
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/mytest.py", line 226, in create
    return screen(self, *arguments, **kwargs)
  File "/usr/lib/enigma2/python/Screens/Standby.py", line 73, in __init__
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1143, in _execute_child
    self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory
connectionLost? [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion: Connection lost.
]
[EPGImport] autostart (1) occured at 1378925137.74
[EPGImport] Stop
(exit code 5)
getResolvedKey config.plugins.crashlogautosubmit.sendAnonCrashlog failed !! (Typo??)
getResolvedKey config.plugins.crashlogautosubmit.addNetwork failed !! (Typo??)
getResolvedKey config.plugins.crashlogautosubmit.addWlan failed !! (Typo??)
]]>
        </enigma2crashlog>
    </crashlogs>
</openpli>

 

It looks like it eats up all the memory and - boom...


<span style='font-family: comic sans ms,cursive'>"Enlightenment is man's emergence from his self-incurred immaturity. Immaturity is the inability to use one's own understanding without the guidance of another. This immaturity is self-incurred if its cause is not lack of understanding, but lack of resolution and courage to use it without the guidance of another. The motto of enlightenment is therefore: Sapere aude! Have courage to use your own understanding!</span><br /> <br /><span style='font-family: comic sans ms,cursive'>Laziness and cowardice are the reasons why such a large proportion of men, even when nature has long emancipated them from alien guidance..." I. Kant, "Political writings" (1784)</span><br /> <br /><span style='font-family: comic sans ms,cursive'><a class='bbc_url' href='<a class='bbc_url' href='http://eserver.org/p...lightenment.txt'>http://eserver.org/p...ent.txt</a>'><a class='bbc_url' href='http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a>'>http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a></a> - the jolly text on Enlightenment, at the basis of Modernity...</span>

Re: EPGImport mod #19 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 12 September 2013 - 05:18

OSError: [Errno 12] Cannot allocate memory

Put the entire log.


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


Re: EPGImport mod #20 cheapwatcher

  • Senior Member
  • 169 posts

+5
Neutral

Posted 12 September 2013 - 10:41

Is this available in the feed? As an update to xmltv importer or a seperate package?


Visiosat Big Bisat (0.8W, 9, 13,19.2,23.5,28.2) 3 x Inverto quad, 2 x Alps quad, 1 x Venton rocket 2 x Disecq 1/8 1 x Diseqc 1/10

VU+ Ultimo 4k DVB-S FBC/DVB-C FBC,WD AV GP WD20EURS, 2TB @ Panasonic tx-50exw784 + Logitech Harmony 665
Qviart Lunix 4K @ Panasonic TX-L42E5 + Logitech Harmony 700

Ziggo start CI+



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users