Kodi 17 pvr.mythtv and hdhomerun HDHR3-US
#1
I've updated to the latest firmware, 20161117, for my HDHR3-US and have a reproducible problem.
I can play once but only once, until I restart the HDHR3-US device.
I've tried doing a reset installation but the I get the same behaviour. I reproduced the issue on an Ubuntu based Kodi player and a player running on an Nvidia Shield
1. Reset the hdhome run
2. start mythtvbackend
3. start Kodi and play a channel - This will work
4 select stop
5 Try playing the same channel -- Channel Unavailable.

Below is the MythTV log
2017-02-12 15:39:58.506813 I TVRec[13]: Changing from None to WatchingLiveTV
2017-02-12 15:39:58.509528 I TVRec[13]: TuningFrequency
2017-02-12 15:39:58.517269 N AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 14 min
2017-02-12 15:39:58.524887 N ApplyRecordRecGroupChange: LiveTV to LiveTV (2)
2017-02-12 15:40:00.030081 N DTVSigMon[13](103B3E0A-0): PMT says program 3 is encrypted
2017-02-12 15:40:00.180481 N AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 14 min
2017-02-12 15:40:00.188968 N ApplyRecordRecGroupChange: LiveTV to LiveTV (2)
2017-02-12 15:40:00.189555 I TVRec[13]: TuningNewRecorder - CreateRecorder()
2017-02-12 15:40:00.189699 E RecBase[13](103B3E0A-0): SetStrOption(...recordingtype): Option not in profile.
2017-02-12 15:40:01.708905 I MainServer: MainServer::ANN Monitor
2017-02-12 15:40:01.708918 I MainServer: adding: bxp(21c0dd0) as a client (events: 0)
2017-02-12 15:40:01.709951 I MainServer: MainServer::ANN Monitor
2017-02-12 15:40:01.709964 I MainServer: adding: bxp(21a8010) as a client (events: 1)
2017-02-12 15:40:01.733443 I MainServer: MainServer::ANN Monitor
2017-02-12 15:40:01.733453 I MainServer: adding: bxp(2199590) as a client (events: 0)
2017-02-12 15:40:01.734096 I MainServer: MainServer::ANN Monitor
2017-02-12 15:40:01.734106 I MainServer: adding: bxp(21d7640) as a client (events: 1)
2017-02-12 15:40:02.958352 I Monitor sock(21c0dd0) 'bxp' disconnected
2017-02-12 15:40:02.958585 I Monitor sock(21a8010) 'bxp' disconnected
2017-02-12 15:40:02.982148 I Monitor sock(2199590) 'bxp' disconnected
2017-02-12 15:40:02.982348 I Monitor sock(21d7640) 'bxp' disconnected
2017-02-12 15:40:02.982620 E Preview: Encountered problems running '/usr/bin/mythpreviewgen --size 0x0 --chanid 2061 --starttime 20170212204000 --outfile /home/mythtv/recordings/2061_20170212204000.ts.png' - (128)
2017-02-12 15:40:03.032699 E Preview: Encountered problems running '/usr/bin/mythpreviewgen --size 0x0 --chanid 2061 --starttime 20170212204000 --outfile /home/mythtv/recordings/2061_20170212204000.ts.png' - (128)
2017-02-12 15:40:03.545063 I TVRec[13]: Changing from WatchingLiveTV to None
2017-02-12 15:40:03.563929 N Finished Recording: Container: MPEG2-TS Video Codec: mpeg2video (1920x1080 A/R: 3 29.97fps) Audio Codec: ac3
2017-02-12 15:40:03.564498 I TVRec[13]: FinishedRecording(2061_2017-02-12T20:40:00Z) damaged recq:<RecordingQuality overall_score="0" key="2061_2017-02-12T20:40:00Z" countinuity_error_count="0" packet_count="2266">
<Gap start="2017-02-12T20:30:00Z" end="2017-02-12T20:40:00Z" duration="600" />
<Gap start="2017-02-12T20:40:03Z" end="2017-02-12T21:00:00Z" duration="1196" />
</RecordingQuality>

