NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
1 2 3 4 5 … 44 Next »
Import using M3U - 401 unauthorized - User-Agent header

 
  • 0 Vote(s) - 0 Average
Import using M3U - 401 unauthorized - User-Agent header
houdini
Offline

Junior Member

US
Posts: 2
Threads: 1
Joined: Sep 2025
#1
2025-09-29, 05:07 PM (This post was last modified: 2025-09-29, 05:14 PM by houdini.)
When using the 'import using M3U' function for an IPTV provider, I immediately get an http 401 unauthorized error.  When I try that same m3u url in the browser, if I set a generic User-Agent http header value of VLC, it works.   

What User-Agent value is being sent by nextpvr when doing 'import using M3U' and can it be customized?

Also, when using the 'import using m3u' function, how many requests is nextpvr making at that time to the url?  Is it just one or does it attempt to make multiple requests within a second for that function?

I'm running nextpvr Version: 7.0.3.250920 on ubuntu
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,157
Threads: 773
Joined: Nov 2003
#2
2025-09-29, 05:25 PM
(2025-09-29, 05:07 PM)houdini Wrote: When using the 'import using M3U' function for an IPTV provider, I immediately get an http 401 unauthorized error.  When I try that same m3u url in the browser, if I set a generic User-Agent http header value of VLC, it works.   

What User-Agent value is being sent by nextpvr when doing 'import using M3U' and can it be customized?
You can't currently adjust the User-Agent set when downloading the m3u url. (you can override the User-Agent used when downloading the stream)

Quote:Also, when using the 'import using m3u' function, how many requests is nextpvr making at that time to the url?  Is it just one or does it attempt to make multiple requests within a second for that function?
It's just a single download request.
houdini
Offline

Junior Member

US
Posts: 2
Threads: 1
Joined: Sep 2025
#3
2025-10-02, 06:19 PM
Can you tell me what user-agent is used by nextpvr service when making the import via m3u or import via XC calls?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,895
Threads: 965
Joined: May 2006
#4
2025-10-02, 06:35 PM
Using the strings command I figure it could be any of these depending on the call

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 Edg/134.0.0.0
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:139.0) Gecko/20100101 Firefox/139.0

or

VLC/2.2.6 LibVLC/2.2.6
VLC/3.0.8 LibVLC/3.0.8
VLC/3.3.0 LibVLC/3.3.0
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  m3u import unstable tom_tav 7 1,013 2025-07-12, 07:23 PM
Last Post: sub
  Successful import from MythTV DB to NextPVR Allan 0 561 2025-02-10, 09:51 PM
Last Post: Allan
  Import guide data from HD Homerun tuner jonasx 5 1,827 2024-10-14, 08:48 PM
Last Post: mvallevand
  Recordings import issue Jaggy 4 1,015 2024-08-25, 12:03 AM
Last Post: Jaggy
  How to Import Channels? kerryball 1 704 2024-07-09, 04:52 PM
Last Post: sub
  Unable to Import Recordings Markj2 2 1,209 2023-07-18, 01:32 AM
Last Post: Markj2
  How to Import Channels? HITFM885 6 1,903 2023-07-02, 01:37 AM
Last Post: HITFM885
Question Channel Header style - Web App V5 brainfryd 14 3,848 2022-09-26, 09:53 PM
Last Post: fla
  Import recordings from TvHeadEnd? aTF6i 24 5,684 2022-06-16, 12:57 PM
Last Post: mvallevand
  Import multiple recording XML files ceejayemm 7 2,282 2022-04-04, 06:05 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode