A pvr.mythv programming question
#1
Hi @janbar,
I'm trying to write some code to get hold of a valid channel within MythScheduleManager.cpp.

I've got some recording rules with a 'zero' channel (not sure how this happened, but there are several on my backend, so I may not be the only person).
The problem is, if I try and edit them via the Kodi UI, pvr.mythv is unable to save the changes to my 0.27.5 backend as the backend refuses to accept the modified rule because it has a '0' channelid.

Now most these rules are 'any channel' rules, so not having a channel isn't stopping them working, just me being able to edit them via Kodi.
What I really want to do is something like call PVRClientMythTV::GetFirstChannel() to get a valid channelid so I can use this to 'fix' an 'any channel' rule with a zero channelid if necessary.

Any suggestions?
Reply

Logout Mark Read Team Forum Stats Members Help
A pvr.mythv programming question0