No worries, I can set up a second RECORD instance and check it out. Whether or not it happens will depend on which storage engine the PVR database decided to return first. It's not ordered by anything specific. Design flaw

Moderator: TVJunkie198
No worries, I can set up a second RECORD instance and check it out. Whether or not it happens will depend on which storage engine the PVR database decided to return first. It's not ordered by anything specific. Design flaw
I started up a second storage engine so my odds of it picking the wrong one would be better.
Code: Select all
2020-01-30 12:09:00.715 T:140226799471296 NOTICE: VideoPlayer::OpenFile: pvr://channels/tv/All channels/pvr.hdhomerundvr_12289.pvr
2020-01-30 12:09:00.716 T:140224957712128 NOTICE: Creating InputStream
2020-01-30 12:09:00.721 T:140224957712128 ERROR: AddOnLog: HDHomeRun DVR PVR Client: openlivestream_storage_http: unable to stream channel 3.1 via storage engine url http://192.168.1.3:43214/auto/v3.1?ClientID=d51e8f31-57ca-46cf-958a-853ba0a1a7ba&SessionID=0xE02DCE4C: HTTP 503: Service Unavailable
2020-01-30 12:09:00.941 T:140224957712128 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: openlivestream_tuner_http: streaming channel 3.1 via tuner device url http://192.168.1.42:5004/tuner1/v3.1
2020-01-30 12:09:00.941 T:140224957712128 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: OpenLiveStream: mediatype = video/mpeg
2020-01-30 12:09:00.941 T:140224957712128 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: OpenLiveStream: canseek = false
2020-01-30 12:09:00.941 T:140224957712128 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: OpenLiveStream: length = -1
2020-01-30 12:09:00.941 T:140224957712128 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: OpenLiveStream: realtime = true
2020-01-30 12:09:00.941 T:140224957712128 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: OpenLiveStream: starttime = 1580404140 (epoch) = Thu Jan 30 12:09:00 2020 (local)
2020-01-30 12:09:00.941 T:140224957712128 NOTICE: Creating Demuxer
2020-01-30 12:09:01.019 T:140224957712128 NOTICE: Opening stream: 0 source: 256
2020-01-30 12:09:01.019 T:140224957712128 WARNING: OpenStream - Unsupported stream 0. Stream disabled.
2020-01-30 12:09:01.019 T:140224957712128 NOTICE: Opening stream: 1 source: 256
2020-01-30 12:09:01.019 T:140224957712128 NOTICE: Finding audio codec for: 86019
2020-01-30 12:09:01.020 T:140224957712128 NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder ac3
2020-01-30 12:09:01.020 T:140224957712128 NOTICE: Creating audio thread
2020-01-30 12:09:01.020 T:140224768239360 NOTICE: running thread: CVideoPlayerAudio::Process()
2020-01-30 12:09:01.079 T:140224957712128 NOTICE: CDVDDemuxFFmpeg::Read() stream change
2020-01-30 12:09:01.079 T:140224957712128 NOTICE: Opening stream: 0 source: 256
2020-01-30 12:09:01.079 T:140224957712128 WARNING: OpenStream - Unsupported stream 0. Stream disabled.
2020-01-30 12:09:01.079 T:140224957712128 NOTICE: Opening stream: 1 source: 256
2020-01-30 12:09:01.591 T:140224957712128 NOTICE: CDVDDemuxFFmpeg::Read() stream change
2020-01-30 12:09:01.591 T:140224957712128 NOTICE: Opening stream: 0 source: 256
2020-01-30 12:09:01.591 T:140224957712128 NOTICE: Creating video codec with codec id: 2
2020-01-30 12:09:01.591 T:140224957712128 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-2 video
2020-01-30 12:09:01.591 T:140224957712128 NOTICE: Creating video thread
2020-01-30 12:09:01.591 T:140224957712128 NOTICE: Opening stream: 1 source: 256
2020-01-30 12:09:01.591 T:140224957712128 NOTICE: Finding audio codec for: 86019
2020-01-30 12:09:01.591 T:140224957712128 NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder ac3
2020-01-30 12:09:01.595 T:140224566912768 NOTICE: running thread: video_thread
2020-01-30 12:09:01.600 T:140224743061248 NOTICE: COutput::OnStartup: Output Thread created
2020-01-30 12:09:01.684 T:140224726275840 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: update_listings_task: triggering timer update
2020-01-30 12:09:01.684 T:140224726275840 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: update_listings_task: scheduling next listing update to initiate in 91097 seconds
2020-01-30 12:09:01.789 T:140224768239360 NOTICE: Creating audio stream (codec id: 86019, channels: 6, sample rate: 48000, no pass-through)
2020-01-30 12:09:02.019 T:140226799471296 NOTICE: GL: Selecting YUV 2 RGB shader
2020-01-30 12:09:02.019 T:140226799471296 NOTICE: GL: NPOT texture support detected
2020-01-30 12:09:02.020 T:140226799471296 NOTICE: GL: Using GL_ARB_pixel_buffer_object
2020-01-30 12:09:02.020 T:140226799471296 NOTICE: Using GL_TEXTURE_2D
2020-01-30 12:09:02.021 T:140226799471296 NOTICE: GL: Selecting YUV 2 RGB shader
2020-01-30 12:09:02.021 T:140226799471296 NOTICE: GL: NPOT texture support detected
2020-01-30 12:09:02.021 T:140226799471296 NOTICE: GL: Using GL_ARB_pixel_buffer_object
2020-01-30 12:09:02.599 T:140224566912768 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2020-01-30 12:09:03.538 T:140224566912768 WARNING: Previous line repeats 1 times.
2020-01-30 12:09:03.538 T:140224566912768 NOTICE: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 33366
2020-01-30 12:09:04.877 T:140224566912768 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
Code: Select all
ERROR: AddOnLog: HDHomeRun DVR PVR Client: openlivestream_storage_http: unable to stream channel 781 via storage engine url http://192.168.0.174:55799/auto/v781?ClientID=035c35ef-942b-4e83-8a32-55619044bd87&SessionID=0x95604477: HTTP 503: Service Unavailable
NOTICE: AddOnLog: HDHomeRun DVR PVR Client: openlivestream_storage_http: streaming channel 781 via storage engine url http://192.168.0.220:39476/auto/v781?ClientID=035c35ef-942b-4e83-8a32-55619044bd87&SessionID=0xF3E4C3A9
NOTICE: AddOnLog: HDHomeRun DVR PVR Client: OpenLiveStream: mediatype = video/mpeg
NOTICE: AddOnLog: HDHomeRun DVR PVR Client: OpenLiveStream: canseek = true
NOTICE: AddOnLog: HDHomeRun DVR PVR Client: OpenLiveStream: length = -1
NOTICE: AddOnLog: HDHomeRun DVR PVR Client: OpenLiveStream: realtime = true
NOTICE: AddOnLog: HDHomeRun DVR PVR Client: OpenLiveStream: starttime = 1580525682 (epoch) = Fri Jan 31 21:54:42 2020 (local)
Sounds good. I'll give it a try.djp952 wrote: ↑Fri Jan 31, 2020 8:06 pm As for the priority problem, what I think I will do is have it order by storage ID. So if you want the PVR to normally hit a specific storage device, give it an (alphabetically) LOWER storage ID. I think that's the best I can really do. Folks with multiple RECORD engines running and have been setting things like RecordMaxStreams are probably going to comfortable enough with changing a UUID.
Kodi -> Settings -> PVR & Live TV -> General -> Use channel order from backends (you might need to turn the settings on "Advanced" to expose this setting)ctviggen wrote: ↑Sat Feb 01, 2020 4:26 pm I have installed this, and it seems to work well with "normal" Kodi (I'm going to try to install with Emby and an Emby skin; I'm not sure how that will go).
My only issue is that the channel mapping is totally messed up. Channel 727 (in the HD Homerun Prime) comes in at a completely different channel. Any idea why that might be?
Thanks NedS!NedS wrote: ↑Sat Feb 01, 2020 4:29 pmKodi -> Settings -> PVR & Live TV -> General -> Use channel order from backends (you might need to turn the settings on "Advanced" to expose this setting)ctviggen wrote: ↑Sat Feb 01, 2020 4:26 pm I have installed this, and it seems to work well with "normal" Kodi (I'm going to try to install with Emby and an Emby skin; I'm not sure how that will go).
My only issue is that the channel mapping is totally messed up. Channel 727 (in the HD Homerun Prime) comes in at a completely different channel. Any idea why that might be?
Then select "Clear data" to force it to reload the channel list.
Bonus feature!
Thanks to both of you. I installed so many things yesterday, I can't remember what was being done when. (When I tried to upgrade my previous HT computer from Win7 -> Win10, it ceased to want to boot; I finished buying parts for a HT case I had been thinking of using, and of course did not have time to install the OS until Friday night. My kids were putting tons of pressure on my to get TV working again before the Super Bowl!)djp952 wrote: ↑Sat Feb 01, 2020 4:54 pmThanks NedS!NedS wrote: ↑Sat Feb 01, 2020 4:29 pmKodi -> Settings -> PVR & Live TV -> General -> Use channel order from backends (you might need to turn the settings on "Advanced" to expose this setting)ctviggen wrote: ↑Sat Feb 01, 2020 4:26 pm I have installed this, and it seems to work well with "normal" Kodi (I'm going to try to install with Emby and an Emby skin; I'm not sure how that will go).
My only issue is that the channel mapping is totally messed up. Channel 727 (in the HD Homerun Prime) comes in at a completely different channel. Any idea why that might be?
Then select "Clear data" to force it to reload the channel list.
ctviggen , also set "Use channel numbers from backend" while you're in there![]()
Note that if you have multiple PVR addons installed, that setting won't work and you will still see "1, 2, 3, ...". To combat this there is a PVR addon setting under General called "Prepend channel numbers to channel names". What this does is modify the channel name to include the number, for example "WBAL-DT" would become "511 WBAL-DT". Could come in handy!