[mythtv-users] IPTV HTTP Streaming

Mike Perkins mikep at randomtraveller.org.uk
Tue Feb 28 17:23:59 UTC 2017


On 28/02/17 15:49, John Corps wrote:
> Hello all,
>
> I am having an issue when it comes to IPTV HLS streaming. I have my service
> that uses an M3U playlist that is pointing to such URL like
> http://iptvservice.com:7875/live/username/password/channelnum.ts but
> accessing that, you are redirected to another URL like
> http://1.1.1.1:7874/live/username/password/channelnum.ts?token=someverylongtokengenerated
>
> Inside myth setup when it loads this M3U when doing channel scan, it shows
> in the logs:
>
> 2017-02-25 10:22:44.078296 I
> http://iptvservice.com:7875/live/username/password/channelnum.ts ->
> http://1.1.1.1:7874/live/username/password/channelnum.ts?token=someverylongtokengenerated
> 2017-02-25 10:22:49.210823 E  IsHLSPlaylist - Open Failed: timed-out
> http://iptvservice.com:7875/live/username/password/channelnum.ts
>
> Now as a test, I created my own M3U file with just the
> http://1.1.1.1:7874/live/username/password/channelnum.ts?token=someverylongtokengenerated
> and Myth loads that fine as a channel and I can watch it. The problem is,
> that token appears to change daily.
>
> Is there any way to get the redirect working so I don't have to do a new
> scan every day?
>
I'm guessing that what you are seeing isn't some simple redirection but a validation based on 
username and password and probably your IP address and maybe other information as well.

Are you attempting to use myth to receive streams that would normally go to a set-top box? If so, 
you are almost certainly breaking your Terms and Conditions and are likely describing activities 
which could be illegal, depending on your jurisdiction.

This mailing list should not be used to discuss illegal activities. Understand that I do not know if 
what you describe is illegal, but that others may view it as such and that you should clarify what 
it is you are attempting to do.

-- 

Mike Perkins



More information about the mythtv-users mailing list