2016-10-18, 13:17
(2016-10-17, 15:34)freemans13 Wrote: I've forked the excellent work done by m0ngr31 to add some PVR functionality.
This version let's you change channel ('alexa, ask kodi to watch ITV 2 plus 1').
It also lets you switch channel by calling out the progam name ('alexa, ask kodi to switch to Strictly Come Dancing'). This will scan the EPG to find the channels that are/will-be broadcasting the program and switches to the channel automatically.
What I want to do next is add the ability to record programs but the Kodi API doesn't give us this functionality yet
It does appear that the up and coming Krypton will address this.
I'm considering adding the recording feature via tvheadend in the mean time. That does have an API that I could use but ideally I integrate with kodi.
https://github.com/freemans13/kodi-alexa-pvr
I'd rather this go back into m0ngr31 repository but not until I've ironed out the bugs and added all the functionality needed.
Hope this helps.
It would be good if you could get this to a stage where you can collaborate and add this to m0ngr31's repo. That is what Git is all about
The basic workflow would be (in case you don't know) to fork the repo you want to collaborate on (keep the name the same to not confuse things). Create a new branch from the master branch and give it a name relevant to the feature you are adding e.g. "pvr-control". Make your changes on the new branch and then when ready you push the branch to your GitHub and then submit a pull request back to the original repo. It will only get merged when m0ngr31 is happy with it.
At the moment it seems that what you have so far is very specific to your local needs, with UK channels being hard coded into the wsgi.py file. So it not ready to be merged into the main repo just yet. But with a bit of polishing it could be.