Jump to content

Allow useragent to be used in m3u playlists


Suburban Legend

Recommended Posts

Currently this does not work if the user-agent is specified which is a requirement for this stream. Could this be implemented? This works in VLC, but doesn't seem to work in DVBViewer

 

#EXTINF:0 tvg-id="669" tvg-name="Abbey Road Crossing Cam" tvg-logo="https://static.earthcam.com/camshots/128x72/935412713c3c445e6a766a0cdd1d0cee.jpg" group-title="TRAVEL",Abbey Road Crossing Cam
#EXTVLCOPT:http-user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0
https://videos-3.earthcam.com/fecnetwork/AbbeyRoadHD1.flv/playlist.m3u8

Link to comment
1 hour ago, Suburban Legend said:

Currently this does not work if the user-agent is specified which is a requirement for this stream. Could this be implemented?

 

Maybe. I will check it. DVBViewer requires a different way of specifying the user agent. It must be appended to the URL in the following way:

 

?addhdr=User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0

 

This addition is processed by DVBViewer internally, not sent to the server. Don't use it in other software, because it would let the server know how it is deceived...

 

Link to comment
19 hours ago, Suburban Legend said:

Could this be implemented?

 

Coded: Automatic conversion from #EXTVLCOPT:http-user-agent=... to the DVBViewer format on M3U import in the Channel Editor. Would you like to test it?

 

Link to comment
15 hours ago, Suburban Legend said:

Yes I would love to test this please

 

Check your PMs.

Added: Channel Editor: Automatic conversion of the #EXTVLCOPT:http-user-agent=... M3U tag to a DVBViewer ?addhdr=User-Agent:… URL appendix on M3U import.

Please note that you have to import the M3U (by drag & drop) in the DVBViewer Channel Editor, not in the DVBViewer Main Window.

 

  • Thanks 1
Link to comment
On 1/18/2023 at 8:22 AM, Griga said:

 

Check your PMs.

Added: Channel Editor: Automatic conversion of the #EXTVLCOPT:http-user-agent=... M3U tag to a DVBViewer ?addhdr=User-Agent:… URL appendix on M3U import.

Please note that you have to import the M3U (by drag & drop) in the DVBViewer Channel Editor, not in the DVBViewer Main Window.

 

This is perfect, thank you so much, this is working for me.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...