ybot wrote:However I looked into the qpkg format and didn't really know where to start, so gave up at that point, besides mine works, so I have not really experimented.
Actually Micke has done a great work, and building a QPKG is not a difficul thing.
Just install the QDK QPKG, create a folder on your NAS using SSH and type:
- Code: Select all
# qbuild --create-env MythTV
It will create some folders where you should place your files; you will have to compile the application for all the processor architectures you want to deploy to and copy the relevant files on the corresponding subdirectories.
The difficult part is creating a Bash script (which will be named as the QPKG, so MythTV.sh in your case) which should handle at least two arguments: start
(called at NAS start) and stop
(called before poweroff). Inside that script you should enable or disable your app, the same way that you do manually through SSH.
When I first approached QDK, I read the PDF documents that Micke had created (those linked on the wiki page) but I found more easy to "decompile" some QPKGs to see how they were built.
I was (and am) a Linux noob, so I don't think you shouldn't be able to, if you have some spare time (always the hardest part...). I also think that it should be easier to do QPKG than IPKG (but I don't know the latter a lot).
Just to say, my hardest thing to build was the XMLTV QPKG because it had a lot of dependencies; TVHeadend QPKG for the app was easier (it was quite self-contained) but there were some quirks with the hotplug patching and the load/unload of kernel modules.
But in the end, I've done it!
ybot wrote:I would like to give TVHeadEnd a test run, but it does not support my tuner.
Just out of curiosity, what tuner do you have?