Posts by KiddaC

    JediMakerXtream


    Version: 6.24-20230723

    New files on post 1


    Fixed the port issue - lots of code I actually missed
    Fixed edit playlist crash - (edit name doesn't work though - and maybe edit might not work at all at the moment - but it doesn't crash)
    Fixed view channels crash - (missing import os).


    Delete all playlists - now also removes any remnants of "jmx" filenames and bouquets

    Not had time to put the UHD skin in tonight. I have to check it, rather than just put it in


    github updated.



    DiddlyDude I did accidently release a bad IPK that was about 33mb. A handful of people downloaded this version.
    Check the ipk you downloads is about 2mb and not 33mb.

    ANd it looks like there is still an error with ports.

    Config] Error: 'ConfigNumber' requires a default of type integer!

    And i thought I had fixed the yellow button to edit, months ago. Is that still broken.

    Might be related to above.

    But in the meantime, if you

    • add your lines to playlists.txt file, rather than through the plugin,
    • your iptv has a port number,
    • and you do not click the yellow edit button.

    Then it should all still function. :drooling face:

    I am looking quickly at these bugs now. But its late, so might not fix it tonight.

    miah regarding you crash, I only tested this on xtream code playlists.
    Is this crash from a local playlist or none xtream playlist


    < 866.5063> 11:29:21.3646 name = epg_name_list[i][2]

    < 866.5080> 11:29:21.3664 ~~~~~~~~~~~~~~~~^^^

    < 866.5084> 11:29:21.3667 IndexError: list index out of range

    this new [2] value is looking for a name. So it might not exist in all playlists.

    And this is why I was hesitant updating this old plugin, because now I got to spend time fixing my amends until it all works again

    your other crash is for jediepgxtream, not this plugin

    right motherf@ckers.


    I didn't want to do this... But it seems I have been forced to dust of the cobwebs of this old version and fix it.


    JediMakerXtream

    Version: 6.23-00

    New files on post 1

    Removed the need to have a port number. Can now be blank for those providers where it has to be blank
    Refactored all the epg importer code. So it matches xstreamity.


    they are now also grouped into their own folder in epg importer

    pasted-from-clipboard.png  

    And for those struggling with openatvs new epgimporter code, please use the old amended epgimport.py file on post 2 of xstreamity thread.
    Instructions are on that post.

    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

    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)

    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

    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.


    i know jedi doesn't work without https port number. (at the moment)

    I am just looking through the epg-importer code to see what they are doing.

    I am even more confused now.


    Your greek sources start with https, download in browser but not in epg importer.


    So I was thinking have they broke https lines.


    Yet I have just tried an https iptv url and it works. But that did have a port number other than 80.

    I am confused what the issue actually.


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


    No problems with a line I have just tested with jedi.


    Things you can try to try and determine what is the cause of this.


    Run epg importer as soon as its running. keep checking the log file. Press menu button when its running


    If nothing shown in logs.


    in your iptv sources.xml find your url
    /etc/epgimport
    <url><![CDATA[http://blah.uk:8080/xmltv.php?username=blah&password=blah&next_days=7]]></url>

    remove &next_days=7

    try again. if fails try removing cdata and replace "&" with &amp;

    <![CDATA[  ]]>

    <url>http://blah.uk:8080/xmltv.php?username=blah&amp;password=blah</url>

    if that fails, make sure there isn't an exact same name iptv for xstreamity. Strangely it selects both if its in one or more folders.
    Which is going to bring in the wrong custom sid.

    And after typing all of above I just realised I tested an http line and not a https line.
    I will check that now.

    i gave up in the end on my dinobot after a big crash I installed just an anadol enigma2 image.