Jump to content


Photo

Pluto TV EPG - Import EPG more than once a day


  • Please log in to reply
27 replies to this topic

#1 jeepcook

  • Senior Member
  • 269 posts

+1
Neutral

Posted 20 February 2021 - 09:48

Hello,

 

Pluto TV generate an EPG each 6 or 7 hours, but this one contains only the EPG for the next 10 hours, so we have to refresh it 2 or 3 times a day.

 

So I'd like to execute EPG Importer with a command line, but only for this pluto tv source that is outside of rytec sources. I want to respect rytec rules, so execution once a day for Rytec sources.

 

I can't find the command line to execute.

 

Is anybody can help please?

 

Thanks



Re: Pluto TV EPG - Import EPG more than once a day #2 doglover

  • Rytec EPG Team
  • 17,013 posts

+639
Excellent

Posted 20 February 2021 - 15:31

There is not a command line for EPGimport.


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Pluto TV EPG - Import EPG more than once a day #3 jeepcook

  • Senior Member
  • 269 posts

+1
Neutral

Posted 21 February 2021 - 04:24

Thanks and no command using webif ? wget -qO - http://127.0.0.1/web/....



Re: Pluto TV EPG - Import EPG more than once a day #4 demosat1

  • Senior Member
  • 364 posts

+6
Neutral

Posted 21 February 2021 - 17:16

Hi,

I have a problem downloading the xml file with openplidev

I made my plutotv.sources.xml file with two urls

<?xml version="1.0" encoding="latin-1"?>
<sources>
	<sourcecat sourcecatname="**** Pluto Tv ****">
		<source type="gen_xmltv" nocheck="1" channels="/etc/epgimport/plutotv.channels.xml">
			<description>Pluto TV</description>
			<url>https://i.mjh.nz/PlutoTV/fr.xml</url>
			<url>http://i.mjh.nz/PlutoTV/fr.xml</url>
		</source>
	</sourcecat>
</sources>

This is my epgimport.log

[EPGImport] Selected source:  ['Pluto TV']
sourcesDone():  False None
[EPGImport] nextImport, source= Pluto TV
[EPGImport] Downloading: http://i.mjh.nz/PlutoTV/fr.xml to local path: /tmp/epgimport.xml
[EPGImport] Not cheching the server since nocheck is set for it: http://i.mjh.nz/PlutoTV/fr.xml
[EPGImport] download failed: [Failure instance: Traceback: <class 'OpenSSL.SSL.Error'>: [('SSL routines', 'ssl3_read_bytes', 'sslv3 alert handshake failure')]
/usr/lib/enigma2/python/e2reactor.py:184:_doReadOrWrite
/usr/lib/python2.7/site-packages/twisted/internet/tcp.py:243:doRead
/usr/lib/python2.7/site-packages/twisted/internet/tcp.py:249:_dataReceived
/usr/lib/python2.7/site-packages/twisted/protocols/tls.py:315:dataReceived
--- <exception caught here> ---
/usr/lib/python2.7/site-packages/twisted/protocols/tls.py:235:_checkHandshakeStatus
/usr/lib/python2.7/site-packages/OpenSSL/SSL.py:1915:do_handshake
/usr/lib/python2.7/site-packages/OpenSSL/SSL.py:1647:_raise_ssl_error
/usr/lib/python2.7/site-packages/OpenSSL/_util.py:54:exception_from_error_queue
]
[EPGImport] Attempting alternative URL
[EPGImport] afterDownload https://i.mjh.nz/PlutoTV/fr.xml
[EPGImport] download failed: [Errno 2] No such file or directory: 'https://i.mjh.nz/PlutoTV/fr.xml'
[EPGImport] imported 0 events
[EPGImport] Save last import date and count event
[EPGImport] Run check deep standby after import
[EPGImport] #### Finished ####

I'm looking for an idea
 

 



Re: Pluto TV EPG - Import EPG more than once a day #5 jeepcook

  • Senior Member
  • 269 posts

+1
Neutral

Posted 21 February 2021 - 20:08

Space error !

 

Try https://i.mjh.nz/PlutoTV/fr.xml.gz instead of fr.xml

 

