Hi can also confirm that the channel does not work with PMS 1.0.0.2261.
I can confirm it DOES work with PMS 1.0.0.2261 :-* … go figure …
The following version can you work?
Finally it works.
I added two lines of plug:
can this work if I am accessing the plex server remotely?
I am able to view channels if I access the plex server locally (ie http://localhost:) however, with remote access, channels dont play. Log shows that the url being passed is http://127.0.0.1 , instead of http://
Hello
in my setting, I can see the channel list, but when I try to play any channel, I only retrieve a blank screen with the loading animation.
The last log entries are the following:
2016-10-20 20:19:58,868 (7f7f16ffd700) : DEBUG (runtime:924) - Response: [200] MediaContainer, 1865 bytes
2016-10-20 20:19:58,896 (7f7f16ffd700) : DEBUG (runtime:717) - Handling request GET /video/tvplexend/00c2c00595e3a0b9bc4d204e658285f0?container=True
2016-10-20 20:19:58,897 (7f7f16ffd700) : DEBUG (runtime:814) - Found route matching /video/tvplexend/00c2c00595e3a0b9bc4d204e658285f0
2016-10-20 20:19:58,899 (7f7f16ffd700) : DEBUG (runtime:88) - Sending packed state data (117 bytes)
2016-10-20 20:19:58,900 (7f7f16ffd700) : DEBUG (runtime:924) - Response: [200] MediaContainer, 1865 bytes
2016-10-20 20:19:58,913 (7f7f16ffd700) : DEBUG (runtime:717) - Handling request GET /video/tvplexend/00c2c00595e3a0b9bc4d204e658285f0/livestream
2016-10-20 20:19:58,914 (7f7f16ffd700) : DEBUG (runtime:814) - Found route matching /video/tvplexend/00c2c00595e3a0b9bc4d204e658285f0/livestream
2016-10-20 20:19:58,915 (7f7f16ffd700) : DEBUG (runtime:88) - Sending packed state data (117 bytes)
2016-10-20 20:19:58,915 (7f7f16ffd700) : DEBUG (runtime:924) - Response: [302] Redirect, 0 bytes
And then the log ends. In the same situation, the plex mediaserver log raises an issue:
Oct 20, 2016 20:03:11.862 [0x7fa917fff700] ERROR - [Transcoder] [mpeg2video @ 0x1fd78c0] Invalid frame dimensions 0x0.
Oct 20, 2016 20:03:18.696 [0x7fa9205e7700] ERROR - JobManager: child process killed by signal: 9 (Killed)
Is it possible, that the plugin cannot handle the http redirect or is this a common situation?
Any hints?
Hi everyone
Is the development of this plugin dead?
Haveing some troubles to make it play LIVE streams. The plugin shows the Channels, and the EPG… but cant play them :-/ Not even the recordings.
TvHeadEnd ver: 4.0.9
Plex: Version 1.2.7.2987
Hi all, Pretty much the same as above. I open the TVHeadend channels on my plex and I select the channel. When i look under subscriptions on TVHeadend it shows my plex as being connected and the channel along with input and output data rates, but then a few seconds later, it goes away, then after a while my plex says There was a problem playing this item. The TV Channels work OK when using a TVH Client on my phone, and my plex client will play anything that is on the media drive. Thanks
My TV Headend is 4.0.9-4 and my plex is version 2.10.10
Edit the file: Contents/Code/init.py
Just installed this now to test. Can verify it worked straight away over LAN in plex web using server IP as 127.0.0.1 but had to use server LAN IP of 192.168.0.3 for it to work on rasplex. Can’t seem to get it to work on Plex for Android
@unr3al2 said:
Edit the file: Contents/Code/init.py
Screenshot by Lightshot
thanks! it worked now it plays btw the icons continue not showing and works on kodi for example
What profile should TVH be using for this? I can’t get plex to record using DVR fine, but this channel will not work even with the init.py edit. it just sits and spins out? but if i look at tvheadend, in the status it shows a connection and that it’s all fine that end? but plex just cant seem to play it
Nevermind, i used tvheadend-ng and uncommented video_codec = VideoCodec.H264, on line 348 in init.py. I also changed line 311 from mco = addMediaObject(mco, args[‘url’] + ‘?profile=pass’) into mco = addMediaObject(mco, args[‘url’] + ‘?profile=plex’)
I then added a stream profile in TVH called plex, Transcode/av-lib with all default except audio codec as “copy codec”
Hope that helps anyone that’s having a similar issue.
@diablobait said:
@unr3al2 said:
Edit the file: Contents/Code/init.py
Screenshot by Lightshotthanks! it worked now it plays btw the icons continue not showing
and works on kodi for example
@diablobait said:
@unr3al2 said:
Edit the file: Contents/Code/init.py
Screenshot by Lightshotthanks! it worked now it plays btw the icons continue not showing
and works on kodi for example
also thanks alot, i had to remove the audio_codec = AudioCodec.AAC, line to get audio stream, now it seems to work as expected again
Hi Guys, thanks for all the info to solve this isseu. I cannot find the TVheadend plugin inside the Plex folder. Where do you ajust the code? Thanks!
It does not work with me.
I have that error:
2017-03-16 21:54:40,407 (7f1bf2ffd700) : CRITICAL (runtime:889) - Exception (most recent call last):
File “/usr/lib64/plexmediaserver/Resources/Plug-ins-edef59192/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py”, line 843, in handle_request
result = f(**d)
File “/usr/lib64/plexmediaserver/Resources/Plug-ins-edef59192/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/handlers/base.py”, line 111, in call
result = self.func(*args, **kwargs)
File “/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/TvplexendChannel.bundle/Contents/Code/init.py”, line 98, in MainMenu
oc.add(Channel(channelId=id))
File “/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/TvplexendChannel.bundle/Contents/Code/init.py”, line 148, in Channel
start, stop, duration, relProgress, epg[‘title’], summary
File “/usr/lib64/plexmediaserver/Resources/Plug-ins-edef59192/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py”, line 108, in
getitem = lambda x, y: x.getitem(y),
KeyError: ‘title’
I have tried the above suggestions but still can’t play the tvheadend channels from plex.
changed to the newer plugin and all is well. Also installed WebTools V2.4.1 so should make life a lot easier.
which plugin are you using now?
@nmsaraujo said:
@BPEPPERwhich plugin are you using now?
I don’t think this is what @BPEPPER is using now since his post is older than the first post here:
https://forums.plex.tv/discussion/271068/rel-livetvh-live-tv-streaming-with-tvheadend
But I found this plugin and it looks promising. At this point I have no experience with the plugin nor plex at all, just registered to tell you this.