Jump to content

New WebStreams Plugin


Recommended Posts

Posted (edited)
On 9/8/2025 at 4:05 PM, softworkz said:

Did you try it? Doesn't it work?

I don't remember exactly, but I believe it had been tested successfully.

Yes we tested this. But doesnt work. :-(. 

For example IP TV PRO light client for android /android TV too/ works correctly.  

Edited by softworkz
Posted
3 minutes ago, archecon said:

Yes we tested this. But doesnt work. :-(. 

@archecon -  at which point exactly did it "not work" - what did you see?

 

Posted
26 minutes ago, softworkz said:

@archecon -  at which point exactly did it "not work" - what did you see?

 

Authorize fail.  

At first I did not talk about the error. I didn't know if authentication was implemented. When you try to define m3u using a url link, an authentication error occurs.

2025-09-08_23-16-44.png

Posted

I have tested the plugin and have some feed back/questions :D

1.  we need an option to set where the plugin stores the library as it can be quite large, so need to be able to locate it in a different drive/location.

2. Can you exclude groups as I could not figure out how to do this.

3. Can you integrate it directly into the built in libraries, so it would for example show movies in the movies library instead of a separate one. 

 

 

 

 

Posted
10 minutes ago, archecon said:

Authorize fail.  

At first I did not talk about the error. I didn't know if authentication was implemented. When you try to define m3u using a url link, an authentication error occurs.

Okay, can you please enable debug logging (like below) and restart the server.

Then, try to add the URL once again and finally post the server log (double check that your password has been redacted).

image.png

Posted
6 minutes ago, grimevil said:

I have tested the plugin and have some feed back/questions :D

1.  we need an option to set where the plugin stores the library as it can be quite large, so need to be able to locate it in a different drive/location.

The plugin doesn't store anything. It integrates streams that are available on the web into Emby - that's why it's called "WebStreams" 😉 

 

6 minutes ago, grimevil said:

2. Can you exclude groups as I could not figure out how to do this.

Go to the entry in the plugin config, click the 3-dot menu and choose "Edit Filer"

There, click the filter button:

image.png

Then you'll see a grid that is showing all entries, and the grid provides lots of ways for filtering.

You can enter values in the filter row, click on the magnifier icon to change the match type

You can click on the funnel icons in the headers (Excel-like filters)

You can click on "Create Filter" at the bottom left to build custom filters just as you like:

image.png

 

The primary rule is: The filtered result is what you see in the grid.

Finally, click on "Save" to persist the filter.

 

6 minutes ago, grimevil said:

3. Can you integrate it directly into the built in libraries, so it would for example show movies in the movies library instead of a separate one. 

No, this isn't possible. But there is an option to show a WebStreams collection as a top-level library (making it look the same as normal library)

 

  • Thanks 1
Posted
38 minutes ago, softworkz said:

Okay, can you please enable debug logging (like below) and restart the server.

Then, try to add the URL once again and finally post the server log (double check that your password has been redacted).

image.png

 

embyserver.txt

Posted

Ok, thanks.

Does that URL work in a browser?

If it does work in a browser but not in Emby, then it's often due to the user agent string. What you can try is to enable advanced options in the WebStreams config and paste the following line for the user agent header: 

 

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36 Edg/140.0.0.0

 

 

 

Posted
40 minutes ago, softworkz said:

Ok, thanks.

Does that URL work in a browser?

If it does work in a browser but not in Emby, then it's often due to the user agent string. What you can try is to enable advanced options in the WebStreams config and paste the following line for the user agent header: 

 

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36 Edg/140.0.0.0

 

 

 

Edge, Brave, Yandex works.

A try editing user agents, but plugin still 401 error.

 

Posted
On 9/7/2025 at 2:38 PM, Luke said:

Hi, as soon as 4.9 releases. Any day now.

4.9 looks to be a massive update. looking forward to seeing all the hard work put into it

  • Thanks 1
Posted
2 hours ago, archecon said:

Edge, Brave, Yandex works.

A try editing user agents, but plugin still 401 error.

Thanks. When I try the same URL with fantasy user/password, I get 403 instead of 401. You can verify by trying with a wrong password.
This means that the authentication is actually working, but the server doesn't like the request for some other reason. 

We'll have to debug this with a working account and see in which ways the browsers' request it different from ours and mimic that behavior.
At the time of development, referrer and user agent were the most typical request headers that made providers reject requests, that's why these are available under "Advanced Options". Some time has passed, and there may be new criteria based on which providers might reject requests...

Posted
11 hours ago, softworkz said:

Looking for public and free stream sources?

Try this: https://streamfeeds.github.io/web/
(please note that this is a 3rd-party site and neither provided by, nor affiliated with Emby) 

This  work correct, but there are not basic auth..

Posted (edited)
21 minutes ago, archecon said:

This  work correct, but there are not basic auth..

Like I said above: Basic auth is not the problem in your case. It's something else that your provider expects and that we don't send in the request.

Edited by softworkz
Posted (edited)
15 hours ago, softworkz said:

Thanks. When I try the same URL with fantasy user/password, I get 403 instead of 401. You can verify by trying with a wrong password.
This means that the authentication is actually working, but the server doesn't like the request for some other reason. 

We'll have to debug this with a working account and see in which ways the browsers' request it different from ours and mimic that behavior.
At the time of development, referrer and user agent were the most typical request headers that made providers reject requests, that's why these are available under "Advanced Options". Some time has passed, and there may be new criteria based on which providers might reject requests...

One thing you can try as a temporary workaround is to download the m3u to a file location on the server and then choose "Local File":

image.png

Edited by softworkz
gillmacca01
Posted (edited)

Thought i would give this a try, but ran into an issue when I added my ip tv m3u url

 

Screenshot_20250910_081741_Edge.jpg

Edited by softworkz
Posted (edited)
On 9/10/2025 at 9:20 AM, gillmacca01 said:

Thought i would give this a try, but ran into an issue when I added my ip tv m3u url

How long does it take when you download the list via a browser?

The 10s timeout is not the time for completing the download but the time until the first response. It is chosen to be relatively short, because it's unlikely that it would work when there's not a single byte of response after 10s.

You can also download manually and add the m3u from the file system (see above).

Edited by softworkz
gillmacca01
Posted (edited)

Approx 22 seconds. 

I know i can download manually, but that really defeats of having an automated system. I would have to remember to download every day to make sure it's uptodate

The same url downloads fine in live tv

Edited by gillmacca01
Posted
1 hour ago, gillmacca01 said:

Approx 22 seconds. 

I know i can download manually, but that really defeats of having an automated system. I would have to remember to download every day to make sure it's uptodate

The same url downloads fine in live tv

Yea, of course a manual download is not the desired solution. I just mentioned it as an immediate remedy to get past this limitation.

I'd still like to understand what's happening exactly.

Could you please:

  • Open a new browser tab
  • Press F12 to open dev tools
  • Switch to the network tab in dev tools
  • Make sure that the "Waterfall" column is visible
    If not, right-click any column header, then click on Waterfall to make the column visible
  • Paste the m3u URL in the browser tab
  • Look at the network tab
  • Hover the mouse over the Waterfall column item entry (containing some color bars) until the popup is shown
  • Press WIN+SHIFT+S or the Print key to make a screenshot of the popup

It should look like this:

image.png

 

(note: instructions are for Chromium based browsers)

Thanks!

 

Posted


Hello, when I select the Add Single Stream option, I can only use it once.
For example, if I create a stream for BEIN SPORT 1, the test works fine with the online source.
However, when I try to add a second channel the same way, the channel does not appear.

 

Posted
2 minutes ago, WDPR4100 said:


Hello, when I select the Add Single Stream option, I can only use it once.
For example, if I create a stream for BEIN SPORT 1, the test works fine with the online source.
However, when I try to add a second channel the same way, the channel does not appear.

 

hi, are you sure you stepped through the process and completed it?

Posted
Just now, WDPR4100 said:


Hello, when I select the Add Single Stream option, I can only use it once.
For example, if I create a stream for BEIN SPORT 1, the test works fine with the online source.
However, when I try to add a second channel the same way, the channel does not appear.

 

Sorry, that's a known bug in this version of the plugin.

Posted

i've been trying the plugin with VOD TV Series but haven't had any luck in getting to the actual finished product.  I have an m3u that is formatted as:

#EXTINF:-1 tvg-id="" tvg-name="NCIS: Origins (2024) S01 E01" tvg-logo="https://image.tmdb.org/t/p/w600_and_h900_bestv2/mgn4Vxx5PHIcKUBSsSecDlahIBH.jpg" group-title="Crime",NCIS: Origins (2024) S01 E01
http://xxxx.xxx:80/series/abc123/1243.mkv

Somehow the Series Name is being put into Emby as "c:\x\Series\NCIS: Origins (2024)" which is preventing any automatic metadata retrieval.  the "c:\X\Series" prefix is going in for every series, but i have no idea where it's coming from as it doesn't appear in the m3u file.  Any thoughts on how i can begin to troubleshoot?  I'm at a bit of a loss since the prefix i'm dealing with isn't visible in the m3u at all.

Posted
Just now, goin3d said:

the "c:\X\Series" prefix is going in for every series, but i have no idea where it's coming from as it doesn't appear in the m3u file

This is a bug in the plugin. It has been resolved in a newer branch, but it seems the fix wasn't backported.

The c:\x\Series prefix is added by the plugin in order to let Emby resolve the names just like it does normally for on-disk content.
In this case, it doesn't get removed properly after the name resolution.

Posted
12 minutes ago, softworkz said:

This is a bug in the plugin. It has been resolved in a newer branch, but it seems the fix wasn't backported.

The c:\x\Series prefix is added by the plugin in order to let Emby resolve the names just like it does normally for on-disk content.
In this case, it doesn't get removed properly after the name resolution.

Thanks!  so i my case i should just wait for the next update?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...