Edit:

OpenPli has a missing lib. So install libcrypto.so.1.0.0 under /lib


Edited by jeepcook, 21 February 2021 - 20:12.


Re: Pluto TV EPG - Import EPG more than once a day #6 demosat1

  • Senior Member
  • 364 posts

+6
Neutral

Posted 21 February 2021 - 21:24

Space error ? where

 

libcrypto.so.1.0.0 on openplidev exist

root@osmio4kplus:~# ls /usr/lib/libcrypto*
/usr/lib/libcrypto.so.1.0.0  /usr/lib/libcrypto.so.1.1

 

no way for archiv gz

<?xml version="1.0" encoding="latin-1"?>
<sources>
	<sourcecat sourcecatname="**** Pluto Tv ****">
		<source type="gen_xmltv" nocheck="1" channels="/etc/epgimport/plutotv.channels.xml">
			<description>Pluto TV</description>
			<url>https://i.mjh.nz/PlutoTV/fr.xml</url>
			<url>http://i.mjh.nz/PlutoTV/fr.xml</url>
			<url>https://i.mjh.nz/PlutoTV/fr.xml.gz</url>
			<url>http://i.mjh.nz/PlutoTV/fr.xml.gz</url>
		</source>
	</sourcecat>
</sources>

 

[EPGImport] Selected source:  ['Pluto TV']
sourcesDone():  False None
[EPGImport] nextImport, source= Pluto TV
[EPGImport] Downloading: http://i.mjh.nz/PlutoTV/fr.xml.gz to local path: /tmp/epgimport.gz
[EPGImport] Not cheching the server since nocheck is set for it: http://i.mjh.nz/PlutoTV/fr.xml.gz
[EPGImport] download failed: [Failure instance: Traceback: <class 'OpenSSL.SSL.Error'>: [('SSL routines', 'ssl3_read_bytes', 'sslv3 alert handshake failure')]
/usr/lib/enigma2/python/e2reactor.py:184:_doReadOrWrite
/usr/lib/python2.7/site-packages/twisted/internet/tcp.py:243:doRead
/usr/lib/python2.7/site-packages/twisted/internet/tcp.py:249:_dataReceived
/usr/lib/python2.7/site-packages/twisted/protocols/tls.py:315:dataReceived
--- <exception caught here> ---
/usr/lib/python2.7/site-packages/twisted/protocols/tls.py:235:_checkHandshakeStatus
/usr/lib/python2.7/site-packages/OpenSSL/SSL.py:1915:do_handshake
/usr/lib/python2.7/site-packages/OpenSSL/SSL.py:1647:_raise_ssl_error
/usr/lib/python2.7/site-packages/OpenSSL/_util.py:54:exception_from_error_queue
]
[EPGImport] Attempting alternative URL
[EPGImport] Downloading: http://i.mjh.nz/PlutoTV/fr.xml to local path: /tmp/epgimport.xml
[EPGImport] Not cheching the server since nocheck is set for it: http://i.mjh.nz/PlutoTV/fr.xml
[EPGImport] download failed: [Failure instance: Traceback: <class 'OpenSSL.SSL.Error'>: [('SSL routines', 'ssl3_read_bytes', 'sslv3 alert handshake failure')]
/usr/lib/enigma2/python/e2reactor.py:184:_doReadOrWrite
/usr/lib/python2.7/site-packages/twisted/internet/tcp.py:243:doRead
/usr/lib/python2.7/site-packages/twisted/internet/tcp.py:249:_dataReceived
/usr/lib/python2.7/site-packages/twisted/protocols/tls.py:315:dataReceived
--- <exception caught here> ---
/usr/lib/python2.7/site-packages/twisted/protocols/tls.py:235:_checkHandshakeStatus
/usr/lib/python2.7/site-packages/OpenSSL/SSL.py:1915:do_handshake
/usr/lib/python2.7/site-packages/OpenSSL/SSL.py:1647:_raise_ssl_error
/usr/lib/python2.7/site-packages/OpenSSL/_util.py:54:exception_from_error_queue
]
[EPGImport] Attempting alternative URL
[EPGImport] afterDownload https://i.mjh.nz/PlutoTV/fr.xml.gz
[EPGImport] download failed: [Errno 2] No such file or directory: 'https://i.mjh.nz/PlutoTV/fr.xml.gz'
[EPGImport] Attempting alternative URL
[EPGImport] afterDownload https://i.mjh.nz/PlutoTV/fr.xml
[EPGImport] download failed: [Errno 2] No such file or directory: 'https://i.mjh.nz/PlutoTV/fr.xml'
[EPGImport] imported 0 events
[EPGImport] Save last import date and count event
[EPGImport] Run check deep standby after import
[EPGImport] #### Finished ####

 

 
 
 



Re: Pluto TV EPG - Import EPG more than once a day #7 catastrofus

  • Senior Member
  • 3,445 posts

+43
Good

Posted 21 February 2021 - 22:04

/usr/lib/libcrypto.so.1.1 exists in 8.0r & develop, not /usr/lib/libcrypto.so.1.0.0

 

8.0r:

root@panoramix:~# find / -name libcrypto*
/var/lib/opkg/info/libcrypto1.1.control
/var/lib/opkg/info/libcrypto1.1.list
/var/lib/opkg/info/libcrypto1.1.postinst
/usr/lib/libcrypto.so.1.1
root@panoramix:~#

 

dev:

root@idefix:~# find / -name libcrypto*
/var/lib/opkg/info/libcrypto1.1.postinst
/var/lib/opkg/info/libcrypto1.1.control
/var/lib/opkg/info/libcrypto1.1.list
/usr/lib/libcrypto.so.1.1
root@idefix:~#


2 x ultimo4k (dvb-c fbc + 1 dvb-s2, 8.3r/nb) + een et10k/osmini (geen tuners en dus fallbackclient, nb) met een Synology ds214+ (2 x 6 TB) op DSM 7.1.1 in ziggo oost (voormalig @Home) + A1/A2/A3/HB (TechniSat)
 


Re: Pluto TV EPG - Import EPG more than once a day #8 jeepcook

  • Senior Member
  • 269 posts

+1
Neutral

Posted 21 February 2021 - 22:15


 

/usr/lib/libcrypto.so.1.1 exists in 8.0r & develop, not /usr/lib/libcrypto.so.1.0.0

 

8.0r:

root@panoramix:~# find / -name libcrypto*
/var/lib/opkg/info/libcrypto1.1.control
/var/lib/opkg/info/libcrypto1.1.list
/var/lib/opkg/info/libcrypto1.1.postinst
/usr/lib/libcrypto.so.1.1
root@panoramix:~#

 

dev:

root@idefix:~# find / -name libcrypto*
/var/lib/opkg/info/libcrypto1.1.postinst
/var/lib/opkg/info/libcrypto1.1.control
/var/lib/opkg/info/libcrypto1.1.list
/usr/lib/libcrypto.so.1.1
root@idefix:~#

so just opkg install libcrypto-compat  --> version 1.1



Re: Pluto TV EPG - Import EPG more than once a day #9 catastrofus

  • Senior Member
  • 3,445 posts

+43
Good

Posted 21 February 2021 - 22:57

I won't. You are complaining about a missing lib but apparently you have a solution. ;)


2 x ultimo4k (dvb-c fbc + 1 dvb-s2, 8.3r/nb) + een et10k/osmini (geen tuners en dus fallbackclient, nb) met een Synology ds214+ (2 x 6 TB) op DSM 7.1.1 in ziggo oost (voormalig @Home) + A1/A2/A3/HB (TechniSat)
 


Re: Pluto TV EPG - Import EPG more than once a day #10 jeepcook

  • Senior Member
  • 269 posts

+1
Neutral

Posted 21 February 2021 - 23:00


 

I won't. You are complaining about a missing lib but apparently you have a solution. ;)

Not I'm not complaining !! it's a demosat1 request!!



Re: Pluto TV EPG - Import EPG more than once a day #11 demosat1

  • Senior Member
  • 364 posts

+6
Neutral

Posted 21 February 2021 - 23:28

But i dont understand,  no solution.

 

Jeepcook can you share your file sources.xml for plutotv please.



