Pluto TV on Myth

For discussion related to MythTV which doesn't belong in another forum.

Moderator: Forum Moderators

Post Reply
Kneel
Newcomer
Posts: 3
Joined: Thu Jul 12, 2018 11:59 pm
Australia

Pluto TV on Myth

Post by Kneel » Fri Jul 13, 2018 1:10 am

Hi all,

Fairly recent "noobie", so please forgive me if this has been asked before (can't find it though...)

My setup is a celeron 3150 (4 cores, 4 threads) 4G RAM, 64G flash and 1TB HDD. Flash is mounted RO and holds all the code, HDD holds recordings, config files that might need to change etc. So it's more an appliance than a HTPC, meaning the WAF/GAF is a high bar. I have an individual tuner for each multiplex in my area ( 5 muxes, about 37 channels all up), with a mumudvb instance for each one, streaming to http unicast on the loopback adaptor. This is all good, other than the known 28/fixes issue with IPTV stream FE channel change crashing the BE, but I have found the patch for this, and am happy to attempt a build on patched sources, or even install 29 if I must.

Now the background is done...

I have a Pluto TV account I am using on a Roku - all fine and dandy.
I want this to be available as a "standard" channel in MythTV backend, so view/record/epg etc etc just like anything else I get (FTA).

EPG part is done - this is no particular problem for me, just a little fiddly because of several things about the Pluto EPG, such as bad start/stop times in the listings (so need to keep a running start/stop time list and add duration etc etc - nasty, but more tedious than hard). I even added external EPG data where Pluto points to a HLS m3u(8) at a third party server (eg RT USA) and just lists "Live program" in every timeslot. So that is fixed (although I may need to modify for start/stop correct times due to the odd timezone they use)

Problem is this: not all "channels" on Pluto TV are "endless" m3u(8) playlists - some are (like RT USA), but most are playlists for an individual show, together with a list of streams for the ads and when to show them. So you can't just point at a single m38(u), you need to download the EPG, find the playlist corresponding to the show on the channel you want to watch, and start THAT. Then, when that ends, you have to "rinse and repeat" so the next program on the channel starts at the time the EPG says it should - perhaps needing to add "filler" content.

This will need to be a daemon I think - listen on network for "channel change" commands (send by record_start/stop external scripts of MythTV), start/stop VLC instances as appropriate, update the playlist when a vlc instance hits end of stream, maybe add some "fill in" streams to cover for the ads and the timing issues that introduces etc.

I am NOT using VLM to do this because it doesn't play nice with https m3u(8) stream uris. So I am starting an instance of vlc when a channel is "tuned", sending a unicast http mpeg/ts stream to a loopback network port (based on channel number, so m3u for Myth is static), keeping a count of how many "listeners" want the channel and stopping the vlc streamer when the last "listener" goes away (recording-start/stop event scripts). I have tested this works and it does, so just the "channel management" or "stream management" bit to do.

Two reasons for the post:

1) does this already exist? (no point in re-inventing the wheel)
2) is anyone else interested in this, especially as a dev and/or tester?

I can do this on my own (and will), but it will take a while to get right, so any helpers/testers would be appreciated.

I would also be very happy to hear of something similar that I can re-jig to suit, or any ideas on how to manage the "channels" - it seems like a bit of a headache to get set-up, but I am determined to get it working. As above, the basics are there, and I can get the streams, just need to make it all transparent to the (l)user.
Tips?
Help?

Anyone? Bueller...

Kneel
Newcomer
Posts: 3
Joined: Thu Jul 12, 2018 11:59 pm
Australia

Re: Pluto TV on Myth

Post by Kneel » Fri Jul 13, 2018 5:57 am

Quick follow-up that might generate some interest :-)

Once I get this working (the Pluto TV stuff), I intend to move on to creating something similar, but with some of the VoD stuff available on a Roku.
Intent is a similar setup to Pluto - that is, grab available streams, fake up an EPG and so on. This will obviously be considerably more complex, but would let you do things like record all episodes of "Arrow" that appear on TheCW for instance.

Hope that whets your appetite as a tester... :-)

ibedonc
Junior
Posts: 50
Joined: Wed Dec 14, 2016 3:54 pm
United States of America

Re: Pluto TV on Myth

Post by ibedonc » Wed Oct 03, 2018 2:15 am

you get anywhere with this ?

wesnewell
Senior
Posts: 514
Joined: Mon Jun 23, 2014 6:54 pm
Location: Wylie TX, USA
United States of America

Re: Pluto TV on Myth

Post by wesnewell » Wed Feb 20, 2019 3:00 pm

