iBaa / PlexConnect

Plex @ aTV - think different...
Other
1.9k stars 626 forks source link

DVR/NEWS support #530

Open wahlmanj opened 6 years ago

wahlmanj commented 6 years ago

Is DVR, lite tv, and news working in the newest release? If not, is it planned? Glad to see you joined the team moody :)

moodyblue commented 6 years ago

Hi Jim, glad to see that you are still around. The fast answer is no, these are not in plan.

I'm not a developer myself, but as you are, you're welcome to develop new functions. I can interface with Plex Inc to gather the how/to's.

ned-kelly commented 6 years ago

+1 - This would be wonderful, you don't need a DVR to develop/test you can just use: https://hub.docker.com/r/linuxserver/tvheadend/ with this proxy to plex https://hub.docker.com/r/jkaberg/tvhproxy/ (How I'm currently getting "DVR" without an actual hardware DVR, just pulling in the local channels from their IPTV feeds)

ned-kelly commented 6 years ago

@wahlmanj - Just an update, I've got my Live TV/DVR working through the IPTV plugin in an m3u playlist - Basically my TV Tuner (a HDHomerun), is feeding into tvheadend which is then feeding into Plex via tvhproxy.

The plus side of doing it this way, is I've actually added in various additional IPTV Feeds (BBC One, NBC, CBS etc) as well as my local Australian Free to air channels (via my HDHomerun) and I can get accurate EPG data across all of the channels by manually specifying the EPG file in Plex (By default in Plex, you're restricted to a single geographic region which sucks).

It would be awesome getting native DVR added into the PlexConnect plugin, but for now the IPTV Channel plugin does the trick - There's also a better plugin called (LiveTVH)[https://github.com/taligentx/LiveTVH.bundle] which should in theory work better than the IPTV plugin, but it's currently got some issues with PlexConnect I'm trying to work through.

I know it's not a brilliant fix, but it works - hope this helps you on your endeavours.

moodyblue commented 4 years ago

DVR support has been implemented, credits to @SheaSmith. Can you please test ?

sreknob commented 4 years ago

Great news @moodyblue - going to give it a spin. I think this calls for a new release!

wahlmanj commented 4 years ago

Ill test as soon as I get home, awesome work!

sreknob commented 4 years ago

Just tried here. Not having any love. The interface shows (and it’s nice!) but attempting to play anything results in “Trailers not available”. Will get logs and report back.

moodyblue commented 4 years ago

I'm having the same problem. I've already reported to @SheaSmith, the developer. In my case the logs don't tell much, looks like a broken xml file that ATV can't handle

SheaSmith commented 4 years ago

Should be resolved in #556

sreknob commented 4 years ago

EDIT: Spoke too soon - working like a treat on one of my other ATVs. Will compare settings between the two and try and figure out why one isn’t working....

Getting closer! Now able to get to start the stream but doesn’t get past showing a still image of the current frame. If I wait, then exit and restart the image updates to a new one and the blue bar shows between the two time points but no playable video, even when trying to scrub. Nothing in the info logs, will turn on debug and report back. FWIW, I’m using an HDHR network tuner.

moodyblue commented 4 years ago

Probably a codec issue. Are you able to see the stream details with plex web ?

SheaSmith commented 4 years ago

Yes, that's definitely a codec issue. If you could just send a screenshot of what appears in the dashboard when playing from Plex Web. e.g. image

Because this is a bunch of new codecs as far as PlexConnect is concerned I might have to add it to the list of those that need transcoded.

On a side note, I'm tempted to rewrite the transcode engine to be more of a whitelist, rather than a blacklist, but it's quite old code, and I'm very cautious about making sure nothing breaks.

moodyblue commented 4 years ago

@SheaSmith Let me handle the transcoding decision logic. One of the things that I want to test is if that decision can be assigned to the PMS transcoder, and this requires knowledge of overlaying plex profiles, or even a new profile for PlexConnect (it existed some years ago but Plex dropped it).

@sreknob Can you pls try with Transcoder Action = Transcode in both ATV's ?

moodyblue commented 4 years ago

@SheaSmith I have several films and tv shows libraries, but PlexConnect does not allows me to pick the right one when I want to record.

SheaSmith commented 4 years ago

Yeah, there are currently no options with regards to recording - it just does it based on the defaults. Doing the options is a bit tricky since there's a lot of pieces that have to be put together (e.g. pulling all film/TV libraries), plus the limitations of the ATV (e.g. no dropdown dialogs).

wahlmanj commented 4 years ago

So far it works great. Fantastic work thus far! is there a way to get a list of channels similar to the atv4 plex app that would have a similar channel guide like you would see on a normal tv provider?

SheaSmith commented 4 years ago

No, that's not possible. We're very limited with regards to UI components, unfortunately.

wahlmanj commented 4 years ago

image

wahlmanj commented 4 years ago

Not possible? Interesting...

SheaSmith commented 4 years ago

Oh, you meant something like that? I thought you were referring to the more traditional grid guide: image The 'On Now' page could be themed like the image you have attached, but the problem is whether it replaces the On Now page (which would make it inconstitant with Plex web) or whether its just an option in settings.

wahlmanj commented 4 years ago

Well that would be preferable and fantastic but something like the image I uploaded above will suffice as well.

moodyblue commented 4 years ago

I would prefer to continue this conversation in https://forums.plex.tv/t/live-tv-dvr/490437/3

This can facilitate the contact eith Plex team, if needed, and also contribute to my scorecard.

ENjOY88 commented 3 years ago

HDHR.Viewer2 would be a great solution to this if it can somehow be built into PlexConnect Live TV.

SheaSmith commented 3 years ago

Live TV support has already been added, just not news yet, so this issue hasn't been closed

ghokun commented 3 years ago

Not directly related to this topic, but people in this topic (maybe the only ones in the world) would be interested so I decided to comment here:

I wrote an application just like PlexConnect for IPTV playlists.

It can be found here: https://github.com/ghokun/appletv3-iptv

I can remove this comment if it is inappropriate.

moodyblue commented 3 years ago

Not directly related to this topic, but people in this topic (maybe the only ones in the world) would be interested so I decided to comment here:

I wrote an application just like PlexConnect for IPTV playlists.

It can be found here: https://github.com/ghokun/appletv3-iptv

I can remove this comment if it is inappropriate.

Great. Good luck for your app.