Re: Pluto TV EPG - Import EPG more than once a day #12 jeepcook

  • Senior Member
  • 269 posts

+1
Neutral

Posted 21 February 2021 - 23:36


 

But i dont understand,  no solution.

 

Jeepcook can you share your file sources.xml for plutotv please.

For fr:

		<source type="gen_xmltv" channels="custom.channels.xml">
			<description>Pluto TV</description>
			<url>https://i.mjh.nz/PlutoTV/fr.xml</url>
		</source>

<channel id="5f8ed0f17564a300082b676a">4097:0:1:C100:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ed1ff5c39700007e2204a">4097:0:1:C105:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ed168f72fcd0007e56269">4097:0:1:C110:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ed2d1c34c2300073bf02c">4097:0:1:C120:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ed5fba4ffb8000764ea01">4097:0:1:C200:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ed673cad35f0007651fd4">4097:0:1:C205:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8eb66537867f0007146953">4097:0:1:C210:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8eb7e3d2ed18000746d09a">4097:0:1:C215:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8eb71a26ed8300076433f9">4097:0:1:C220:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ed80fa09f120007c8daa5">4097:0:1:C230:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ed6d569d2d4000864a976">4097:0:1:C235:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f914f9dccb4de0007df8bc4">4097:0:1:C340:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ed4dbf6bb0800071ffbcb">4097:0:1:C400:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8edb6df1ebb800072edf10">4097:0:1:C405:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f914f4b36d67d0007a91a04">4097:0:1:C410:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8edad922b10b000753bc37">4097:0:1:C415:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f92b56a367e170007cd43f4">4097:0:1:C500:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f92b5ba040eaa0007074d0a">4097:0:1:C505:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ecc1b37867f00071469e9">4097:0:1:C510:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ed52a62fa750007733239">4097:0:1:C520:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8eb8a8b2619a000710605c">4097:0:1:C550:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ed0720dc198000728f9d3">4097:0:1:C555:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ed48146ba9e00078424b6">4097:0:1:C600:0:0:0:0:0:0:http%3a//example.com</channel> 
<channel id="5f8ed9461b35690007a0bc3a">4097:0:1:C700:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ed3892ed7bb000741a1d2">4097:0:1:C705:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ed58b2db26f0007b4aa73">4097:0:1:C710:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8eb91bb9b9e7000817e67f">4097:0:1:C800:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ecc7aa44d9c00081fca29">4097:0:1:C805:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ecd9169d2d4000864a974">4097:0:1:C815:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ecd336d64c9000754cdf1">4097:0:1:C820:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8eb99ff17815000784a3b0">4097:0:1:C900:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5ffc8c345822750007e167de">4097:0:1:C902:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8eba14a4ffb8000764e950">4097:0:1:C905:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f92b625c1ffbc0007e60c37">4097:0:1:C915:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ecb336537e8000764a17f">4097:0:1:C925:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ecb9524419b0007365a1c">4097:0:1:C930:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8eccd81062c300078a11df">4097:0:1:C950:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ecee24576bc0007a13b79">4097:0:1:C955:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ecfb9db6c180007a6d1b0">4097:0:1:D000:0:0:0:0:0:0:http%3a//example.com</channel>
<channel id="5f8ed327f9e9b0000761141e">4097:0:1:D005:0:0:0:0:0:0:http%3a//example.com</channel>

 



Re: Pluto TV EPG - Import EPG more than once a day #13 demosat1

  • Senior Member
  • 364 posts

+6
Neutral

Posted 22 February 2021 - 00:24

Thanks, but your files is not complet, i dont test



Re: Pluto TV EPG - Import EPG more than once a day #14 jeepcook

  • Senior Member
  • 269 posts

+1
Neutral

Posted 22 February 2021 - 00:30


 

Thanks, but your files is not complet, i dont test

yes you have to add tags, like in yours! but your problem is not there, you have a ssl problem. so try with another image (not openpli), just for test. and in openpli force reinstall libcrypto-compat



Re: Pluto TV EPG - Import EPG more than once a day #15 demosat1

  • Senior Member
  • 364 posts

+6
Neutral