Just found pluto.tv. All I can say is wow. Hundreds of free channels and on demand. Would be great to integrate this into mythtv for recording.
Last edited by wesnewell on Sun Mar 24, 2019 4:55 pm, edited 1 time in total.
BE/FE-Asrock AB350 Pro AMD Ryzen 3 2200G, 6 atsc tuners. Frontends-GF8200's,,AMD Athlon II's. Mythtv user since 2005.

urbnsr
Junior
Posts: 32
Joined: Wed Oct 22, 2014 11:50 am
United States of America

Re: Pluto TV on Myth

Post by urbnsr » Sun Mar 24, 2019 3:42 pm

Anybody have any info on this site? I can seem to pull out stream addresses from a current browser's code to play in VLC, but those addresses are only temporary plus a user interface would still be needed. Quality looks good!

User avatar
paulh
Developer
Posts: 442
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: Pluto TV on Myth

Post by paulh » Mon Mar 25, 2019 11:45 am

Pluto TV looks interesting but at least when looking at the web site here in the UK it is very light on information, no way to even see what programs are on each channel, and very slow to load which doesn't give me much confidence they are here to stay. In any case most people use MythTV to get away from the linear TV dictated by broadcasters so when they say "Pluto TV brings back the linear TV you love." that's not what most MythTV users want.

healthydoctor
Newcomer
Posts: 1
Joined: Tue Mar 26, 2019 2:14 am
Greenland

Re: Pluto TV on Myth

Post by healthydoctor » Tue Mar 26, 2019 2:18 am

I was always using MythTV, and have been using Pluto TV in apknite for a month now. it's not much to compare between the two, because it depends on individual to judge and would say most of the people having tried pluto will stick with it as pluto offers more than 100 channels and saying the adv is not so many to be bothered. so personally i pick pluto

wesnewell
Senior
Posts: 514
Joined: Mon Jun 23, 2014 6:54 pm
Location: Wylie TX, USA
United States of America

Re: Pluto TV on Myth

Post by wesnewell » Tue Mar 26, 2019 7:11 am

If I had to choose, I'd stick with mythtv simply because I get 115 free channels ota here, and I can record them, play them when I want , FF, skip commercials, etc., etc., etc. Can't even pause plutotv afaik, can't get captions to work, or record it, or any of the things you can do with mythtv. But if I lived somewhere was there wasn't a lot of ota stations, it would be an option.
BE/FE-Asrock AB350 Pro AMD Ryzen 3 2200G, 6 atsc tuners. Frontends-GF8200's,,AMD Athlon II's. Mythtv user since 2005.

urbnsr
Junior
Posts: 32
Joined: Wed Oct 22, 2014 11:50 am
United States of America

Re: Pluto TV on Myth

Post by urbnsr » Mon Apr 01, 2019 10:15 am

I was hoping to use Pluto TV within MythTV avoiding a choice. I can't find a native Pluto TV user interface for a Linux box. I can't get the Windows version to play nice using Wine, so that seems out.

mitchd123
Newcomer
Posts: 4
Joined: Wed Apr 03, 2019 8:44 pm
United States of America

Re: Pluto TV on Myth

Post by mitchd123 » Thu May 02, 2019 5:52 pm

There's a nice plugin for Kodi to watch PTV. There is no plug-in to Myth that I'm aware of at the moment, and how I landed on this thread. The pluggin for Kodi has a rather long load time, and the content is someone different than what I see on Android, but it works remarkably well. The channel guide will show chunks of movies/shows on each channel. So when you start, you start at the beginning. Commercials are injected. I'd love to find a Myth connector to time-shift. Currently I used Kodi as my frontend at the TV, and myth as my backend.

urbnsr
Junior
Posts: 32
Joined: Wed Oct 22, 2014 11:50 am
United States of America

Re: Pluto TV on Myth

Post by urbnsr » Fri May 03, 2019 10:25 am

Does the Kodi plugin have access to the full list of Pluto TV channels or just a subset? On-Demand access?
Does the plugin reveal the address to the channel's stream? I'm not looking to find a way to block their commercials, but just more content availability.

User avatar
paulh
Developer
Posts: 442
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: Pluto TV on Myth

Post by paulh » Fri May 03, 2019 12:21 pm

I tried it here in the UK and didn't get any channels at all but I don't have a Pluto account and connected as a guest. Do you need to sign in to get the channels? Same thing for the EPG nothing found. Did get some on demand content, only tried to play one item which despite the English title turned out to be some obscure Japanese comedy :roll: . I could be wrong but kind of looks like they are just aggregating content already available on YouTube and Vimeo etc. Maybe there is more stuff available in the US?

Post Reply