XBian tvheadend package - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Software (/forum-6.html) +--- Forum: Additional Packages (/forum-22.html) +--- Thread: XBian tvheadend package (/thread-1766.html) |
XBian tvheadend package - mk01 - 14th Nov, 2013 05:57 AM @starous by include you mean pre-configured deb as others, available in xbian apt repo? or directly with this deb preinstalled on image? personally I will always highly prefer nothing preinstalled. to keep things simple. first run wizard is informing user on dedicated slide about many packages being available for one click install. i have tvheadend binaries available as I'm using it myself. if this is ok conf setup, I can create the deb in few days. Code: Checking support/features Xbian 1 - starous - 14th Nov, 2013 06:11 AM A pre-configured deb would be great ;-) RE: Xbian 1 - mk01 - 14th Nov, 2013 07:02 AM @starous for testing xbian-package-tvheadend 1.0.0 at Beta2 repo. RE: Xbian 1 - starous - 14th Nov, 2013 05:56 PM (14th Nov, 2013 07:02 AM)mk01 Wrote: @starous Awesome, I will try it tonight, but first I will have to find and install the latest beta2. Thanks. RE: Xbian 1 - Killerbee - 15th Nov, 2013 03:33 AM (14th Nov, 2013 07:02 AM)mk01 Wrote: @starous Terminal Setting up xbian-package-tvheadend (1.0.0) ... dpkg: error processing xbian-package-tvheadend (--configure): subprocess installed post-installation script returned error exit status 1 Terminal dpkg --configure -a How do I check what's the problem? edit1: I "solved" it by removing the content of /var/lib/dpkg/info/xbian-package-tvheadend.postinst Now I am asked for a user and password when I am opening the url http:\\serverip:9981 edit2: Solved by adding "-C" to the ARGS var in /etc/init/tvheadend.conf KB RE: Xbian 1 - mk01 - 15th Nov, 2013 04:03 AM will correct. … thanks @Killerbee now I realized as I'm pfixing the package. I was fine with testing because I already had tvheadend config directory. But your new install failed because there is no user database existing. -C will create empty user (no user / pass). Don't keep -C in the script as it will reset users on each start. the package will check upon install whether config files exists, specially at least one user account. if doesn't exists, installer will create xbian:raspberry. mk RE: Xbian 1 - Killerbee - 15th Nov, 2013 05:04 AM (15th Nov, 2013 04:03 AM)mk01 Wrote: will correct. … thanks thxs Are you an tvheadend expert I am not able to get it working. Copied the firware found on the net to /lib/firware. I added my USB cinergy hybrid stick. Stick is found firmware is loaded. Configured tvheadend (add DVB Network adapter) Did initial scan Mapped found services to channels. Added the TVheadend PVR addon (default config) Activate PVR All looks OK I am able to "see" the channels in XBMC but I am not able to watch them. RE: XBian tvheadend package - mk01 - 15th Nov, 2013 05:26 AM (15th Nov, 2013 05:04 AM)Killerbee Wrote: I am able to "see" the channels in XBMC but I am not able to watch them. missing mpeg2 license. Testing xbian-package-tvheadend - Killerbee - 15th Nov, 2013 07:08 AM mk01 prepared a tvheadend xbian package (available in the beta2 repo). install it using the CLI Terminal apt-get install xbian-package-tvheadend Report your results here. @mk01 Please check the user creation "hts" some settings are not saved due to permissions issues. EDIT: Please close/delete this one and continue here KB RE: XBian tvheadend package - Killerbee - 15th Nov, 2013 07:17 AM (15th Nov, 2013 05:26 AM)mk01 Wrote:I will double check. I have two pi's.(15th Nov, 2013 05:04 AM)Killerbee Wrote: I am able to "see" the channels in XBMC but I am not able to watch them. Xbian config doesn allow me to specify two comma seperated mpeg2 licences codes. So maybe I configured the wrong one. @mk01 Could you please check the user creation "hts". tvheadend daemon is not able to save some setting files. KB RE: XBian tvheadend package - rikardo1979 - 15th Nov, 2013 07:29 AM (15th Nov, 2013 07:08 AM)Killerbee Wrote: mk01 prepared a tvheadend xbian package (available in the beta2 repo). merged into this thread RE: XBian tvheadend package - mk01 - 15th Nov, 2013 08:20 AM (15th Nov, 2013 07:17 AM)Killerbee Wrote: @mk01 I started with APT repo rebuild and didn't finish what I wanted to tell you. So the first issue the login for new installs - of course running user is part of that. then I realized the hts user. I wanted be polite so I took the full examples from tvheadend (as they prefer creation of custom packages this way). I should have used my install as template Nevetherless. The intention is: 1) running user xbian - you already have the 1.0.0 which config file won't get overwritten. change user in /etc/default/tvheadend from hts to xbian 2) install is checking number of files in /home/xbian/.hts/tvheadend/accesscontrol. if = 0, it creates default user xbian:raspberry. you used -C, should be no needed anymore. because you installed the 1.0.0, hts user non existent, no default configs under ~/.hts -- under which user tvheadend is running finally ? you created hts user ? In any case I would do: Code: sudo -i RE: XBian tvheadend package - Killerbee - 15th Nov, 2013 08:32 AM (15th Nov, 2013 08:20 AM)mk01 Wrote:thanks for explaining. I noticed some issues in the postinst script PHP Code: #!/bin/bash User is xbian password is n (instead of raspberry) Also the postinst script was not able to create the /home/xbian/.hts/tvheadend/accesscontrol/1 files. Also I had to remove this part of the 1 file: "prefix": "192.168.1.0/24", I am using 192.168.2.0/24 (removing the prefix just works) KB RE: XBian tvheadend package - mk01 - 16th Nov, 2013 02:34 PM intention was of course 0.0.0.0/0 and raspberry. will fix. RE: XBian tvheadend package - Killerbee - 18th Nov, 2013 02:52 AM (16th Nov, 2013 02:34 PM)mk01 Wrote: intention was of course 0.0.0.0/0 and raspberry. will fix. @mk01 FYI Version 3.5 requires this prefix Code: "prefix": "0.0.0.0/0,::/0" KB |