Posted 22 February 2021 - 00:57

test with satdreamgr8 and same result.

 

url with http or https = failed

 

i don't test old image openpli



Re: Pluto TV EPG - Import EPG more than once a day #16 jeepcook

  • Senior Member
  • 269 posts

+1
Neutral

Posted 22 February 2021 - 01:15

test with satdreamgr8 and same result.

 

url with http or https = failed

 

i don't test old image openpli

OK I will test on OpenPLI 8.0 asap, so I will better see what's your problem. Be patient !

 

But did you reinstall libcrypto-compat ???


Edited by jeepcook, 22 February 2021 - 01:16.


Re: Pluto TV EPG - Import EPG more than once a day #17 doglover

  • Rytec EPG Team
  • 17,013 posts

+639
Excellent

Posted 22 February 2021 - 09:43

EPGimport has problems with https: websites.

 

A workaround is to download the file first with curl and save it somewhere on your receiver.  You can do this with a cronjob.

And adjust the config file for EPGimport to read this now local file.

 

Something like this:

1 9 * * *  curl https://i.mjh.nz/PlutoTV/epg.xml.gz -o /tmp/PlutoTv.epg.gz

and:

<?xml version="1.0" encoding="utf-8"?>
<sources>
<sourcecat sourcecatname="Pluto TV">
<source type="gen_xmltv" nocheck="1" channels="custom.channels.xml">
<description>Pluto TV USA</description>
<url>/tmp/PlutoTv.epg.gz</url>
</source>
</sourcecat>
</sources>

 


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Pluto TV EPG - Import EPG more than once a day #18 jeepcook

  • Senior Member
  • 269 posts

+1
Neutral

Posted 22 February 2021 - 10:36

Confirmed that EPGImport version installed with OpenPLI feeds is unable to download https files. It's an EPGImport bug. Finally I patched EPGImport.py and now it's OK

 

[EPGImport] autostart (0) occured at 1613986233.6
[EPGImport] autostart (0) occured at 1613986233.63
[EPGImport] WakeUpTime now set to -1 (now=1613986233)
[EPGImport] Selected source:  ['Pluto TV']
sourcesDone():  False None
[EPGImport] nextImport, source= Pluto TV
[EPGImport] Downloading: https://i.mjh.nz/PlutoTV/fr.xml to local path: /tmp/epgimport.xml
[EPGImport] Trying IPv6 first: https://[2606:4700:3032::6815:f7d]/PlutoTV/fr.xml
[EPGImport] IPv6 download failed, falling back to IPv4: https://i.mjh.nz/PlutoTV/fr.xml
[EPGImport] afterDownload /tmp/epgimport.xml
[EPGImport] unlink /tmp/epgimport.xml
[EPGImport] afterChannelDownload None
[EPGImport] Using twisted thread
[EPGImport] Parsing channels from '/etc/epgimport/custom.channels.xml'
[EPGImport] Parsing channels from '/etc/epgimport/custom.channels.xml'
[EPGImport] Parsing channels from '/etc/epgimport/custom.channels.xml'
[XMLTVConverter] Enumerating event information
[EPGImport] ### thread is ready ### Events: 891
[EPGImport] imported 891 events
[EPGImport] Save last import date and count event
[EPGImport] Run check deep standby after import
[EPGImport] #### Finished ####

 

 

I made changes and it worksfinally made some changes and it's okfinally made some changes and it's okfinally made some changes and it's ok



Re: Pluto TV EPG - Import EPG more than once a day #19 WanWizard

  • PLi® Core member
  • 68,614 posts

+1,739
Excellent

Posted 22 February 2021 - 14:15

If you can send a PR, or provide a patch, so we don't have to guess what you've done?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Pluto TV EPG - Import EPG more than once a day #20 jeepcook

  • Senior Member
  • 269 posts

+1
Neutral

Posted 22 February 2021 - 14:20

If you can send a PR, or provide a patch, so we don't have to guess what you've done?

The patch is not official nor write by me but you can find it here https://mega.nz/file...Dk9ZxWUOL0npWZg , replace /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py by the one delivered

 

Use it only with OpenPLI, not with oe-alliance images.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users