djp952 / pvr.hdhomerundvr

Unofficial Kodi HDHomeRun DVR PVR Client
https://github.com/djp952/pvr.hdhomerundvr/wiki
Other
60 stars 9 forks source link

Unable to edit OTR Timers in Kodi. #60

Closed gibxxi closed 5 years ago

gibxxi commented 5 years ago

As the title suggests, when initiating a "One Touch Record" on an upcoming TV show in the EPG, it is not then possible to edit any settings regarding the timer / rule, even if the recording is due to occur hours into the future. Things like channel, start-time, stop-time, padding, etc. are all greyed out.

Is it possible to fix / alter this behaviour? Or are we bound by the fact that recording timers on the DVR side of the HDHomeRun are stored on SiliconDust's servers?

Dan / Gib.

djp952 commented 5 years ago

I do have those specifically set as unable to be edited. The HDHomeRun backend does allow certain properties of a "DateTimeOnly" rule (that's what they call it), but there is no way to make editing work properly in Kodi. The only things that can be changed about a DateTimeOnly rule are the channel and the start/stop padding values.

There is currently no way to restrict Kodi to just allowing edit of these properties. Kodi doesn't actually support HDHomeRun's concept of a "DateTimeOnly" timer, they are fudged in to look like a Kodi "manual" timer, which prevents proper editing.

It would take some changes to Kodi to allow this, and HDHomeRun DVR is the only PVR that works like this, so my reach-outs to the PVR maintainer didn't go very well. They did allow me to add a new "Delete Only" flag in Leia, which at least lets you look at the timer properly without allowing anything that isn't supported.

So it's really a Kodi limitation as opposed to a HDHomeRun limitation. Something custom could be done in the "Client Specific" addon settings, but I think that would be extraordinarily unintuitive for somebody to go in there.

I can approach Kodi again about adding what would be necessary if you see this as a roadblock for you. If you need it, chances are there are lots of other people that need it too. I guess after using this for so long myself I just got accustomed to deleting a bum DateTimeOnly timer and creating a new one.

gibxxi commented 5 years ago

It's a minor annoyance, not a major issue. I thought i'd mention it just in case it was an easy fix.

Given the amount of times (I personally) do those types of recording, It's not worth worrying about it too much.

Thanks for the clarification though.

djp952 commented 5 years ago

No worries sir! I'm content to leave it as-is as well. At one point I did take a crack at adding the necessary support in Kodi, but it's so specific to this addon it wasn't going to get approved :)