OLD: Unofficial Kodi PVR Client for HDHomeRun DVR subscribers

Kodi Community Development

Moderator: TVJunkie198

Locked
lovemyram4x4
Posts: 206
Joined: Thu Jun 02, 2011 5:45 pm

Re: Unofficial Kodi PVR Client for HDHomeRun DVR subscribers

Post by lovemyram4x4 »

Yeah I wouldn't expect anything to happen very fast from Kodi. At least you've figured out what's going on an hopefully you can at least improve on the issue from your end.

I'm going to have to root both of my shields so I can run you DVR SPMC(I actually prefer it over Kodi anyways) since we can't seem to get them to fix the EDL stuff they screwed up in 17. My 2017 Shield is going to be tougher to root since I had to use a USB drive for added storage and need both USB ports in order to root.

Online
djp952
Posts: 1188
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD USA

Re: Unofficial Kodi PVR Client for HDHomeRun DVR subscribers

Post by djp952 »

I try to avoid doing this, but I have a 'beta' version for 1.0.10 (build 6366) that I'm hoping alleviates the UI lock-up issue, if you guys want to try it. Krypton 17.x only, shared files on OneDrive rather than GitHub:

https://1drv.ms/f/s!AgEGEEVzGNq-idlrRO92vX83moXtLg

Since there is just no way to reliably know when Kodi is done doing what it's doing where I found the deadlock, I've tried simply just deferring things for a few seconds, and made that configurable via the 'Advanced' PVR add-on config tab. Default is 3 seconds, can be adjusted as low as 1 second and as high as 10 for now.

The other new piece here is that I created a special discovery task that discovers everything and then only asks Kodi to do it's thing once per category (channels, channel groups, recordings, timers, guide). I use this new task during startup, wake from sleep, and if you click the 'Reset discovery database' PVR Client Specific setting. The periodic tasks tend to request updates to more than one thing at a time since they cycle at different times, this greatly reduces the amount of work Kodi needs to do when everything is being updated anyway.

These changes slow things down a bit more during startup, hopefully 3-4 seconds is enough to get around the deadlock yet not so much that it's annoying. This will be trial and error.

lovemyram4x4
Posts: 206
Joined: Thu Jun 02, 2011 5:45 pm

Re: Unofficial Kodi PVR Client for HDHomeRun DVR subscribers

Post by lovemyram4x4 »

I got it install on my family room Shield TV(didn't change any settings), will let you know this evening if it's still going later today.

Online
djp952
Posts: 1188
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD USA

Re: Unofficial Kodi PVR Client for HDHomeRun DVR subscribers

Post by djp952 »

lovemyram4x4 wrote:
Tue Jun 06, 2017 10:21 am
I got it install on my family room Shield TV(didn't change any settings), will let you know this evening if it's still going later today.
Awesome thanks!

For what it's worth, I reinstalled Windows 10 on that Celeron PC I have, and it's significantly improved. So far no problems getting Kodi started up, and it's not dragging butt during it's "PVR is initializing" stuff like it was. I am also going to try on my Android tablet, I ran into a couple problems with that trying to duplicate this as well.

That said, I did not try to address anything with the periodic updates (yet?). I suspect any problems with lock-ups when the periodic tasks kick off may persist for you. I haven't found anything specific on that, but now that I understand more about how Kodi deals with the PVR and EPG updates, it could be as simple as preventing EPG updates from happening at the same time as non-EPG updates; this seems to be the biggest deadlock risk.

lovemyram4x4
Posts: 206
Joined: Thu Jun 02, 2011 5:45 pm

Re: Unofficial Kodi PVR Client for HDHomeRun DVR subscribers

Post by lovemyram4x4 »

Well as of this morning I can still open the guide without causing Kodi to lock up, so the changes appear to help (even if you didn't make any that specifically address this part of the issue). I currently have guide data up until 4:30 so it just updated prior to me testing. I think this is the first time I've ever been able to open the guide more than 8hr after starting Kodi.

Online
djp952
Posts: 1188
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD USA

Re: Unofficial Kodi PVR Client for HDHomeRun DVR subscribers

Post by djp952 »

Very glad to hear that lovemyram4x4! You have no idea how happy that makes me - finally progress on this dang lock-up! I went through some other things last night and made some additional tweaks for the periodic discoveries as well; the only notable change was to get rid of a useless EPG update that would trigger if new channels are detected -- Kodi won't use the data anyway until you restart, so it was pointless and potentially problematic given what we know now about the UI deadlock.

As a result, here is a brandie new version for everyone, all shiny and clean:

Version 1.0.10 (2017.06.07)

  • Reduce number of Kodi callbacks generated during initial discovery tasks
  • Delay initial discovery tasks a configurable number of seconds to work around Kodi deadlock condition
  • Add "Startup discovery task delay (seconds)" advanced option
  • Remove unnecessary 1 second delays when manually triggering discoveries via PVR Client Specific settings
  • Remove unnecessary electronic program guide update when channel lineup changes are detected
Links are in the usual location: https://github.com/djp952/pvr.hdhomerun ... /Downloads

I hope this version is nice and stable for a while, I'd like to get to work on proposing the fixes for Kodi so other PVRs never fall into this particular trap :) I also added an Issue to track revisiting extending the guide data beyond 8 hours since that's a common request. The optimizations in 1.0.9 and 1.0.10 may make that less painful as well, but I'm resigned to implementing it as best I can and letting you guys decide for yourselves if it's something you want to turn on; you can always turn it back off if it's killing the system.

As always, enjoy, and keep me informed if you run into any problems!!

clarkss12
Posts: 1219
Joined: Sat May 11, 2013 11:51 am
Device ID: 104CBEA5 ;1055A951
Location: Michigan, USA
Contact:

Re: Unofficial Kodi PVR Client for HDHomeRun DVR subscribers

Post by clarkss12 »

Works great for me, never had any problems. Running it on my Windows 10 desktop computer. I just downloaded your latest update, and installed the zip file over the existing app.

Thanks.

lovemyram4x4
Posts: 206
Joined: Thu Jun 02, 2011 5:45 pm

Re: Unofficial Kodi PVR Client for HDHomeRun DVR subscribers

Post by lovemyram4x4 »

That test version continued to work until this AM(i did restart Kodi last night to see if SD finally fix my guide data that's been wrong since day 1, I was still going at the point). I'll get this new release installed and see how it goes.

Online
djp952
Posts: 1188
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD USA

Re: Unofficial Kodi PVR Client for HDHomeRun DVR subscribers

Post by djp952 »

lovemyram4x4 wrote:
Thu Jun 08, 2017 10:32 am
That test version continued to work until this AM(i did restart Kodi last night to see if SD finally fix my guide data that's been wrong since day 1, I was still going at the point). I'll get this new release installed and see how it goes.
Argh. I'll be away for a couple days, but when I get back if it's still not working right I can put together something that can at least detect if Kodi is deadlocked or not, and then begin the search anew :(

What I can do to help debug further is to actually wait for Kodi to respond to a callback/trigger and log something if it never does. Something like when I ask to update the channels or EPG, actually sit there until it comes back around and asks for the channels or EPG. If it never does, the thread(s) responsible in Kodi are very likely deadlocked with each other.

I'm 99% sure it's going to be the EPG update running at the same time as a non-EPG update if it still happens, all the other updates happen in serial on one thread. I'm not sure why they opted to have the EPG update on it's own thread, but I'm sure they had a reason, probably performance? Trying to force them to never execute at the same time is somewhat possible using the same technique I'm proposing to detect it, but it will never be truly guaranteed; at some point fixing the root cause becomes the last reasonable option :D

bigwilliestyle
Posts: 1
Joined: Thu Jun 08, 2017 12:36 pm

Re: Unofficial Kodi PVR Client for HDHomeRun DVR subscribers

Post by bigwilliestyle »

I'm just trying to find out 2 things:

Can Homerun DVR work on Firestick and/or Fire TV box - I have both

I just paid $35 for DVR subscription today

I try to use it through Kodi - all I get is "No DVR configured"

HELP

If it won't work, then I'll quit wasting all day trying to figure it out

BTW, I can record through my Plex pass on my computer but cab't figure out how to do it on TV thru Kodi

lovemyram4x4
Posts: 206
Joined: Thu Jun 02, 2011 5:45 pm

Re: Unofficial Kodi PVR Client for HDHomeRun DVR subscribers

Post by lovemyram4x4 »

These last 2 builds are definitely working better than the previous ones for me. With the newest one it made it through the night but it did lock up last night. I noticed like I mentioned before that my ticker on the home screen hadn't updated for current recording however I was still seeing the heads up messages for the timers(maybe if I just waited a bit long after they completed before trying to open guide the ticker might have updated also).

hpfalcon
Posts: 2
Joined: Sat Jun 10, 2017 7:31 am

Re: Unofficial Kodi PVR Client for HDHomeRun DVR subscribers

Post by hpfalcon »

I seem to be having an issue opening any channel. I can get it to work if I stream directly from tuner, but I wanted to be able to time shift.

I tried getting the logs, and it seems to be some url error. I've been playing around in the settings but nothing seems to resolve it.

Code: Select all

10:30:10.858 T:16152  NOTICE: VideoPlayer: Opening: pvr://channels/tv/All channels/pvr.hdhomerundvr_20480.pvr
10:30:10.858 T:16152 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
10:30:10.858 T:16152   ERROR: DXVA::CProcessorHD::IsFormatSupported: Unsupported format 105 for 1.
10:30:10.858 T:6336   DEBUG: Thread VideoPlayer start, auto delete: false
10:30:10.858 T:6336  NOTICE: Creating InputStream
10:30:10.858 T:6336   DEBUG: PVRManager - PVR::CPVRManager::OpenLiveStream - opening live stream on channel 'WNYWDT'
10:30:10.858 T:6336   DEBUG: opening live stream for channel 'WNYWDT'
10:30:10.858 T:6336   ERROR: AddOnLog: HDHomeRun DVR PVR Client: OpenLiveStream failed due to an unhandled exception: unable to determine the URL for specified channel
10:30:10.858 T:6336   ERROR: CVideoPlayer::OpenInputStream - error opening [pvr://channels/tv/All channels/pvr.hdhomerundvr_20480.pvr]
10:30:10.858 T:6336  NOTICE: CVideoPlayer::OnExit()
10:30:10.858 T:6336   DEBUG: CDVDInputStreamPVRManager::Close - stream closed
10:30:10.858 T:6336   DEBUG: CApplication::OnPlayBackStopped: play state was 1, starting 1
10:30:10.858 T:6336   DEBUG: Thread VideoPlayer 6336 terminating
10:30:10.858 T:16152   DEBUG: CApplication::OnPlayBackStopped: play state was 3, starting 0
10:30:10.858 T:15172   DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
10:30:10.858 T:15172   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
10:30:10.859 T:16152  NOTICE: CVideoPlayer::CloseFile()
10:30:10.859 T:16152  NOTICE: VideoPlayer: waiting for threads to exit
10:30:10.859 T:16152  NOTICE: VideoPlayer: finished waiting
10:30:10.859 T:16152   DEBUG: CRenderManager::DeleteRenderer - deleting renderer
10:30:10.859 T:16152  NOTICE: CVideoPlayer::CloseFile()
10:30:10.859 T:16152  NOTICE: VideoPlayer: waiting for threads to exit
10:30:10.859 T:16152  NOTICE: VideoPlayer: finished waiting
10:30:10.860 T:16152   DEBUG: Radio UECP (RDS) Processor - delete CDVDRadioRDSData::~CDVDRadioRDSData
10:30:11.769 T:16152   DEBUG: Keyboard: scancode: 0x50, sym: 0x0112, unicode: 0x0000, modifier: 0x0
10:30:11.769 T:16152   DEBUG: CInputManager::OnKey: down (0xf081) pressed, action is Down
10:30:11.874 T:16152   DEBUG: Keyboard: scancode: 0x50, sym: 0x0112, unicode: 0x0000, modifier: 0x0
10:30:12.759 T:16152   DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x000d, modifier: 0x0
10:30:12.884 T:16152   DEBUG: CInputManager::OnKey: return (0xf00d) pressed, action is Select
10:30:12.884 T:16152   DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
10:30:12.926 T:16152   DEBUG: Loading settings for pvr://channels/tv/All channels/pvr.hdhomerundvr_24576.pvr
10:30:12.927 T:16152   DEBUG: CPlayerCoreFactory::GetPlayers(pvr://channels/tv/All channels/pvr.hdhomerundvr_24576.pvr)
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mms/udp
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
10:30:12.927 T:16152   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
10:30:12.927 T:16152   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (VideoPlayer)
10:30:12.927 T:16152   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
10:30:12.927 T:16152   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
10:30:12.927 T:16152   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
10:30:12.928 T:16152   DEBUG: Radio UECP (RDS) Processor - new CDVDRadioRDSData::CDVDRadioRDSData

PaulieORF
Posts: 1
Joined: Sun Jun 11, 2017 12:52 pm

Re: Unofficial Kodi PVR Client for HDHomeRun DVR subscribers

Post by PaulieORF »

hpfalcon wrote:
Sat Jun 10, 2017 7:39 am
I seem to be having an issue opening any channel. I can get it to work if I stream directly from tuner, but I wanted to be able to time shift.

I tried getting the logs, and it seems to be some url error. I've been playing around in the settings but nothing seems to resolve it.
I'm experiencing the exact same thing. I'm running the latest version of OSMC.

Online
djp952
Posts: 1188
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD USA

Re: Unofficial Kodi PVR Client for HDHomeRun DVR subscribers

Post by djp952 »

bigwilliestyle wrote:
Thu Jun 08, 2017 8:13 pm
I'm just trying to find out 2 things:

Can Homerun DVR work on Firestick and/or Fire TV box - I have both

I just paid $35 for DVR subscription today

I try to use it through Kodi - all I get is "No DVR configured"

HELP

If it won't work, then I'll quit wasting all day trying to figure it out

BTW, I can record through my Plex pass on my computer but cab't figure out how to do it on TV thru Kodi
Sorry for being away for a few days!

There are multiple ways to access the HDHomeRun DVR service through Kodi, there is an official add-on from SiliconDust, and there are unofficial things like this PVR Client. The easiest and best supported way to use the DVR service on Android (FireTV being Android) is to use the official add-on rather than a PVR Client. That is a "script" addon, it does not use the "TV" area of Kodi; there are a lot of great resources here on the SiliconDust forums for that, but not this thread in particular.

I would certainly suggest browsing around to find the real threads about the official add-on, but in short from Kodi you would go into the Addon Manager and do a Search. Type in "HDHomeRun" when prompted -- you should ultimately get something along the lines of "Script - HDHomeRun" as a result, you can install that. But again, that addon is not a Kodi "PVR", the built-in TV area and EPG do not work through it. It's a one-stop shop for all things DVR, just like the Windows or Android Apps (if you have used those).

If you want to install a "PVR Client" like this on Android, your options are limited. There should be a built-in "HDHomeRun PVR" addon that you can enable, but that one only accesses the tuners and the guide data, it does not access Recordings or timers (recording rules).

For this particular one if you want to use it, your best bet is to uninstall Kodi and install the version that I made that includes this PVR. There is no good way to just install a PVR Client on Android, you need root access and be willing to hack the system a bit. You can grab the appropriate APK from the downloads page (https://github.com/djp952/pvr.hdhomerun ... /Downloads) and side-load it. You'll still need to enable it after installation, it doesn't just turn itself on.

I mean no offense, but it sounds like you may be better off with the official SiliconDust add-on until you become a little more comfortable with Kodi. That is the solution supported by SiliconDust, and you will have a lot more resources available to you!

Good luck my friend!!

Online
djp952
Posts: 1188
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD USA

Re: Unofficial Kodi PVR Client for HDHomeRun DVR subscribers

Post by djp952 »

hpfalcon wrote:
Sat Jun 10, 2017 7:39 am
I seem to be having an issue opening any channel. I can get it to work if I stream directly from tuner, but I wanted to be able to time shift.

I tried getting the logs, and it seems to be some url error. I've been playing around in the settings but nothing seems to resolve it.

Code: Select all

10:30:10.858 T:16152  NOTICE: VideoPlayer: Opening: pvr://channels/tv/All channels/pvr.hdhomerundvr_20480.pvr
10:30:10.858 T:16152 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
10:30:10.858 T:16152   ERROR: DXVA::CProcessorHD::IsFormatSupported: Unsupported format 105 for 1.
10:30:10.858 T:6336   DEBUG: Thread VideoPlayer start, auto delete: false
10:30:10.858 T:6336  NOTICE: Creating InputStream
10:30:10.858 T:6336   DEBUG: PVRManager - PVR::CPVRManager::OpenLiveStream - opening live stream on channel 'WNYWDT'
10:30:10.858 T:6336   DEBUG: opening live stream for channel 'WNYWDT'
10:30:10.858 T:6336   ERROR: AddOnLog: HDHomeRun DVR PVR Client: OpenLiveStream failed due to an unhandled exception: unable to determine the URL for specified channel
10:30:10.858 T:6336   ERROR: CVideoPlayer::OpenInputStream - error opening [pvr://channels/tv/All channels/pvr.hdhomerundvr_20480.pvr]
10:30:10.858 T:6336  NOTICE: CVideoPlayer::OnExit()
10:30:10.858 T:6336   DEBUG: CDVDInputStreamPVRManager::Close - stream closed
10:30:10.858 T:6336   DEBUG: CApplication::OnPlayBackStopped: play state was 1, starting 1
10:30:10.858 T:6336   DEBUG: Thread VideoPlayer 6336 terminating
10:30:10.858 T:16152   DEBUG: CApplication::OnPlayBackStopped: play state was 3, starting 0
10:30:10.858 T:15172   DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
10:30:10.858 T:15172   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
10:30:10.859 T:16152  NOTICE: CVideoPlayer::CloseFile()
10:30:10.859 T:16152  NOTICE: VideoPlayer: waiting for threads to exit
10:30:10.859 T:16152  NOTICE: VideoPlayer: finished waiting
10:30:10.859 T:16152   DEBUG: CRenderManager::DeleteRenderer - deleting renderer
10:30:10.859 T:16152  NOTICE: CVideoPlayer::CloseFile()
10:30:10.859 T:16152  NOTICE: VideoPlayer: waiting for threads to exit
10:30:10.859 T:16152  NOTICE: VideoPlayer: finished waiting
10:30:10.860 T:16152   DEBUG: Radio UECP (RDS) Processor - delete CDVDRadioRDSData::~CDVDRadioRDSData
10:30:11.769 T:16152   DEBUG: Keyboard: scancode: 0x50, sym: 0x0112, unicode: 0x0000, modifier: 0x0
10:30:11.769 T:16152   DEBUG: CInputManager::OnKey: down (0xf081) pressed, action is Down
10:30:11.874 T:16152   DEBUG: Keyboard: scancode: 0x50, sym: 0x0112, unicode: 0x0000, modifier: 0x0
10:30:12.759 T:16152   DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x000d, modifier: 0x0
10:30:12.884 T:16152   DEBUG: CInputManager::OnKey: return (0xf00d) pressed, action is Select
10:30:12.884 T:16152   DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
10:30:12.926 T:16152   DEBUG: Loading settings for pvr://channels/tv/All channels/pvr.hdhomerundvr_24576.pvr
10:30:12.927 T:16152   DEBUG: CPlayerCoreFactory::GetPlayers(pvr://channels/tv/All channels/pvr.hdhomerundvr_24576.pvr)
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mms/udp
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
10:30:12.927 T:16152   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
10:30:12.927 T:16152   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
10:30:12.927 T:16152   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (VideoPlayer)
10:30:12.927 T:16152   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
10:30:12.927 T:16152   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
10:30:12.927 T:16152   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
10:30:12.928 T:16152   DEBUG: Radio UECP (RDS) Processor - new CDVDRadioRDSData::CDVDRadioRDSData
This is indeed odd! That error indicates just what you think, it can't generate the URL for the channel. When you have 'direct tuning' enabled, that whole thing is bypassed, which would explain the difference.

It's a pretty basic operation, it just generates a URL from the metadata, nothing fancy. What kind of tuner(s) are you using and have you updated the HDHomeRun RECORD engine recently? I wonder if something changed that I need to adjust for??

edit: Wait wait wait ... it looks like the main reason this would happen is if you don't have the DVR (HDHomeRun RECORD) running somewhere, or it wasn't discovered by the PVR Client. This exact error happens when no rows are returned from the database to generate a channel URL:

1) Do you have the HDHomeRun RECORD server installed and running?
2) Does the official SiliconDust application work -- can you see and play recordings, set up recording rules etc?
3) If from a browser, you go to http://ipv4.my.hdhomerun.com/discover, do you get back a text document that has an item with a "StorageID" value, or do you just get back items with "DeviceID" values?

(looks like this)

Code: Select all

{
        "StorageID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "LocalIP": "192.168.0.xxx:xxxxx",
        "BaseURL": "http://192.168.0.xxx:xxxxx",
        "DiscoverURL": "http://192.168.0.xxx:xxxxx/discover.json",
        "StorageURL": "http://192.168.0.xxx:xxxxx/recorded_files.json"
}

If there is no HDHomeRun RECORD running or it can't be found for some reason, the "direct stream" option will still work, but this client is really intended for use with the full DVR service. Timeshifting and all the fun stuff require the RECORD engine.

Locked