Posts by jeepcook

    Hello,


    An idea of update.


    When we use override process, we have now "new broadcasts" bouquets when new channels are detected corresponding to the diff file created. I would be usefull to load the epg for these channels too.


    Thanks.

    max-time concern the transfer not the connection


    Code
    -m, --max-time <fractional seconds>              Maximum time in seconds that you allow each transfer to take.  This is useful for preventing your batch jobs from hanging for hours due to slow networks or links going down.  Since 7.32.0, this option accepts decimal values, but the actual timeout will decrease in accuracy as the specified timeout increases in decimal precision.

    Made a test.


    The server refuse the parameter ‑‑connect‑timeout even if I configure it to default value 60 . A protection side to the server ?


    curl --connect-timeout 60 -o test.m3u "myurl"


    And in reality the download start after 20~25 seconds without this parameter.


    Code
    curl: (6) Could not resolve host: xn--connecttimeout-462hah
    curl: (7) Couldn't connect to server

    :grinning face with smiling eyes: I understand it ...that you just ran the script I gave as an example...but it doesn't account for the DNS probe error ... I, several posts in a row, are trying to explain to you that you need to add the processing "000" there ... I also explained to you the "nature" of this error. Because of what you wrote earlier -


    I don't understand why it doesn't work....

    :beer1:

    So this script fail with errors, we are ok. But why? In fact if I do a wget or a curl the m3u are downloaded


    wget -O test.m3u "http://myurl"

    curl -o test.m3u "http://myurl"


    The problem is in the test command, doesn't it?

    Снимок экрана 2023-04-26 в 10.49.40.png

    Do you understand the terms and definitions from the screenshot above? Correct the condition in the script so that "000" - worked out as an error! Where did you see in that example that I gave you the processing of this code (000)? The reason for its occurrence - I wrote to you in the same place on the screenshot ...

    Keep cool, I just executed your script check.sh......................

    I just replaced http://www.google.com by my provider url, and the result ($response) is what I gave you in the previous post. 000 for one and an not understandable for me for the other.

    Code
    root@sf8008:~# echo $response
    000

    For an url $response = 000 so it should work for it so I don't understand why it doesn't work....


    for the other, $response=

    Code
    Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=9L95Opd9qqNa44QTKs1eI9YAz3kpL0wnOJMfIHxu48mW5Fwhv7SxZW74q1unN 520RAY: 7bdcd63f0afb11b4-MRSreport_to":"cf-nel","max_age":604800}y4d7ojDsRHg%3D%3D"}],"group":"cf-nel","max_age":604800}

    Should I give you an answer with an example in python or bash? This is an elementary operation ... and your question is clearly not just that. You are clearly going to use the answer... so I need to know where you are going to use it ... in bash or python script

    It's just to test the answer of the command in a bash

    Is there a very short timeout with this new control.

    This "piece" of code was added in the "on flay" update... This is a simple check that the link is "alive" ... It does not download anything, but simply checks the ability to connect ... Quite a strange error message in this case and I still don't understand why you get it

    I have this message only for these 2 lists. So from now I have to stay on 1.0.92 v1.


    Which command do you use to test url ?

    With 1.0.92 previous version:


    p.s. [23/04/23 09:00 GMT] A small update "on fly"... Added a preliminary check for the presence (accessibility) of links (files) of the m3u source before starting any "manipulations" on "download", "parsing", etc... if the source is not available, then display "arrividerci" (it) to the log and proceed to the processing of the next provider in the list without any "delays" .... use --force-reinstall to upgrade already existing version

    Hello,


    Is there a very short timeout with this new control. I have two big lists and for them I have now errors, not with the previous version


    Code
    [25.04 12:38:06] [e2m3u2b] [xxxxxxxx Brut]: Start update 🚩
    [25.04 12:38:26] [e2m3u2b] Source http://xxxxxxxxxxxxxxxx&type=m3u_plus&output=ts is unreachable -> HTTPConnectionPool(host='k4.vidstr21.com', port=2082): Max retries exceeded with url: /get.php?username=xxxxxxxxx&password=xxxxxxxx&type=m3u_plus&output=ts (Caused by ReadTimeoutError("HTTPConnectionPool(host='xxxxxxx', port=2082): Read timed out. (read timeout=6)"))
    [25.04 12:38:26] [e2m3u2b] [xxxxxxx Brut]: An error occured during update. Provider skipped without creating bouquets 👎
    [25.04 12:38:26] [e2m3u2b] [xxxxxxxx]: Start update 🚩
    [25.04 12:38:44] [e2m3u2b] Source http://xxxxxxxxxxx&type=m3u_plus&output=ts is unreachable -> HTTPConnectionPool(host='xxxxxxxxxx', port=80): Max retries exceeded with url: /get.php?username=xxxxxx&password=xxxxxx&type=m3u_plus&output=ts (Caused by ReadTimeoutError("HTTPConnectionPool(host='xxxxxx', port=80): Read timed out. (read timeout=6)"))
    [25.04 12:38:44] [e2m3u2b] [xxxxxxx]: An error occured during update. Provider skipped without creating bouquets 👎
    [25.


    Edit: 1st m3u list has a 108MB size and the second one 170MB size

    Return how it was?

    no

    The position of the attributes in the line does not matter, it seemed to me more readable ....

    I agree, it's more readable now

    I don't understand why a tag channel with its name not in the first position is more readable ? To follow this logic why category name doesn't begin with the enable parameter. In my opinion, the enable parameter has to be at the end of the line.

    Why the tag enable="1" has another position now ?

    The position of the attributes in the line does not matter, it seemed to me more readable .... I regrouped the attributes and put the "accessibility" of the channel - first ... If you have older versions of ***-sort-override.xml you don't need to redo them. They will work. If you want to use "tvgidOverride" then just add this attribute to the line you need in the older ***-sort-override.xml

    I found the channel name first more readable.