2017-02-12 15:40:09.488563 I MainServer: MainServer::ANN Monitor
2017-02-12 15:40:09.488659 I MainServer: adding: bxp(219a210) as a client (events: 0)
2017-02-12 15:40:09.488893 I MainServer: MainServer::ANN Monitor
2017-02-12 15:40:09.488903 I MainServer: adding: bxp(21b2c10) as a client (events: 0)
2017-02-12 15:40:09.489339 I MainServer: MainServer::ANN Monitor
2017-02-12 15:40:09.489348 I MainServer: adding: bxp(21a85d0) as a client (events: 1)
2017-02-12 15:40:09.490520 I MainServer: MainServer::ANN Monitor
2017-02-12 15:40:09.490535 I MainServer: adding: bxp(2194010) as a client (events: 1)
2017-02-12 15:40:09.553374 I Playback sock(2153500) 'localhost' disconnected
2017-02-12 15:40:09.553513 I Monitor sock(219c590) 'localhost' disconnected
2017-02-12 15:40:09.553940 I FileTransfer sock(21c7fb0) disconnected
2017-02-12 15:40:19.717199 I Monitor sock(21c2d80) 'localhost' disconnected
2017-02-12 15:40:20.663596 I Playback sock(21971f0) 'localhost' disconnected
2017-02-12 15:40:20.663628 I Monitor sock(21b8fb0) 'localhost' disconnected
2017-02-12 15:40:32.508319 I Monitor sock(219a210) 'bxp' disconnected
2017-02-12 15:40:32.508533 I Monitor sock(21a85d0) 'bxp' disconnected
2017-02-12 15:40:32.605715 I Monitor sock(21b2c10) 'bxp' disconnected
2017-02-12 15:40:32.606071 I Monitor sock(2194010) 'bxp' disconnected
2017-02-12 15:40:32.868114 I MainServer: MainServer::ANN Monitor
2017-02-12 15:40:32.868123 I MainServer: adding: bxp(219c590) as a client (events: 0)
2017-02-12 15:40:32.868550 I MainServer: MainServer::ANN Monitor
2017-02-12 15:40:32.868558 I MainServer: adding: bxp(20ea590) as a client (events: 1)
2017-02-12 15:40:32.987220 I MainServer: MainServer::ANN Monitor
2017-02-12 15:40:32.987230 I MainServer: adding: bxp(21ee0e0) as a client (events: 0)
2017-02-12 15:40:32.987846 I MainServer: MainServer::ANN Monitor
2017-02-12 15:40:32.987855 I MainServer: adding: bxp(219a5b0) as a client (events: 1)
2017-02-12 15:40:40.943597 N Expiring 0 MB for 2061 at 2017-02-12T20:35:13Z => "Disaster Decks":"The Deck Alicia Hates"
2017-02-12 15:40:40.943658 N Expiring 0 MB for 2061 at 2017-02-12T20:35:15Z => "Disaster Decks":"The Deck Alicia Hates"
2017-02-12 15:40:43.952791 N DeleteRecordedFiles - recording id 10440 filename /home/mythtv/recordings/2061_20170212203513.ts
2017-02-12 15:40:43.953377 N DoDeleteINDB - recording id 10440 (chanid 2061 at 2017-02-12T20:35:13Z)
2017-02-12 15:40:44.955273 C ProgramInfo(): Failed to find recorded entry for 10440.
2017-02-12 15:40:44.955895 C ProgramInfo(): Failed to find recorded entry for 10440.
2017-02-12 15:40:44.959686 C ProgramInfo(): Failed to find recorded entry for 10440.
Reply
#2
I would start with trying the same thing with MythTV Frontend. If it doesn't work there this is not a Kodi problem.
Reply
#3
Thank you for the suggestion. The MythTV Frontend works fine.
Reply
#4
I'm thinking it's got something to do with SMB file sharing. Unless I'm mistaken, recordings are attached as a file share and then played, I don't think the PVR plugin does much after handing Kodi a network path to play. I think this is how playback of recordings works, but I could be wrong or things could be different now.

Sent from my Moto G (4)
Experience: It's what you get when you were expecting something else.
Reply
#5
I get the same results when I test my Kodi installation on the same box as my mythtv installation. The problem started just after the latest firmware was installed on my HDHR3 I suspect there has been a change in the behaviour when the disconnect command is issued by the mythtv.pvr client.

When I restart the HDHR3 and mythtv the channel lock is achieved almost immediately. If I stop playing and try to reconnect the same channel it takes 15-20 seconds to channel lock.

Also, if I use the HDHOME run add on the channel locks almost instantaneously.
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi 17 pvr.mythtv and hdhomerun HDHR3-US0