xiaodoudou / PlexIPTV

This app simulate a DVR device for Plex by providing a layer to any IPTV provider (that provide a m3u8 playlist)
Apache License 2.0
194 stars 24 forks source link

Unable to tune channel #8

Open globier opened 6 years ago

globier commented 6 years ago

Hi, I have the channels being detected but when trying to play any stream plex errors with "Unable to Tune Channel" debug log attached debuglog.txt

Any help appreciated

xiaodoudou commented 6 years ago

Hey @globier

I know why it doesn't work, your provider is giving m3u8 files instead of ts file inside the main playlist. As I assume it works well on VLC, so it means we could work around that by code.

During that time, you can check if your provider allow you to pull the playlist as "ts" format which mean MPEG Transport Stream.

If you could give me the name of your provider, I could give a look to their structure of files.

Cheers,

Skaronator commented 6 years ago

I've the same issue. Here is the m3u8 file I'm using:

-deleted-

xiaodoudou commented 6 years ago

@Skaronator You are having another issue im working on, your playlist is nested; Im working on something for it. The issue of @globier is different as he have ts links base on his logs.

xiaodoudou commented 6 years ago

Oh sorry both are you are in same situation both are nested playlist; I need read some doc regarde m3u playlist to figure out how to handle that as some live streams have weird structure...

globier commented 6 years ago

Thanks @xiaodoudou . FYI I'm using vaderstreams if it helps.

cwallace commented 6 years ago

You can use the following link for ts format on vaders:

http://vapi.vaders.tv/epg/vget?username=YOURUSERNAME&password=YOURPASSWORD&format=ts

globier commented 6 years ago

@cwallace Thanks but it looks like it only worked using http://vaders.tv/epg/vget?username=YOURUSERNAME&password=YOURPASSWORD&format=ts as no channels were found with the vapi appended. But this still didn't fix the streaming issue and I cant see anything different in the .m3u8 file format.

porkie02 commented 6 years ago

@cwallace link works for me thanks.

globier commented 6 years ago

Actually the link did work, I just mistyped it the first time. however this didn't fix my issue with the plex error "Unable to tune channel"

silkyclouds commented 6 years ago

I'm using prime iptv streams (now renamed to shark iptv) and did enter the =ts line. Channels are recognized, and epg is now being built.

But I can't start any stream. unable to tune channel...

I did notice in the past that when connecting to my vpn, streaming was blocked. But now I also figured out they also seem to blacklist hosting companies IP ranges. So these streams are useless for anyone willing to centralise his streams in a central place. (Eg: plex server running in a datacenter).

I've opened a ticket asking them if they are blacklisting IPs, and if they do I'll see if they do agree to whitelist the IP my server is running on. If not, i'll terminate my contract with them and will make sure to let you all know so you won't put your money in an useless service.

silkyclouds commented 6 years ago

I would strongly recommend to anyone new to IPTV to make sure their provider is not blocking access to the streams behind a vpn or proxy. As an example, here is what the iptv provider I use states on his pages :

"Server does not allow you to connect if you are using firewall, proxy or VPN. Trial account is limited and you can’t re-stream channels."

I can confirm that I can't either play streams when connected to a VPN nor using plexIPTV.

So, choose wisely !

xiaodoudou commented 6 years ago

Was kind of busy theses last months, currently it does support only xtream-codes api streams from my test. Vader or some other provider are doing nested playlist or none MPEG2 TS streams which will result to having ffmpeg reprocess the stream to make Plex support it properly.

I know on such season lot of people are expecting to watch the world cup, just go for a month on any provider supporting build on xtream-codes with FHD and your nation channel. Then PlexITV will work right away.

silkyclouds commented 6 years ago

Any recommendation to pick up one of these providers?

On 22 Jun 2018, at 08:14, xiaodoudou notifications@github.com wrote:

Was kind of busy theses last months, currently it does support only xtream-codes api streams from my test. Vader or some other provider are doing nested playlist or none MPEG2 TS streams which will result to having ffmpeg reprocess the stream to make Plex support it properly.

I know on such season lot of people are expecting to watch the world cup, just go for a month on any provider supporting build on xtream-codes with FHD and your nation channel. Then PlexITV will work right away.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xiaodoudou/PlexIPTV/issues/8#issuecomment-399331996, or mute the thread https://github.com/notifications/unsubscribe-auth/AWS0q9EuS1bQUVOu0bCmiKjuQ52gjHTQks5t_ItKgaJpZM4T9nO5.

xiaodoudou commented 6 years ago

Not really the place to give such list; one word: trials go for them even if they need to be in exchange of few $. If you contact me by mail can provide you some of the one I have tested w/o issues so far; but again, never pay more than 3 months straight for a provider, neither go ahead without trial.

Trials will let you know in a seconds the serval point from your side:

silkyclouds commented 6 years ago

One last question though : how are we supposed to make the difference between xtream api enabled iptv providers and the one who don’t use this api ?

vaders do have a http://domain.com:port/get.php?username=XXXXX&password=YYYY&type=m3u&output=ts http://domain.com:port/get.php?username=XXXXX&password=YYYY&type=m3u&output=ts url format, and so do my provider. But it just don’t work.

On 22 Jun 2018, at 07:48, Xiaodoudou notifications@github.com wrote:

Not really the place to give such list; one word: trials go for them even if they need to be in exchange of few $. If you contact me by mail can provide you some of the one I have tested w/o issues so far; but again, never pay more than 3 months straight for a provider, neither go ahead without trial.

Trials will let you know in a seconds the serval point from your side:

Request the provider to give you a playlist (m3u8) for VLC (Xtream codes will be urls like: http://domain.com:port/get.php?username=XXXXX&password=YYYY&type=m3u&output=ts http://domain.com:port/get.php?username=XXXXX&password=YYYY&type=m3u&output=ts) Quality of the stream through VLC (inspect the media, if it says HD should be at least 720p, if it says FHD should be 1080p); keep in mind that if you already have quality issue there, Plex that will reencode the stream depending on client side device used, that will have even worst issues) Let run the stream for an hour to see if the bitrate is supported with your connection or provider side isn't not too much drain by other users Then you can start to play with PlexIPTV or Telly — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xiaodoudou/PlexIPTV/issues/8#issuecomment-399339372, or mute the thread https://github.com/notifications/unsubscribe-auth/AWS0q1o4wQkOh56aXmPtrMPD6iSyrIr8ks5t_JM-gaJpZM4T9nO5.

xiaodoudou commented 6 years ago

So far all xtream api provider I have tested are ok. Send me by mail the url of your provider will try to get a trial to check it out.

djnew2 commented 6 years ago

Sorry if this has been answered, but did anyone get this working with vaders.tv? I have seen a few helpful posts but cannot get it working myself. Thanks in advance.