Git Product home page Git Product logo

livetvh.bundle's People

Contributors

taligentx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

livetvh.bundle's Issues

List channels without thumbnail?

Hi @taligentx, just curious if would be a small change to the code to list channels without the thumbnail or have the thumbnail on the left and text on the right of it, similar to the views in Plex itself. Thanks

Working fine on Ios and Web, not on FireTV

Hello,
there seems to be an Issue with the Live connection to the FireTV App.
The playback stops after a few seconds of caching.
On IOS and on the Webinterface everything is working like charm.
This are the errors of the Plex logs. It seems like TVHeadend is not sending the Video Signals fast enough.
Thanks for your time and great work


Oct 16, 2017 23:41:44.953 [0x7f0154ffc700] ERROR - [Transcoder] [h264 @ 0x1c34540] SPS unavailable in decode_picture_timing

Oct 16, 2017 23:41:44.954 [0x7f0153bff700] ERROR - [Transcoder] [h264 @ 0x1c34540] non-existing PPS 0 referenced

Oct 16, 2017 23:41:44.957 [0x7f0154ffc700] ERROR - [Transcoder] [h264 @ 0x1c34540] SPS unavailable in decode_picture_timing

Oct 16, 2017 23:41:44.958 [0x7f0153bff700] ERROR - [Transcoder] [h264 @ 0x1c34540] non-existing PPS 0 referenced

Oct 16, 2017 23:41:44.959 [0x7f0154ffc700] ERROR - [Transcoder] [h264 @ 0x1c34540] decode_slice_header error

Oct 16, 2017 23:41:44.959 [0x7f0153bff700] ERROR - [Transcoder] [h264 @ 0x1c34540] no frame!

The Plugin Logs show this:

2017-10-16 23:41:40,378 (7f0419ffb700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/channel?art=%2F%3A%2Fplugins%2Fcom.plexapp.plugins.livetvh%2Fresources%2Fart-default.jpg%3Ft%3D1508164309&artist=__NONE__&channelType=MovieObject&checkFiles=0&container=1&content_rating=__NONE__&fallbackThumb=__NONE__&genres=%20&rating=__NONE__&source_title=22%3A45-23%3A30&streamAudio=__NONE__&streamResolution=1080p&streamURL=%2Fstream%2Fchannel%2Fad05e96db31190a02133e314bc23d5b6&streamVideo=__NONE__&summary=22%3A45-23%3A30%3A%20Europa%20hat%20Millionen%20Feinde.%20Nicht%20nur%20unter%20Rechtspopulisten.%20%22Br%C3%BCssel%22%20ist%20zum%20Synonym%20geworden%20f%C3%BCr%20undemokratische%2C%20arrogante%2C%20b%C3%BCrgerferne%20und%20teure%20Entscheidungen.%20Das%20erfolgreiche%20Europa%20wird%20totgeschwiegen.%20Woher%20kommt%20das%20schlechte%20Image%20und%20was%20ist%20%C3%BCberhaupt%20dran%3F%20Mit%20Europagegnern%20und%20Europafreunden%20unterwegs%20auf%20der%20Suche%20nach%20der%20Wahrheit.%0AProduziert%20in%20HD%0A23%3A30%3A%20Widerstand%20unter%20Hitler%0A00%3A15%3A%20Nachtmagazin%0A00%3A35%3A%20Tatort%3A%20Der%20rote%20Schatten%0A02%3A08%3A%20Tagesschau%0A&tagline=__NONE__&thumb=__NONE__&title=Das%20Erste%20HD%3A%20Der%20Europa%20Check%20(Die%20Story%20im%20Ersten)&year=__NONE__
2017-10-16 23:41:40,380 (7f0419ffb700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/channel
2017-10-16 23:41:40,381 (7f0419ffb700) :  INFO (__init__:585) - Title: Das Erste HD: Der Europa Check (Die Story im Ersten)
2017-10-16 23:41:40,381 (7f0419ffb700) :  INFO (__init__:586) - Type: MovieObject
2017-10-16 23:41:40,381 (7f0419ffb700) :  INFO (__init__:587) - Video: None
2017-10-16 23:41:40,381 (7f0419ffb700) :  INFO (__init__:588) - Audio: None
2017-10-16 23:41:40,381 (7f0419ffb700) :  INFO (__init__:589) - Resolution: 1080p
2017-10-16 23:41:40,385 (7f0419ffb700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2017-10-16 23:41:40,385 (7f0419ffb700) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 3546 bytes
2017-10-16 23:41:42,691 (7f0419ffb700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/stream?streamURL=%2Fstream%2Fchannel%2Fad05e96db31190a02133e314bc23d5b6&indirect=1&mediaInfo=%7B%22audio_channels%22%3A%20null%2C%20%22protocol%22%3A%20null%2C%20%22optimized_for_streaming%22%3A%20true%2C%20%22video_frame_rate%22%3A%20null%2C%20%22duration%22%3A%2086400000%2C%20%22height%22%3A%201080%2C%20%22width%22%3A%201920%2C%20%22container%22%3A%20%22mpegts%22%2C%20%22audio_codec%22%3A%20null%2C%20%22aspect_ratio%22%3A%20null%2C%20%22video_codec%22%3A%20null%2C%20%22video_resolution%22%3A%20%221080%22%2C%20%22bitrate%22%3A%20null%7D
2017-10-16 23:41:42,692 (7f0419ffb700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/stream
2017-10-16 23:41:42,705 (7f0419ffb700) :  DEBUG (networking:233) - Fetching HTTP headers for 'http://192.168.188.116:9981/stream/channel/ad05e96db31190a02133e314bc23d5b6'
2017-10-16 23:41:42,902 (7f0419ffb700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2017-10-16 23:41:42,902 (7f0419ffb700) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 1040 bytes
2017-10-16 23:41:43,331 (7f0419ffb700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/image?url=__NONE__&fallback=__NONE__
2017-10-16 23:41:43,332 (7f0419ffb700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/image
2017-10-16 23:41:43,333 (7f0419ffb700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2017-10-16 23:41:43,333 (7f0419ffb700) :  DEBUG (runtime:924) - Response: [404] NoneType, 0 bytes
2017-10-16 23:41:43,390 (7f0419ffb700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/channel?rating=__NONE__&streamURL=%2Fstream%2Fchannel%2Fad05e96db31190a02133e314bc23d5b6&art=%2F%3A%2Fplugins%2Fcom.plexapp.plugins.livetvh%2Fresources%2Fart-default.jpg%3Ft%3D1508164309&thumb=__NONE__&streamResolution=1080p&checkFiles=0&tagline=__NONE__&content_rating=__NONE__&genres=+&summary=22%3A45-23%3A30%3A+Europa+hat+Millionen+Feinde.+Nicht+nur+unter+Rechtspopulisten.+%22Br%C3%BCssel%22+ist+zum+Synonym+geworden+f%C3%BCr+undemokratische%2C+arrogante%2C+b%C3%BCrgerferne+und+teure+Entscheidungen.+Das+erfolgreiche+Europa+wird+totgeschwiegen.+Woher+kommt+das+schlechte+Image+und+was+ist+%C3%BCberhaupt+dran%3F+Mit+Europagegnern+und+Europafreunden+unterwegs+auf+der+Suche+nach+der+Wahrheit.%0AProduziert+in+HD%0A23%3A30%3A+Widerstand+unter+Hitler%0A00%3A15%3A+Nachtmagazin%0A00%3A35%3A+Tatort%3A+Der+rote+Schatten%0A02%3A08%3A+Tagesschau%0A&container=1&streamAudio=__NONE__&year=__NONE__&title=Das+Erste+HD%3A+Der+Europa+Check+%28Die+Story+im+Ersten%29&channelType=MovieObject&artist=__NONE__&source_title=22%3A45-23%3A30&streamVideo=__NONE__&fallbackThumb=__NONE__&includeBandwidths=1
2017-10-16 23:41:43,392 (7f0419ffb700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/channel
2017-10-16 23:41:43,392 (7f0419ffb700) :  INFO (__init__:585) - Title: Das Erste HD: Der Europa Check (Die Story im Ersten)
2017-10-16 23:41:43,392 (7f0419ffb700) :  INFO (__init__:586) - Type: MovieObject
2017-10-16 23:41:43,392 (7f0419ffb700) :  INFO (__init__:587) - Video: None
2017-10-16 23:41:43,393 (7f0419ffb700) :  INFO (__init__:588) - Audio: None
2017-10-16 23:41:43,393 (7f0419ffb700) :  INFO (__init__:589) - Resolution: 1080p
2017-10-16 23:41:43,396 (7f0419ffb700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2017-10-16 23:41:43,397 (7f0419ffb700) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 3570 bytes
2017-10-16 23:41:43,414 (7f0419ffb700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/image?url=__NONE__&fallback=__NONE__
2017-10-16 23:41:43,415 (7f0419ffb700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/image
2017-10-16 23:41:43,416 (7f0419ffb700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2017-10-16 23:41:43,416 (7f0419ffb700) :  DEBUG (runtime:924) - Response: [404] NoneType, 0 bytes
2017-10-16 23:41:43,422 (7f0419ffb700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/stream?streamURL=%2Fstream%2Fchannel%2Fad05e96db31190a02133e314bc23d5b6&indirect=1&mediaInfo=%7B%22audio_channels%22%3A%20null%2C%20%22protocol%22%3A%20null%2C%20%22optimized_for_streaming%22%3A%20true%2C%20%22video_frame_rate%22%3A%20null%2C%20%22duration%22%3A%2086400000%2C%20%22height%22%3A%201080%2C%20%22width%22%3A%201920%2C%20%22container%22%3A%20%22mpegts%22%2C%20%22audio_codec%22%3A%20null%2C%20%22aspect_ratio%22%3A%20null%2C%20%22video_codec%22%3A%20null%2C%20%22video_resolution%22%3A%20%221080%22%2C%20%22bitrate%22%3A%20null%7D
2017-10-16 23:41:43,424 (7f0419ffb700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/stream
2017-10-16 23:41:43,425 (7f0419ffb700) :  DEBUG (networking:233) - Fetching HTTP headers for 'http://192.168.188.116:9981/stream/channel/ad05e96db31190a02133e314bc23d5b6'
2017-10-16 23:41:43,467 (7f03fffff700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/image?url=__NONE__&fallback=__NONE__
2017-10-16 23:41:43,469 (7f03fffff700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/image
2017-10-16 23:41:43,470 (7f03fffff700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2017-10-16 23:41:43,470 (7f03fffff700) :  DEBUG (runtime:924) - Response: [404] NoneType, 0 bytes
2017-10-16 23:41:43,645 (7f0419ffb700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2017-10-16 23:41:43,645 (7f0419ffb700) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 1040 bytes
2017-10-16 23:41:43,791 (7f0419ffb700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/channel?rating=__NONE__&streamURL=%2Fstream%2Fchannel%2Fad05e96db31190a02133e314bc23d5b6&art=%2F%3A%2Fplugins%2Fcom.plexapp.plugins.livetvh%2Fresources%2Fart-default.jpg%3Ft%3D1508164309&thumb=__NONE__&streamResolution=1080p&checkFiles=0&tagline=__NONE__&content_rating=__NONE__&genres=+&summary=22%3A45-23%3A30%3A+Europa+hat+Millionen+Feinde.+Nicht+nur+unter+Rechtspopulisten.+%22Br%C3%BCssel%22+ist+zum+Synonym+geworden+f%C3%BCr+undemokratische%2C+arrogante%2C+b%C3%BCrgerferne+und+teure+Entscheidungen.+Das+erfolgreiche+Europa+wird+totgeschwiegen.+Woher+kommt+das+schlechte+Image+und+was+ist+%C3%BCberhaupt+dran%3F+Mit+Europagegnern+und+Europafreunden+unterwegs+auf+der+Suche+nach+der+Wahrheit.%0AProduziert+in+HD%0A23%3A30%3A+Widerstand+unter+Hitler%0A00%3A15%3A+Nachtmagazin%0A00%3A35%3A+Tatort%3A+Der+rote+Schatten%0A02%3A08%3A+Tagesschau%0A&container=1&streamAudio=__NONE__&year=__NONE__&title=Das+Erste+HD%3A+Der+Europa+Check+%28Die+Story+im+Ersten%29&channelType=MovieObject&artist=__NONE__&source_title=22%3A45-23%3A30&streamVideo=__NONE__&fallbackThumb=__NONE__
2017-10-16 23:41:43,793 (7f0419ffb700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/channel
2017-10-16 23:41:43,793 (7f0419ffb700) :  INFO (__init__:585) - Title: Das Erste HD: Der Europa Check (Die Story im Ersten)
2017-10-16 23:41:43,793 (7f0419ffb700) :  INFO (__init__:586) - Type: MovieObject
2017-10-16 23:41:43,793 (7f0419ffb700) :  INFO (__init__:587) - Video: None
2017-10-16 23:41:43,793 (7f0419ffb700) :  INFO (__init__:588) - Audio: None
2017-10-16 23:41:43,793 (7f0419ffb700) :  INFO (__init__:589) - Resolution: 1080p
2017-10-16 23:41:43,797 (7f0419ffb700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2017-10-16 23:41:43,797 (7f0419ffb700) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 3546 bytes
2017-10-16 23:41:43,976 (7f0419ffb700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/channel?rating=__NONE__&streamURL=%2Fstream%2Fchannel%2Fad05e96db31190a02133e314bc23d5b6&art=%2F%3A%2Fplugins%2Fcom.plexapp.plugins.livetvh%2Fresources%2Fart-default.jpg%3Ft%3D1508164309&thumb=__NONE__&streamResolution=1080p&checkFiles=0&tagline=__NONE__&content_rating=__NONE__&genres=+&summary=22%3A45-23%3A30%3A+Europa+hat+Millionen+Feinde.+Nicht+nur+unter+Rechtspopulisten.+%22Br%C3%BCssel%22+ist+zum+Synonym+geworden+f%C3%BCr+undemokratische%2C+arrogante%2C+b%C3%BCrgerferne+und+teure+Entscheidungen.+Das+erfolgreiche+Europa+wird+totgeschwiegen.+Woher+kommt+das+schlechte+Image+und+was+ist+%C3%BCberhaupt+dran%3F+Mit+Europagegnern+und+Europafreunden+unterwegs+auf+der+Suche+nach+der+Wahrheit.%0AProduziert+in+HD%0A23%3A30%3A+Widerstand+unter+Hitler%0A00%3A15%3A+Nachtmagazin%0A00%3A35%3A+Tatort%3A+Der+rote+Schatten%0A02%3A08%3A+Tagesschau%0A&container=1&streamAudio=__NONE__&year=__NONE__&title=Das+Erste+HD%3A+Der+Europa+Check+%28Die+Story+im+Ersten%29&channelType=MovieObject&artist=__NONE__&source_title=22%3A45-23%3A30&streamVideo=__NONE__&fallbackThumb=__NONE__&includeBandwidths=1
2017-10-16 23:41:43,978 (7f0419ffb700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/channel
2017-10-16 23:41:43,978 (7f0419ffb700) :  INFO (__init__:585) - Title: Das Erste HD: Der Europa Check (Die Story im Ersten)
2017-10-16 23:41:43,978 (7f0419ffb700) :  INFO (__init__:586) - Type: MovieObject
2017-10-16 23:41:43,978 (7f0419ffb700) :  INFO (__init__:587) - Video: None
2017-10-16 23:41:43,978 (7f0419ffb700) :  INFO (__init__:588) - Audio: None
2017-10-16 23:41:43,979 (7f0419ffb700) :  INFO (__init__:589) - Resolution: 1080p
2017-10-16 23:41:43,982 (7f0419ffb700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2017-10-16 23:41:43,982 (7f0419ffb700) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 3570 bytes

DVB-T2 profile and transcoding resolution

Hi @taligentx, thank you so much for the fantastic bundle you have created. I was hoping you could tell me how to direct play my DVB-T2 channels. I tried the three different channel tags in the README but the stream fails to play using them. The channels transcodes and plays fine without the tags. Maybe a tag
These are the stream details. Its MPEG-4 AVC video and MPEG 1/2 audio according to VLC

image

Another channel seems to be MPEG-4 AVC with AC3
image

My second question is that I have noticed all channels, even SD channels get transcoded to 1080p, at least that is what my Plex client tells me. Is this for any specific reason? I would assume it use more CPU to trancode/upscale to 1080p than the original resolution. Is it possible to add an option to transcode to the original dimensions?

Thanks again for this
B

New install

With the plugin/channel changes in plex, is there any way to get the channel to actually show up in the UI once you have it configured and installed? I believe I have it all working, but I can't find any way to actually view it from a client.

Channels and Recordings no longer play

This used to work just fine. Occasionally it would not tune to the channel I was trying to watch so I had to tune to a different or previous channel, then tune to the new channel and it would work. Now when trying to watch a channel it either errors out shortly, or just sits and spins trying to load the channel stream. Also I'm getting the error "This plugin is not responding" when I go to the recordings, yet previously (a couple weeks ago) I could go into the recordings and view and play them.

2018-09-12 10:40:54,765 (7fc4876be700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/channel?rating=8.9&streamURL=%2Fstream%2Fchannel%2F7a3d4977a3f1dea07271b73db6e65e24&art=https%3A%2F%2Fapi.thetvdb.com%2Fseries%2F77072%2Fimages%2Fquery%3FkeyType%3Dfanart&thumb=https%3A%2F%2Fapi.thetvdb.com%2Fseries%2F77072%2Fimages%2Fquery%3FkeyType%3Dposter&streamResolution=576p&checkFiles=0&tagline=09%3A59-10%3A59&content_rating=__NONE__&genres=Game+Show&summary=10%3A59%3A+CBS+2+News+at+11%3A00AM%0A11%3A29%3A+The+Young+and+the+Restless%0A12%3A29%3A+The+Bold+and+the+Beautiful%0A12%3A59%3A+The+Talk%0A&container=1&streamAudio=__NONE__&year=__NONE__&title=2.1+CBS2-HD%3A+The+Price+Is+Right++++++++++++++++++++++++++++++++++++++++&channelType=MovieObject&artist=__NONE__&source_title=__NONE__&streamVideo=__NONE__&fallbackThumb=__NONE__&includeConcerts=1&includeExtras=1&includeOnDeck=1&includePopularLeaves=1&includePreferences=1&includeChapters=1&checkFiles=1
2018-09-12 10:40:54,769 (7fc4876be700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/channel
2018-09-12 10:40:54,770 (7fc4876be700) :  INFO (__init__:619) - Title: 2.1 CBS2-HD: The Price Is Right                                        
2018-09-12 10:40:54,770 (7fc4876be700) :  INFO (__init__:620) - Type: MovieObject
2018-09-12 10:40:54,771 (7fc4876be700) :  INFO (__init__:621) - Video: None
2018-09-12 10:40:54,771 (7fc4876be700) :  INFO (__init__:622) - Audio: None
2018-09-12 10:40:54,772 (7fc4876be700) :  INFO (__init__:623) - Resolution: 576p
2018-09-12 10:40:54,781 (7fc4876be700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2018-09-12 10:40:54,781 (7fc4876be700) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 3049 bytes
2018-09-12 10:40:54,837 (7fc4876be700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/stream?streamURL=%2Fstream%2Fchannel%2F7a3d4977a3f1dea07271b73db6e65e24&indirect=1&mediaInfo=%7B%22audio_channels%22%3A%20null%2C%20%22protocol%22%3A%20null%2C%20%22optimized_for_streaming%22%3A%20true%2C%20%22video_frame_rate%22%3A%20null%2C%20%22duration%22%3A%2086400000%2C%20%22height%22%3A%20576%2C%20%22width%22%3A%201024%2C%20%22container%22%3A%20%22mpegts%22%2C%20%22audio_codec%22%3A%20null%2C%20%22aspect_ratio%22%3A%20null%2C%20%22video_codec%22%3A%20null%2C%20%22video_resolution%22%3A%20%22576%22%2C%20%22bitrate%22%3A%20null%7D
2018-09-12 10:40:54,841 (7fc4876be700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/stream
2018-09-12 10:40:54,881 (7fc4a9ffb700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/channel?rating=8.9&art=https%3A%2F%2Fapi.thetvdb.com%2Fseries%2F77072%2Fimages%2Fquery%3FkeyType%3Dfanart&includePreferences=1&year=__NONE__&channelType=MovieObject&genres=Game+Show&container=1&thumb=https%3A%2F%2Fapi.thetvdb.com%2Fseries%2F77072%2Fimages%2Fquery%3FkeyType%3Dposter&title=2.1+CBS2-HD%3A+The+Price+Is+Right++++++++++++++++++++++++++++++++++++++++&tagline=09%3A59-10%3A59&includeChapters=1&streamURL=%2Fstream%2Fchannel%2F7a3d4977a3f1dea07271b73db6e65e24&streamResolution=576p&includeExtras=1&includeConcerts=1&includePopularLeaves=1&streamAudio=__NONE__&source_title=__NONE__&includeOnDeck=1&fallbackThumb=__NONE__&checkFiles=0&content_rating=__NONE__&summary=10%3A59%3A+CBS+2+News+at+11%3A00AM%0A11%3A29%3A+The+Young+and+the+Restless%0A12%3A29%3A+The+Bold+and+the+Beautiful%0A12%3A59%3A+The+Talk%0A&streamVideo=__NONE__&artist=__NONE__
2018-09-12 10:40:54,885 (7fc4a9ffb700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/channel
2018-09-12 10:40:54,885 (7fc4a9ffb700) :  INFO (__init__:619) - Title: 2.1 CBS2-HD: The Price Is Right                                        
2018-09-12 10:40:54,886 (7fc4a9ffb700) :  INFO (__init__:620) - Type: MovieObject
2018-09-12 10:40:54,886 (7fc4a9ffb700) :  INFO (__init__:621) - Video: None
2018-09-12 10:40:54,887 (7fc4a9ffb700) :  INFO (__init__:622) - Audio: None
2018-09-12 10:40:54,887 (7fc4a9ffb700) :  INFO (__init__:623) - Resolution: 576p
2018-09-12 10:40:54,897 (7fc4a9ffb700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2018-09-12 10:40:54,898 (7fc4a9ffb700) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 3049 bytes
2018-09-12 10:41:14,864 (7fc4876be700) :  WARNING (__init__:827) - Tvheadend is not responding to this channel request - verify that there are available tuners: timeout('timed out',)
2018-09-12 10:41:14,865 (7fc4876be700) :  CRITICAL (runtime:889) - Exception (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-21ab172de/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 843, in handle_request
    result = f(**d)
  File "/config/Library/Application Support/Plex Media Server/Plug-ins/LiveTVH.bundle/Contents/Code/__init__.py", line 828, in stream
    raise Ex.MediaNotAvailable
MediaNotAvailable: (2001, 'This media is not currently available.')
2018-09-12 10:41:14,867 (7fc4876be700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2018-09-12 10:41:14,867 (7fc4876be700) :  DEBUG (runtime:924) - Response: [500] 111 bytes
2018-09-12 10:41:26,677 (7fc4876be700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/stream?streamURL=%2Fstream%2Fchannel%2Ff71ad5bb73cb5f8c49bee0f88bf14e3e&indirect=1&mediaInfo=%7B%22audio_channels%22%3A%20null%2C%20%22protocol%22%3A%20null%2C%20%22optimized_for_streaming%22%3A%20true%2C%20%22video_frame_rate%22%3A%20null%2C%20%22duration%22%3A%2086400000%2C%20%22height%22%3A%20576%2C%20%22width%22%3A%201024%2C%20%22container%22%3A%20%22mpegts%22%2C%20%22audio_codec%22%3A%20null%2C%20%22aspect_ratio%22%3A%20null%2C%20%22video_codec%22%3A%20null%2C%20%22video_resolution%22%3A%20%22576%22%2C%20%22bitrate%22%3A%20null%7D
2018-09-12 10:41:26,681 (7fc4876be700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/stream
2018-09-12 10:41:27,723 (7fc4876be700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2018-09-12 10:41:27,724 (7fc4876be700) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 1013 bytes

You'll see in the log the first channel I try to tune to errors out, but the second one which I had previously tuned to doesn't give an error, but Plex doesn't play anything, it just spins trying to load the stream.

I have confirmed these channels work and TVH server is running correctly. I can tune and watch directly from the TVH server page as well as from my Kodi player with the TVH plugin. Unfortunately, there's not much else for logs that I can find in Plex regarding the player or any other errors.

Broken transcoding with plex transcoder

Recently, I think it was a client update, the plex transcoder seems to have a problem processing any TVHeadend stream.
Errors in the Server.log are related to dimensions:

Oct 01, 2017 12:21:28.959 [0x80c24ad00] ERROR - [Transcoder] [mpeg2video @ 0x802616a00] Invalid frame dimensions 0x0.
Oct 01, 2017 12:21:28.988 [0x80c27fb00] ERROR - [Transcoder] [mpeg2video @ 0x802616a00] Invalid frame dimensions 0x0.
Oct 01, 2017 12:21:28.988 [0x80c24ad00] ERROR - [Transcoder] [mpeg2video @ 0x802616a00] Invalid frame dimensions 0x0.

This behavior is consistent over multiple plex clients. User setup for plex is set to 'pass'.
This worked recently, but stopped working.

However, if I select a external player on android, like VLC, the transcoding works just fine as VLC bypasses the plex transcoder and directly streams from TVHeadend.

The problem must therefore be in the plex transcoder.

Anyone having similar issues ? Is this something the plugin is causing ?

Thanks, Tran

PMS and Tvheadend (using LiveTVH) unable to connect

I have a configuration with PMS 1.16 running on a RPI - no issues, can pick up my libraries from NAS etc. TvHeadend running on another RPI with KODI Libreelec and I can use KODI to view live TV through the tuner on this PI. Can also record and view recordings (made through KODI) using Plex.

However in Plex I cannot view EPG or even get LiveTVH to talk to TvHeadend, bundle is in correct directory, plug in is picked up Plex. Settings in plug-in - user on TvHeadend, IP address to connect to, profile to use etc. But LiveTVH does not appear anywhere in Plex other than in the plug-ins list.

I have been trying to set up Live TV/ DVR using the wizard - does not find tuner on TvHeadend server. I feel sure that I had this working at some point, when all on same RPI - but due to performance have split out.

Hope this makes sense, nothing obvious in terms of errors jumps out from logs

Using tags (eg H264-AAC) for direct play only works on local network

Hi @taligentx,

Something I noticed recently. Watching channels with tags works great when I am on my local network but if I am on another network (LAN or mobile) they fail. If I disable the tags Plex transcodes as expected because of "unknown container" and it works fine on other networks. Maybe something to do with UPNP or WAN vs LAN IP address? I watched the console but did not see any errors other that this one...

get - invalid ratingKey value: 668831b0ccbce0ac1d54cb4549a739d6

PlexConnect Support Broken

Having issues playing content via PlexConnect on AppleTV 3. The looking at logs It may be returning an invalid response, here's a copy of the request (I can't capture the response log sorry)

2018-08-03 18:17:34,064 (7f29057fa700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/channel?rating=8.7&streamURL=%2Fstream%2Fchannel%2F6c8eabde912de10075fd2f2a95df497a&art=https%3A%2F%2Fapi.thetvdb.com%2Fseries%2F74582%2Fimages%2Fquery%3FkeyType%3Dfanart&thumb=https%3A%2F%2Fapi.thetvdb.com%2Fseries%2F74582%2Fimages%2Fquery%3FkeyType%3Dposter&streamResolution=576p&checkFiles=0&tagline=__NONE__&content_rating=TV-Y7&genres=Animation%2C+Children&summary=18%3A01-18%3A25%0A18%3A25%3A+Operation+Ouch%21%0A18%3A53%3A+Deadly+60%0A19%3A22%3A+BTN+Newsbreak%0A19%3A30%3A+Miraculous+Tales+Of+Ladybug+And+Cat+Noir%0A19%3A52%3A+Danger+Mouse%0A20%3A05%3A+Slugterra%0A20%3A26%3A+Good+Game+Spawn+Point%0A20%3A51%3A+Voltron%3A+Legendary+Defender%0A&container=1&streamAudio=__NONE__&year=__NONE__&title=23+ABC+ME%3A+Teenage+Mutant+Ninja+Turtles+%28The+Turtles+journey+through+an+ocean-like+area+of+space.%29&channelType=MovieObject&artist=__NONE__&source_title=__NONE__&streamVideo=__NONE__&fallbackThumb=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fen%2Fthumb%2Fa%2Fa2%2FABC_ME_logo.svg%2F1200px-ABC_ME_logo.svg.png
2018-08-03 18:17:34,068 (7f29057fa700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/channel
2018-08-03 18:17:34,068 (7f29057fa700) :  INFO (__init__:619) - Title: 23 ABC ME: Teenage Mutant Ninja Turtles (The Turtles journey through an ocean-like area of space.)
2018-08-03 18:17:34,069 (7f29057fa700) :  INFO (__init__:620) - Type: MovieObject
2018-08-03 18:17:34,069 (7f29057fa700) :  INFO (__init__:621) - Video: None
2018-08-03 18:17:34,069 (7f29057fa700) :  INFO (__init__:622) - Audio: None
2018-08-03 18:17:34,070 (7f29057fa700) :  INFO (__init__:623) - Resolution: 576p
2018-08-03 18:17:34,078 (7f29057fa700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2018-08-03 18:17:34,079 (7f29057fa700) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 3464 bytes

Pagination lacks a back entry

You added the Next button at the end of the page if there are more elements to come, but you forgot the entry at the top to go back.

Disable transcoding

Why it keeps transcoding H264-EAC3 streams?? Direct media is enabled, but it still ignores it and burns the cpu out!

Android errors out, bundle errors

Works great via Web. I purposefully use the passthrough profile so that Plex will transcode everything and to avoid exposting TVH to the internets.

The below error only happens when playing from Android.

2018-01-10 14:08:13,874 (7f18920d7700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2018-01-10 14:08:13,874 (7f18920d7700) :  DEBUG (runtime:924) - Response: [404] NoneType, 0 bytes
2018-01-10 14:08:13,877 (7f18920d7700) :  CRITICAL (runtime:1128) - Exception in thread named '_handle_request' (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-fc63598ba/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1126, in _start_thread
    f(*args, **kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-fc63598ba/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/interfaces/socketinterface.py", line 126, in _handle_request
    self.finish()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-fc63598ba/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/tornado/web.py", line 565, in finish
    self.request.finish()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-fc63598ba/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/tornado/httpserver.py", line 432, in finish
    self.connection.finish()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-fc63598ba/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/tornado/httpserver.py", line 262, in finish
    self._finish_request()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-fc63598ba/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/tornado/httpserver.py", line 272, in _finish_request
    connection_header = self._request.headers.get("Connection")
AttributeError: 'NoneType' object has no attribute 'headers'

2018-01-10 14:08:19,989 (7f18a6ffd700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2018-01-10 14:08:19,989 (7f18a6ffd700) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 902 bytes

Doesn't work with digest auth

I was confused for a few minutes, found I had to set the auth to 'basic' in tvheadend to be able to use this plugin, it was 'digest' by default.

Basic auth should be documented if it is not the default tvheadend setting.

unable to select alternate audio stream

TVHeadend: 4.1-2528~g9fca900d0 on debian jessie
Plex Server: 1.6.1.3722 on debian jessie
LiveTVH: 1.1

Using the plex ios client on an iphone 6, I'm finding that when I look at playback settings, I get an audio stream of Unknown ((null)) and am unable to change it.

This is a pain when the audio channel chosen is the AD channel :)

DVB-S/S2

Hi

I did some testing and found out that IPTV channels work fine on LiveTV (streaming both audio and video), but DVB-S/S2 channels do not stream (both HD and SD channels). They establish a connection with TVheadend but immediately drops (as seen from TVheadend log).

Issue with with DVB-S/S2 channels not being able to stream using LiveTV.

Regards,
Tariq

P.S. i posted this in plex forum as well

A/V sync

I found your bundle and TVHeadEnd after attempting to configure PlexDVR and realizing there's extremely limited live-playback support for now. So first off, thanks for building this!

My issue is audio/video sync when playing back through the plex web interface.

If I use the m3u links directly from TVHeadEnd (ie using VLC player), there are no sync issues. When playing back via the LiveTVH Channel in Plex, I get out of sync very quickly on most channels.

My setup:
Ubuntu 16.04.02 LTS base OS
Hauppauge WinTV-HVR-955Q USB ATSC tuner
Plex Media Server docker container plexinc/pms-docker:plexpass (PMS version 1.7.6.4058)
TVHeadend docker container linuxserver/tvheadend (TVH version is 4.3-295~ga9dffb7e9)
LiveTVH.bundle version 1.2

Thanks for looking!

Exception trace when checking recordings

2018-07-24 11:41:35,844 (7fc293fff700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/recordings
2018-07-24 11:41:35,848 (7fc293fff700) :  DEBUG (networking:161) - Fetching 'http://rockstor:9981/api/dvr/entry/grid_finished' from the HTTP cache
2018-07-24 11:41:35,855 (7fc293fff700) :  DEBUG (networking:161) - Fetching 'http://rockstor:9981/api/channel/grid?start=0&limit=100000' from the HTTP cache
2018-07-24 11:41:35,863 (7fc293fff700) :  DEBUG (networking:161) - Fetching 'https://api.thetvdb.com/search/series?name=The%20Late%20Show%20With%20Stephen%20Colbert' from the HTTP cache
2018-07-24 11:41:35,873 (7fc293fff700) :  DEBUG (networking:161) - Fetching 'https://api.thetvdb.com/series/289574' from the HTTP cache
2018-07-24 11:41:35,876 (7fc293fff700) :  CRITICAL (runtime:889) - Exception (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-200287a06/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 843, in handle_request
    result = f(**d)
  File "/config/Library/Application Support/Plex Media Server/Plug-ins/LiveTVH.bundle/Contents/Code/__init__.py", line 961, in recordings
    artist=artist))
TypeError: channel() takes at least 17 arguments (16 given)

2018-07-24 11:41:35,879 (7fc293fff700) :  DEBUG (runtime:88) - Sending packed state data (592 bytes)
2018-07-24 11:41:35,880 (7fc293fff700) :  DEBUG (runtime:924) - Response: [500] 620 bytes
2018-07-24 11:41:35,883 (7fc293fff700) :  CRITICAL (runtime:1128) - Exception in thread named '_handle_request' (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-200287a06/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1126, in _start_thread
    f(*args, **kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-200287a06/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/interfaces/socketinterface.py", line 126, in _handle_request
    self.finish()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-200287a06/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/tornado/web.py", line 565, in finish
    self.request.finish()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-200287a06/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/tornado/httpserver.py", line 432, in finish
    self.connection.finish()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-200287a06/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/tornado/httpserver.py", line 262, in finish
    self._finish_request()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-200287a06/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/tornado/httpserver.py", line 283, in _finish_request
    self.stream.close()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-200287a06/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/tornado/iostream.py", line 124, in close
    self.socket.close()
AttributeError: 'NoneType' object has no attribute 'close'

Plugin not responding due 401 response for recordings

Hi @taligentx
I upgraded a while back to 1.4 and got the dreaded This Plugin Is Not Responding error. I didn't really have time to troubleshoot so I reverted back to the 1.2 version I had installed previously and everything worked again. Anyway I decided to try again and sure enough I got the same error but looking at the logs I can see that I am connecting to the server but it seems I am getting the error because the plug-in falls over at the point it tried to access the recordings.
I only have one tvh user and it's the admin which I use with the plug-in so I'm not sure why I am getting an unauthorized error but here it is...

2018-11-30 00:02:20,543 (7f2c7a7fc700) :  WARNING (__init__:290) - Unable to retrieve Tvheadend recordings data as UTF-8, falling back to ISO-8859-1: HTTP Error 401: Unauthorized
2018-11-30 00:02:20,556 (7f2c7a7fc700) :  WARNING (__init__:290) - Error retrieving Tvheadend recordings data: HTTP Error 401: Unauthorized
2018-11-30 00:02:20,558 (7f2c7a7fc700) :  CRITICAL (runtime:889) - Exception (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-5a0183d2c/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 843, in handle_request
    result = f(**d)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-5a0183d2c/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/LiveTVH.bundle/Contents/Code/__init__.py", line 290, in MainMenu
    epgUTF8Encoding = False
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-5a0183d2c/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 108, in <lambda>
    _getitem_           = lambda x, y: x.__getitem__(y),
AttributeError: 'NoneType' object has no attribute '__getitem__'

Recordings not working after installing LiveTVH 1.4

After updating to LiveTVH 1.4, I am no longer able to access my recordings through the LiveTVH plugin. When I select the recordings item within the LiveTVH plugin in Plex, it says "This plugin is not responding." I took a look in the log for the LiveTVH plugin and saw this:

2018-10-10 14:12:39,314 (7f0f95ffb700) :  CRITICAL (runtime:889) - Exception (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-10d48da0d/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 843, in handle_request
    result = f(**d)
  File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/LiveTVH.bundle/Contents/Code/__init__.py", line 1026, in recordings
    tvhCodecTags=tvhCodecTags,
NameError: global name 'tvhCodecTags' is not defined

I am running Plex Version 3.67.1 and Tvheadend 4.2.6-79~g0678cb1ad on Debian 9.5. I was able to access the recordings fine on an older version of LiveTVH before I updated to LiveTVH 1.4.

Plex for Android (mobile) has broken playback

Hi,

Just an FYI as it's not an issue but could be fixable. I'm not sure if it was accidental or intentional but version 6.10 and onward of Plex for Android causes an error in playback using LiveTVH. The channel list is accessible bit playing any of them causes an error "playback stopped"

I created a thread for it on the Plex forum and tagged Plex people but it is being ignored so I'm guessing it was intentional

https://forums.plex.tv/discussion/299097/latest-version-6-10-2-2954-causing-error-playback-has-stopped

Recordings unavailable

When I click on the "recordings" entry at the bottom of the channel list it tries to load and then displays a simple text error that says "This plugin is not responding." I can watch any of the other channels and the configuration is setup correctly to talk to my TVH server. I have the plugin configured to use an internal IP address for the TVH server.

Setup:
Synology NAS host

  • Plex docker container (official Plex image)
    • net=host
    • running as user "plex"
    • no plex pass
  • TVH docker container (linuxserver.io image)
    • port mapping 9981 and 9982
    • user has proper permissions in TVH to use web interface and view/create recordings
    • ATSC tuner

Relevant entry in the log:

2018-07-18 13:16:17,874 (7f1ebe7fc700) :  DEBUG (runtime:717) - Handling request GET /video/livetvh/recordings?tvhVideoTags=%7B%7D&tvhAudioTags=%7B%7D
2018-07-18 13:16:17,878 (7f1ebe7fc700) :  DEBUG (runtime:814) - Found route matching /video/livetvh/recordings
2018-07-18 13:16:17,886 (7f1ebe7fc700) :  DEBUG (networking:166) - Requesting 'http://192.168.1.95:9981/api/dvr/entry/grid_finished'
2018-07-18 13:16:17,911 (7f1ebe7fc700) :  WARNING (__init__:914) - Error retrieving Tvheadend recordings data: 'utf8' codec can't decode byte 0xe9 in position 56: invalid continuation byte
2018-07-18 13:16:17,918 (7f1ebe7fc700) :  DEBUG (networking:166) - Requesting 'http://192.168.1.95:9981/api/channel/grid?start=0&limit=100000'
2018-07-18 13:16:17,940 (7f1ebe7fc700) :  CRITICAL (runtime:889) - Exception (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-2e6e8f841/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 843, in handle_request
    result = f(**d)
  File "/config/Library/Application Support/Plex Media Server/Plug-ins/LiveTVH.bundle/Contents/Code/__init__.py", line 918, in recordings
    title = title + ' (' + tvhRecording['disp_subtitle'] + ')'
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-2e6e8f841/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 108, in <lambda>
    _getitem_           = lambda x, y: x.__getitem__(y),
AttributeError: 'NoneType' object has no attribute '__getitem__'

2018-07-18 13:16:17,943 (7f1ebe7fc700) :  DEBUG (runtime:88) - Sending packed state data (108 bytes)
2018-07-18 13:16:17,944 (7f1ebe7fc700) :  DEBUG (runtime:924) - Response: [500] 902 bytes

Audio only channels won't play

Plexmediaserver 1.5.5.3634
HTS Tvheadend 4.0.9

Trying to play radio channels that do not contain a video stream works with VLC as the client, but when using this plugin, the Plex transcoder has a problem when it sees no video stream.

from Plex Media Server.log-
`May 25, 2017 12:19:33.726 [0x80b099800] VERBOSE - * User-Agent => Lavf/57.57.100

May 25, 2017 12:19:33.726 [0x80b099800] VERBOSE - * Accept => /

May 25, 2017 12:19:33.726 [0x80b099800] VERBOSE - * Range => bytes=0-

May 25, 2017 12:19:33.726 [0x80b099800] VERBOSE - * Connection => close

May 25, 2017 12:19:33.726 [0x80b099800] VERBOSE - * Host => 127.0.0.1:32400

May 25, 2017 12:19:33.726 [0x80b099800] VERBOSE - * Icy-MetaData => 1

May 25, 2017 12:19:33.726 [0x80b099800] VERBOSE - * X-Plex-Token => xxxxxxxxxxxxxxxxxxxx

May 25, 2017 12:19:33.726 [0x80b099800] VERBOSE - * channels => 2

May 25, 2017 12:19:33.726 [0x80b099800] VERBOSE - * codec => ac3

May 25, 2017 12:19:33.726 [0x80b099800] VERBOSE - * id => 1255

May 25, 2017 12:19:33.726 [0x80b099800] VERBOSE - * index => 0

May 25, 2017 12:19:33.726 [0x80b099800] VERBOSE - * layout => 3

May 25, 2017 12:19:33.726 [0x80b099800] VERBOSE - * sampleRate => 48000

May 25, 2017 12:19:33.726 [0x80b099800] VERBOSE - * type => audio

May 25, 2017 12:19:33.726 [0x809572400] DEBUG - Completed: [127.0.0.1:49395] 206 PUT /video/:/transcode/session/qjp01sgzqnsqyqfrlogwerjj/progress/streamDetail?index=0&id=1255&codec=ac3&type=audio&channels=2&layout=3&sampleRate=48000 (5 live) 0ms 227 bytes

May 25, 2017 12:19:33.727 [0x80b09cc00] ? - [Transcoder] Stream specifier ':V:0' in filtergraph description [0:V:0]scale=w=min(1920,iw):h=min(1080,ih):force_original_aspect_ratio=decrease,format=pix_fmts=yuv420p|nv12[0] matches no streams.

May 25, 2017 12:19:33.728 [0x80a39cc00] VERBOSE - JobManager: child process with PID 86367 exited

May 25, 2017 12:19:33.728 [0x80a39cc00] ERROR - JobManager: child process returned: 1 (Operation not permitted)
`

and here is the com.plexapp.plugins.livetvh.log-
`2017-05-25 12:41:00,996 (805dcec00) : DEBUG (runtime:814) - Found route matching /video/livetvh/stream

2017-05-25 12:41:00,997 (805dcec00) : DEBUG (networking:233) - Fetching HTTP headers for 'http://192.168.1.158:9981/stream/channel/aac2ff9d7a66989039fc80416789af7d'

2017-05-25 12:41:01,579 (805dcec00) : DEBUG (runtime:88) - Sending packed state data (108 bytes)

2017-05-25 12:41:01,580 (805dcec00) : DEBUG (runtime:924) - Response: [200] MediaContainer, 906 bytes

2017-05-25 12:41:01,602 (805d2e800) : DEBUG (runtime:717) - Handling request GET /video/livetvh/channel?rating=NONE&streamURL=%2Fstream%2Fchannel%2Faac2ff9d7a66989039fc80416789af7d&source_title=NONE&uuid=aac2ff9d7a66989039fc80416789af7d&checkFiles=0&tagline=NONE&content_rating=NONE&genres=+&summary=NONE&container=1&title=64+105C%2F3740H%2F%7BPMT%3A1064%7D&year=NONE&art=%2F%3A%2Fplugins%2Fcom.plexapp.plugins.livetvh%2Fresources%2FLiveTVH-art.jpg%3Ft%3D1495719308&channelType=MovieObject&fallbackThumb=NONE&streamCodec=NONE&thumb=NONE&includeBandwidths=1

2017-05-25 12:41:01,603 (805d2e800) : DEBUG (runtime:814) - Found route matching /video/livetvh/channel

2017-05-25 12:41:01,606 (805d2e800) : DEBUG (runtime:88) - Sending packed state data (108 bytes)

2017-05-25 12:41:01,606 (805d2e800) : DEBUG (runtime:924) - Response: [200] MediaContainer, 2249 bytes

2017-05-25 12:41:11,723 (805dcf000) : DEBUG (runtime:717) - Handling request GET /video/livetvh/channel?rating=NONE&streamURL=%2Fstream%2Fchannel%2Faac2ff9d7a66989039fc80416789af7d&source_title=NONE&uuid=aac2ff9d7a66989039fc80416789af7d&checkFiles=0&tagline=NONE&content_rating=NONE&genres=+&summary=NONE&container=1&title=64+105C%2F3740H%2F%7BPMT%3A1064%7D&year=NONE&art=%2F%3A%2Fplugins%2Fcom.plexapp.plugins.livetvh%2Fresources%2FLiveTVH-art.jpg%3Ft%3D1495719308&channelType=MovieObject&fallbackThumb=NONE&streamCodec=NONE&thumb=NONE&includeBandwidths=1
`

I had the same issue with a different plex-tvheadend plugin called TvplexendChannel, with a slightly different error in the Plex Media Server.log-
[Transcoder] Stream map '0:V:0' matches no streams. To ignore this, add a trailing '?' to the map.
[https://github.com/pgaubatz/TvplexendChannel.bundle/issues/19]

Is there any way audio only channels could work with this plugin?
Thanks!

LiveTVH no longer visible since recent months

Using Plex server version 1.14.1.5488 on ArchLinux and most current clients on Android. Since Plex changed their layout some months ago I'm not seeing LiveTVH in Plugins part of UI at all anymore. I am seeing other plugins like NGC. The LiveTVH.bundle folder is located in /var/lib/plex/Plex Media Server/Plug-ins. Permissions of that folder and content have Plex as their owner and are accessible to the server. I'm wondering if others share this experience.

EDIT: After a complete reinstall of PMS and LiveTVH bundle it is showing up and working again. Still don't understand what was wrong with it to begin with

Install but nothing works ?

Hello there so to install :

sudo -s
cd /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins
git clone https://github.com/taligentx/LiveTVH.bundle

Now go to plex :

parameter -- extension LiveTVH

image

add u user name and password tvheadend :

image

go un web page plex :

image

i can't see the plugin how to activate it please ?

nothing in my home page
image

thanks

plex transcoder process not closed

Sometimes after reproduce a channel the plex trasncoder process is still "transcoding/transmuxing" so you need to close manually.
kill -9 xxxx

Play back only lasts for 10 minutes

Great plugin all working really well, Apart from when i open a stream in Plex it only lasts 10 minutes then plex closes the connection as if its only a 10min file, How do i increase this or trick plex into thinking its say 5 hours long? cant seem to figure out if this is a problem with my server or on the app its self because i have no idea where i would go to change this on my server

Transcoder fails to stop when Plex Web stops playback

Hi there,
thanks for this great plugin.

I finally was able to get everythjing working. Just some things:

1.) Android Plex (mobile) can only be played if u activate (settings -> advanced settings -> use android player)
Is this intentional? If so, it should be postet in the readme

2.) When i watch via browser (PC) over plex, tvheadend doesnt seem to get a "viewer closed stream" notice, and it "timeouts?" after 5 min.
Since i only have one LMB, this means i need to wait 5 min everytime i switch a channel... which is, ofc, very annoying. On Mobile (with android player actiavted in plex app) this is not happening, and as soon as i close, tvheadend closes the stream and i cant switch to another channel.

3.) This does not work atall on fire tv stick (the old one atleast) - dont know if newer work - i guess its also because of this "use android player" thing, but you cant activate this on the plex app for fire tv stick... <- this was the main reason for this whole thing for me :(

If you need anything, i can provide, but i guess, these errors are known?!

Feature Request: Use separate Tags for Audio and Video Codecs

I really like the idea of identifying codecs via tags in TVheadend.
However of your combinations only the Mpeg2 one is useful to me.

We have MPEG2 with AC3 for 5.1 and MPEG2-Audio for Stereo in SD channels and have H264 with AC3 for HD channels (there's different channels for 5.1 and Stereo, but all encoded in AC3)

As maintaining a list of all the different possible combinations is quite cumbersome, I'd like to suggest dynamically setting the Audio/Video codecs depending on the Tags instead.

Off-Topic:
This is one of the first Plex Plugins I've stumbled across that actually looks maintainable by external people. Most of the others have so mangled up code that most likely only the original author could understand it.

No channel available, error when saving prefs

Hey there !

In plex even if I put correct auth info, I still cant see any of my chans

Here what is logged inside the log file:

File "/config/Library/Application Support/Plex Media Server/Plug-ins/LiveTVH.bundle/Contents/Code/__init__.py", line 75, in setPrefs
    tvhRealm = (re.search("realm=\"[^\"]*", tvhAuthInfo).group(0).split('"'))[1]
  File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/re.py", line 146, in search
    return _compile(pattern, flags).search(string)
TypeError: expected string or buffer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.