iptv-org / iptv

Collection of publicly available IPTV channels from all over the world
https://iptv-org.github.io
The Unlicense
86.22k stars 2.65k forks source link

Streamlink sources thread #2833

Closed Dum4G closed 3 years ago

Dum4G commented 3 years ago

Please try this service not only in VLC but in every other player or IPTV client you use, preferably on Android and report back.

http://salvahe.co/iptv-query?url=https://www.youtube.com/c/kenyacitizentv/live

So far it works in: VLC v3.0.14 Elmedia Video Player v7.17 (freearhey) Kodi Playlistloader addon (Sphinxroot) IPTV Safronov? (LaneSh4d0w) Televizo (Independent test) OTT Navigator (Independent test)

Doesn't work in: SimpleTV http://jackal.surge.sh/ and other web clients GSE Smart IPTV v2.3 (freearhey) LazyIPTV (Independent test)

UPD: Doesn't work with https://www.youtube.com/EuronewsUSA/live

May be at least temporary solution to https://github.com/iptv-org/iptv/issues/2158, https://github.com/iptv-org/iptv/issues/2781 and https://github.com/iptv-org/iptv/issues/2729

freearhey commented 3 years ago

VLC v3.0.14 - works fine Elmedia Video Player v7.17 - works fine GSE Smart IPTV v2.3 - stream loads, but then the endless buffering starts

Dum4G commented 3 years ago

@brianmusundi you're probably watching these channels at least for an hour on a TV set, I'd like to know your opinion on these two

http://salvahe.co/iptv-query?url=https://www.youtube.com/c/kenyacitizentv/live http://salvahe.co/iptv-query?url=https://www.youtube.com/c/KTNKenya/live

Sphinxroot commented 3 years ago

@brianmusundi you're probably watching these channels at least for an hour on a TV set, I'd like to know your opinion on these two

http://salvahe.co/iptv-query?url=https://www.youtube.com/c/kenyacitizentv/live http://salvahe.co/iptv-query?url=https://www.youtube.com/c/KTNKenya/live

Working In Kodi Playlistloader addon

Sphinxroot commented 3 years ago

Test those please

EXTINF:-1 tvg-logo="" group-title="",Radio MRG (Dailymotion)

http://salvahe.co/iptv-query?url=https://www.dailymotion.com/video/x69a2vh

EXTINF:-1 tvg-logo="" group-title="",BTVStelevision (Twitch)

http://salvahe.co/iptv-query?url=https://www.twitch.tv/btvstelevision/

Working in kodi Playlistloader addon

Dum4G commented 3 years ago

Test those please

Actually does work in VLC, also acts as a proxy server (Dailymotion is blocked for me) 🤯

Sphinxroot commented 3 years ago

Test those please

Actually does work in VLC, also acts as a proxy server (Dailymotion is blocked for me)

All Dailymotion or just this 1 .. might be geoblocked

Dum4G commented 3 years ago

All Dailymotion or just this 1 .. might be geoblocked

It is entirely blocked in my country

BellezaEmporium commented 3 years ago

Interesting...

BellezaEmporium commented 3 years ago

Works on IPTV (Alexander Sofronov) application (Android) with KCTV

EXTINF:-1 tvg-logo="" group-title="",Korean Central Television (Twitch.tv / elufatv)

http://salvahe.co/iptv-query?url=https://www.twitch.tv/elufatv Screenshot_20210521-193623.jpg

Sphinxroot commented 3 years ago

EXTINF:-1 tvg-logo="" group-title="",ChilledCat - 24/7 lofi beats to chill (DLive)

http://salvahe.co/iptv-query?url=https://dlive.tv/ChilledCat

it would be a major upgrade if its accepted ... Youtube Dailymotion Twich Dlive , 1k+ Channel could be added .. possibly other Services as well .. i have tested some Fox local with token but it doesnt work

Dum4G commented 3 years ago

it would be a major upgrade if its accepted ...

Just to clarify. This is NOT commercial host from Santa Claus with fancy landing page. It's someone's private proxy that I accidentally found that probably runs on a single cheap VM until it is reasonable to run it. And it seems to be located far away from us. If it's gonna be approved it will only be used for emergency cases like Kenya playlist where official content providers and restreamers do not exist at all. Please don't abuse it for radio sources or something you have an official app for

BellezaEmporium commented 3 years ago

it would be a major upgrade if its accepted ...

Just to clarify. This is NOT commercial host from Santa Claus with fancy landing page. It's someone's private proxy that I accidentally found that probably runs on a single cheap VM until it is reasonable to run it. And it seems to be located far away from us. If it's gonna be approved it will only be used for emergency cases like Kenya playlist where official content providers and restreamers do not exist at all.

Best thing would be to simply get the scripts he does and re-host them to keep the original link safe and sound.

Dum4G commented 3 years ago

Best thing would be to simply get the scripts he does and re-host them to keep the original link safe and sound.

It's running https://streamlink.github.io/index.html I guess

BellezaEmporium commented 3 years ago

Best thing would be to simply get the scripts he does and re-host them to keep the original link safe and sound.

It's running https://streamlink.github.io/index.html I guess

I think I can manage something... Let me see.

Nintendocustom commented 3 years ago

https://iptv--iptv.repl.co/streamlink?url= example: https://iptv--iptv.repl.co/streamlink?url=https://www.twitch.tv/elufatv

BellezaEmporium commented 3 years ago

You were faster than me for this one haha ! Well played.

BellezaEmporium commented 3 years ago

Here's my version, in case of : https://query-streamlink.lanesh4d0w.repl.co/iptv-query?streaming-ip= Example : https://query-streamlink.lanesh4d0w.repl.co/iptv-query?streaming-ip=https://dlive.tv/ChilledCat

Note that mine is "verbose". It'll answer with an exception page if Streamlink cannot seem to load your link.

Dum4G commented 3 years ago

Ok, now the only question remains: how long does those streams work before it needs to be restarted manually? We need someone to watch real YT or DM channel for an hour or so.

BellezaEmporium commented 3 years ago

Ok, now the only question remains: how long does those streams work before it needs to be restarted manually? We need someone to watch real YT or DM channel for an hour or so.

I know that Streamlink's quite viable when it Comes to using it on Windows as a standalone package, but yes, we still need to see how that works over time. I suggest to look at @Nintendocustom 's implementation first, then mine.

brianmusundi commented 3 years ago

https://iptv--iptv.repl.co/streamlink?url= example: https://iptv--iptv.repl.co/streamlink?url=https://www.twitch.tv/elufatv

this works well with the Dailymotion links. It generates a m3u8 file if you open it directly on the browser. Let me test it out on a playlist @Dum4G i could swap the tokenized links for these ones It works well with youtube as well I'll use the page's direct link so that it automatically refreshes. https://iptv--iptv.repl.co/streamlink?url=https://www.youtube.com/user/kenyacitizentv/live that's an example. Thanks.

BellezaEmporium commented 3 years ago

https://iptv--iptv.repl.co/streamlink?url= example: https://iptv--iptv.repl.co/streamlink?url=https://www.twitch.tv/elufatv

this works well with the Dailymotion links. It generates a m3u8 file if you open it directly on the browser. Let me test it out on a playlist @Dum4G i could swap the tokenized links for these ones It works well with youtube as well

If you can, please watch those kind of links on a bigger amount of time (around an hour at least) just to see if those links still work over time.

brianmusundi commented 3 years ago

https://iptv--iptv.repl.co/streamlink?url= example: https://iptv--iptv.repl.co/streamlink?url=https://www.twitch.tv/elufatv

this works well with the Dailymotion links. It generates a m3u8 file if you open it directly on the browser. Let me test it out on a playlist @Dum4G i could swap the tokenized links for these ones It works well with youtube as well

If you can, please watch those kind of links on a bigger amount of time (around an hour at least) just to see if those links still work over time.

Alright. I'll set up a playlist then let it run in the background. The issue might be if the streamlink application runs for over an hour. The other links will play throughout aside from a channel or two that goes offline once in a while.

BellezaEmporium commented 3 years ago

Exactly. That'll permit to see if our implementation's viable over time. Because if those links cut off over time, they won't work.

@Nintendocustom Let's see if Streamlink supports header additions through their API. We can unlock more links if this is possible (eg. Teveo's links and some Canadian channels.)

brianmusundi commented 3 years ago

So far I've seen a problem with only one link as at the moment. https://iptv--iptv.repl.co/streamlink?url=https://www.dailymotion.com/video/x7l3lxv It just won't load on vlc.

BellezaEmporium commented 3 years ago

Geolocked

Nintendocustom commented 3 years ago

There is something I forgot to mention, if you pass the parameter quality, you can get different quality. https://iptv--iptv.repl.co/streamlink?url=https://www.twitch.tv/elufatv&quality=worst https://iptv--iptv.repl.co/streamlink?url=https://www.twitch.tv/elufatv&quality=best https://iptv--iptv.repl.co/streamlink?url=https://www.twitch.tv/elufatv&quality=480p https://iptv--iptv.repl.co/streamlink?url=https://www.twitch.tv/elufatv&quality=360p

brianmusundi commented 3 years ago

Geolocked

Alright. That makes sense. All the rest of the links work. Let me send my playlist

Dum4G commented 3 years ago

There is something I forgot to mention, if you pass the parameter quality, you can get different quality.

That's a risky option, at least for Twitch. Sometimes they offer streams in a single quality, it's pretty random

brianmusundi commented 3 years ago

ke - Copy.txt here's my fixed playlist @Dum4G Just rename to .m3u only link with issues is one. The KTN

BellezaEmporium commented 3 years ago

There is something I forgot to mention, if you pass the parameter quality, you can get different quality.

That's a risky option, at least for Twitch. Sometimes they offer streams in a single quality, it's pretty random

He said that you could, not that you should. Note that the option that works for every Twitch stream is "source"

Dum4G commented 3 years ago

ke - Copy.txt here's my fixed playlist

Thx, I will push it soon as you report us how long does those links last before it needs to be reconnected

BellezaEmporium commented 3 years ago

ke - Copy.txt here's my fixed playlist @Dum4G Just rename to .m3u only link with issues is one. The KTN

Change

EXTINF:-1 tvg-id="KTN NEWS TV Kenya" tvg-name="KTN NEWS" tvg-country="KE" tvg-language="English" tvg-logo="https://kenyatv.tech/wp-content/uploads/2020/11/unnamed.jpg" tvg-url="" group-title="Kenyan",KTN NEWS TV Kenya

https://iptv--iptv.repl.co/streamlink?url=https://www.youtube.com/user/standardgroupkenya

to

EXTINF:-1 tvg-id="KTN NEWS TV Kenya" tvg-name="KTN NEWS" tvg-country="KE" tvg-language="English" tvg-logo="https://kenyatv.tech/wp-content/uploads/2020/11/unnamed.jpg" tvg-url="" group-title="Kenyan",KTN NEWS TV Kenya

https://iptv--iptv.repl.co/streamlink?url=https://www.youtube.com/user/standardgroupkenya/live

Dum4G commented 3 years ago

Is KTN different from KTN News?

BellezaEmporium commented 3 years ago

Is KTN different from KTN News?

A possibility that one is a 24hr News programme, and that the other one is General programmation.

brianmusundi commented 3 years ago

ke - Copy.txt here's my fixed playlist @Dum4G Just rename to .m3u only link with issues is one. The KTN

Change

EXTINF:-1 tvg-id="KTN NEWS TV Kenya" tvg-name="KTN NEWS" tvg-country="KE" tvg-language="English" tvg-logo="https://kenyatv.tech/wp-content/uploads/2020/11/unnamed.jpg" tvg-url="" group-title="Kenyan",KTN NEWS TV Kenya

https://iptv--iptv.repl.co/streamlink?url=https://www.youtube.com/user/standardgroupkenya

to

EXTINF:-1 tvg-id="KTN NEWS TV Kenya" tvg-name="KTN NEWS" tvg-country="KE" tvg-language="English" tvg-logo="https://kenyatv.tech/wp-content/uploads/2020/11/unnamed.jpg" tvg-url="" group-title="Kenyan",KTN NEWS TV Kenya

https://iptv--iptv.repl.co/streamlink?url=https://www.youtube.com/user/standardgroupkenya/live

hahhahaa how did I not notice I forgot to add /live. Thanks for catching that

BellezaEmporium commented 3 years ago

I'm actually researching some stuff on my host, please refrain from using it for the moment and use @Nintendocustom 's version.

brianmusundi commented 3 years ago

Is KTN different from KTN News?

Yeah. They are owned by the same company but offer different content

brianmusundi commented 3 years ago

ke.txt

@Dum4G Fixed it. All links working Also added a few more channels. KTN will remain tokenized till I find a solution. There are no issues with the stream so far.

BellezaEmporium commented 3 years ago

I've took Nintendocustom's implementation into consideration, and added 2 things. Still working on it, so it's not usable for now.

It will be useful for links that are blocked because they're played elsewhere. It's still a work in progress for the moment. I'm thinking about adding the link only instead of the full header.

brianmusundi commented 3 years ago

So these links only work with IPTV players. They won't load on Roku.

brianmusundi commented 3 years ago

Does anyone know how to get a working IPTV player for Roku? I've been running my tokenized links to watch tv via my roku channel.

Dum4G commented 3 years ago

There's many. Which model do you have?

brianmusundi commented 3 years ago

I'm using a Roku Premier

Dum4G commented 3 years ago

You can try casting from any of your old phones or keep a Plex server which is complicated

brianmusundi commented 3 years ago

Sadly that wasn't an available option. That's why I went as far as creating my own channel

Dum4G commented 3 years ago

https://www.youtube.com/watch?v=P0O0uD1S6yI

brianmusundi commented 3 years ago

https://www.youtube.com/watch?v=P0O0uD1S6yI

I already attempted this. It didn't work for me because I don't have a provider URL or username and password. It's for personal use and didn't want to pay monthly charges

brianmusundi commented 3 years ago

@nathanmuccino did you disable the server?

BellezaEmporium commented 3 years ago

You meant Nintendocustom ?

brianmusundi commented 3 years ago

You meant Nintendocustom ?

Yeah My bad I was typing in a rush and went for the first name that came up with the letter N.