NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Docker amd64 v
« Previous 1 … 3 4 5 6 7 … 9 Next »
Unable to Add IPTV XMLTV (m3u works fine)

 
  • 0 Vote(s) - 0 Average
Unable to Add IPTV XMLTV (m3u works fine)
add45
Offline

Junior Member

usa
Posts: 21
Threads: 2
Joined: May 2021
#1
2021-05-14, 04:50 PM
Tried doing searching everywhere but apparently nobody has the exact same error as me. Logs don't give much useful info either unfortunately.

Situation: Trying to add m3u/ xml tv (.xml.gz) and getting errors for reading the XMLTV file. M3u adds fine if no xml tv is provided.

Further info: file is formatted fine, can't see any obvious errors in the xml. am able to access from multiple machines without read errs.
Running docker amd64, showing current version as Version: 5.1.1.210328

Logs:


[312] Got request [x.x.x.x]: /services/service (setting.scan.status)
[312] method=setting.scan.status
[312] parameters:
[312]    method: setting.scan.status
[312]    format: json
[312]    sid: 88744af3-c8de-4cf7-993b-3660e550d7c0
[312]    client_ip: x.x.x.x
[312]    user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0
[312]    host_callback: myhost.redacted
[312] setting.scan.status
[312] {"stat":"ok",
"complete":false,
"status":"Unable to read https://tinyurl.com/.../yh6a2hvp?....  [maZ76IC8XmvRzs2Nejaf/j5QIz4eo3OyAjZd8...snip...



I can provide the URLs if necessary as well. Any idea what the issue could be or how to further research? Feeling like at a dead end here.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#2
2021-05-14, 04:57 PM
Does it work better if you use the real URL and not the tinyurl redirection?

Martin
add45
Offline

Junior Member

usa
Posts: 21
Threads: 2
Joined: May 2021
#3
2021-05-14, 05:35 PM
Unfortunately not. Have tried combinations of this already. The m3u is a tinyurl as well and works without issue.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#4
2021-05-14, 05:51 PM
Note that m3u and epg logic are not the same. I suspect you need to post the full logs for sub to look at using the full url as the source.

Martin
add45
Offline

Junior Member

usa
Posts: 21
Threads: 2
Joined: May 2021
#5
2021-05-14, 06:04 PM
(2021-05-14, 05:51 PM)mvallevand Wrote: I suspect you need to post the full logs for sub to look at using the full url as the source.

Martin

Sorry I don't follow... here is all the logs related to the xml downloading. Using the full url as source:

Code:
2021-05-14T17:34:44.453807265Z "status":"Downloading xmltv Listings",
2021-05-14T17:34:44.453816143Z "channels": [
2021-05-14T17:34:44.453824409Z ]
2021-05-14T17:34:44.453832472Z }...snip...
2021-05-14T17:34:44.999236481Z [30] Got request [asdf]: /services/service (setting.scan.status)
2021-05-14T17:34:44.999293369Z [30] method=setting.scan.status
2021-05-14T17:34:44.999321118Z [30] parameters:
2021-05-14T17:34:44.999446686Z [30]    method: setting.scan.status
2021-05-14T17:34:44.999473786Z [30]    format: json
2021-05-14T17:34:44.999491011Z [30]    sid: 88744af3-c8de-4cf7-993b-3660e550d7c0
2021-05-14T17:34:44.999499833Z [30]    client_ip: asdf
2021-05-14T17:34:44.999508340Z [30]    user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0
2021-05-14T17:34:44.999517531Z [30]    host_callback: nextpvr.myhost.asd
2021-05-14T17:34:44.999525795Z [30] setting.scan.status
2021-05-14T17:34:44.999533775Z 2021-05-14 17:34:44    Renewing session: 88744af3-c8de-4cf7-993b-3660e550d7c0
2021-05-14T17:34:44.999542561Z [30] {"stat":"ok",
2021-05-14T17:34:44.999551168Z "complete":false,
2021-05-14T17:34:44.999559665Z "status":"Unable to read https://drive.google.com/.../uc?....  [XbyxOgVHc1hRfrrtepXl6FQLwlHb4xE+zVUJ2Q...snip...

There is no further logging detail related to downloading XMLTV which makes it so hard to diagnose.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#6
2021-05-14, 06:13 PM
The zipped logs from NextPVR is what I want, not snippets. However since you can't typically do a direct download from a google drive there probably are redirects that NextPVR isn't following. I will leave it for sub at this point.

Martin
add45
Offline

Junior Member

usa
Posts: 21
Threads: 2
Joined: May 2021
#7
2021-05-14, 06:33 PM (This post was last modified: 2021-05-14, 06:39 PM by add45. Edit Reason: log attaching )
(2021-05-14, 06:13 PM)mvallevand Wrote: The zipped logs from NextPVR is what I want, not snippets.  However since you can't typically do a direct download from a google drive there probably are redirects that NextPVR isn't following.  I will leave it for sub at this point.

Martin

I understand, was hoping not to share the full zip as it contains plenty of sensitive data that I will have to go through and redact. For what it's worth, have gone through all the files in the zip, there isn't any further logging detail in there as well. I can respect you not taking my word for it though Wink.

FWIW2 - the m3u is also following the same redirect without issue. I know you say that the logic is different from parsing the xml, but would the actual http request be that different as well?

Attached logs


Attached Files
.zip   logs.zip (Size: 702.45 KB / Downloads: 2)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#8
2021-05-14, 06:46 PM (This post was last modified: 2021-05-14, 06:46 PM by mvallevand.)
If you do a head command on the xmltv file with curl what do you get

curl -I https://drive.google.com/....

Martin
add45
Offline

Junior Member

usa
Posts: 21
Threads: 2
Joined: May 2021
#9
2021-05-14, 07:07 PM
(2021-05-14, 06:46 PM)mvallevand Wrote: If you do a head command on the xmltv file with curl what do you get

curl -I https://drive.google.com/....

Martin

Here is the output looks like bad request for some reason..

HTTP/2 400
content-type: text/html; charset=UTF-8
x-chromium-appcache-fallback-override: disallow-fallback
p3p: CP="This is not a P3P policy! See g.co/p3phelp for more info."
content-security-policy: script-src 'nonce-uCf6hT4U61agQX/7BuWTnQ' 'unsafe-inline' 'strict-dynamic' https: http: 'unsafe-eval';object-src 'none';base-uri 'self';report-uri https://csp.withgoogle.com/csp/drive-explorer/
date: Fri, 14 May 2021 19:06:25 GMT
expires: Fri, 14 May 2021 19:06:25 GMT
cache-control: private, max-age=0
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
server: GSE
set-cookie: NID=215=OkGoLmntNigoImz6iXSdMoPPECM6emhKLoC5Sb4duP6PAoCvXVgiYtIgvUHJplzBo0xCDwVCAgf8xkzDTIUN_EzFKhS4wySUut2dd3XtsER6S2CZEeP5zL0Em1pOY2UNn1nFCW5t68INYWgCzxcN_CDO-UXLbFFkJlpVHlyyi6U; expires=Sat, 13-Nov-2021 19:06:25 GMT; path=/; domain=.google.com; HttpOnly
alt-svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
accept-ranges: none
vary: Accept-Encoding
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#10
2021-05-14, 07:28 PM
I am not sure how NextPVR can determine if a file is gz compressed then. If your source is text does it work?

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (4): 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to live stream Atanoman 4 330 2025-01-04, 07:22 PM
Last Post: Atanoman
  XMLTV folder for Docker stevil 1 373 2024-09-25, 06:56 PM
Last Post: mvallevand
  IPTV streaming uses 100% CPU callumjk 2 951 2024-04-18, 05:11 PM
Last Post: sub
  Trouble with IPTV provider with frequently changing URLs chelseatv 3 1,703 2023-11-17, 02:33 PM
Last Post: mvallevand
  Unable to write buffer. How do I debug? Sibiu 5 1,243 2023-09-18, 08:44 PM
Last Post: mvallevand
  Unable to Scan for New Channels pkscout 5 894 2023-08-11, 01:24 AM
Last Post: mvallevand
  IPTV repeat one? pewter_waggle 5 1,049 2023-03-25, 05:06 PM
Last Post: sub
  Adding multiple IPTV devices Khalimerot 21 3,716 2023-02-20, 11:13 AM
Last Post: Khalimerot
  IPTV only one stream can be recorded at a time rojerki 2 1,064 2022-05-22, 11:10 AM
Last Post: rojerki
  SOLVED: Unable to start HDHomerun Stream tredman 3 1,816 2021-01-18, 01:01 PM
Last Post: tredman

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode