Epg importer

There are 108 replies in this Thread which was already clicked 19,789 times. The last Post () by super100.

    • Official Post

    Create the source with Jedi. Just open the playlists.txt and remove the :80 Jedi still works

    Then open the source with Notepad ++ or simular.

    Remove the port number and let the source start with http and not https.

    Then Twisted take care of the switch over to https and all should work just fine.

  • Its not that simple seagen

    Some iptv providers dont work at all if you put in a port number. None of the api calls including the xmltv.php. I think jedi still puts in port 80, if no port provided. (we fixed that in xstreamity)


    But I have just been looking at that greek example from above.

    I have added in a few extra print statements. But something isn't write in that code.

    Its doubling up the extension. And its trying to find the host via a very pecular way.


    ** A person who feels appreciated will always do more than what is expected **

  • i think the issue might actually be redirects.


    pasted-from-clipboard.png

    Code
    21:44:58.0228 url https://github.com/medousa89/EPG/releases/download/1.0/extra.channels.xml.xz
    21:44:58.0230 file /media/hdd/github.commedousa89.xz
    21:44:58.0233 urlheaders {'host': 'github.com', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36'}
    21:44:58.5515 EPGImport][threadGetPage] Http error:  500 Server Error: Domain Not Found for url: https://objects.githubusercontent.com/github-production-release-asset-2e65be/327847317/0f43abae-d508-4f9f-8c4c-e0bb302862f3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230718%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230718T204458Z&X-Amz-Expires=300&X-Amz-Signature=c53ffb6da05d0b443792f124f7b29a7203fdde0eed11cb0f88f360c5797ac979&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=327847317&response-content-disposition=attachment%3B%20filename%3Dextra.channels.xml.xz&response-content-type=application%2Foctet-stream

    ** A person who feels appreciated will always do more than what is expected **

    • Official Post

    I am confused what the issue actually.

    I have just completely uninstalled epg importer, done an opkg update, reinstalled latest version.


    That won't achieve anything. ATV 7.2 branch is not built anymore, so those "feeds" will not be updated again.


    I too do not understand the issue properly.

    For somebody to investigate this, the files created by xstreamity/jedimakerxtreme and supplied to EPGImporter to be processed by EPGImporter need to be compared. They are both from the same IPTV provider, so the server should be fine. Hopefully that would explain why EPGImporter processes one file but not the other.


    I have asked twice for the files. I cannot rephrase it any differently so cannot assist further.

  • I will fix it. I fixed it last time until they decided to remove all my working code.

    I know why they did that as they want to get away from downloadpage in twisted which is now depreciated.


    But they even temporarily create a filename from the source url, without any illegal character checks


    A filename cannot have \ / : * ? " < > |

    yet the way they are making that filename it is going to have lots of them characters. (especially if it has a port number and query string)

    ** A person who feels appreciated will always do more than what is expected **

  • KiddaC I tried those edits came back with

    not well-formed (invalid token)


    and nothing really in logs


    I also I am running openatv 7.3 dated the 17th this month I have tried unninstalling epgimport and did opkg update checked to see that


    \usr\lib\enigma2\python\Plugins\Extensions\EPGImport folder was removed then installed EPGImport again rebooted gui.


    I even removed xstreamity playlist and xtreamity files from etc\epgimport folder so only jedimaker was involved.

    still no joy bouquets are made channels working just no epg on iptv channels.

    been strugelling with this for a week even copied \usr\lib\enigma2\python\Plugins\Extensions\EPGImport folder from the wifes zgemmah9cobmo


    it was still running older version of EPGImport that did work. eventually used older EPGImport.py from Commits on Jan 18, 2023 from advice given by abu baniaz with latest version of EPGImport that got me going.

  • when urie is back around tomorrow, I will have another play.


    Probably just a case of

    a proper structured temp filename creation removing illegal characters.

    checking for a redirect then using the old http.mount and https.mount

    and possibly putting back in the sslverify code if required. But they not using downloadpage anymore so probably not required. They just threading a python request if the box supports threading.


    And there is an EpgImport.py on the second post of my xstreamity thread. That is my old one that will still work until they fix this new one

    ** A person who feels appreciated will always do more than what is expected **

  • epg import does not load any data

    looks like its a connection problem with the source or the server

    spiner keep rotating without stop nothing is loaded i have to disconnet duo-1 from power

    image blackhole 3.1.0 vu plus duo 1

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!