taligentx / LiveTVH.bundle

Live TV streaming with Plex and Tvheadend
GNU General Public License v3.0
105 stars 19 forks source link

PlexConnect Support Broken #28

Open ned-kelly opened 6 years ago

ned-kelly commented 6 years ago

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
taligentx commented 6 years ago

Hi @david-nedved - the player logs would be the best source to see why it isn't playing. You can also turn on debug logging within PMS and capture the PMS logs.

You can also try direct streaming by setting the video resolution, video codec, and audio codec as channel tags in Tvheadend.

ned-kelly commented 6 years ago

Hi @taligentx thank's for replying so quickly! Debugging is turned on (The logs I've posted are from the LiveTVH logs dir within PMS, so that's really all I can find that's directly related to LiveTVH sorry), I'm pretty sure something's funny happening with the Response: [200] MediaContainer - Even though it's a 200 OK, perhaps it's sending back the video in a format unsupported by the ATV3?

As for direct stream, the codecs from my Silicondust HD Homerun are not supported on the ATV3 see here for the ATV 3 supported codecs - So the only profile that I can confirm works from TVHeadend (tested via the IPTV.bundle plugin which I want to ditch for LiveTVH) is the twebtv-h264-aac-mpegts profile.

Happy to do a screen-share if you want, my whole media server's also in docker, so can send you the docker compose files if you want to stand up the same environment.