December 13, 201312 yr Where did you grab the experimental build from? Cheers https://copy.com/av2UDJUhNggQaHZc From post #750, I believe this is the most recent experimental build from piotrasd. I just downloaded that file and renamed it tvheadend.txz and dropped it in /boot/packages. I also changed line 15 of Mettbrot's tvheadend-0.5.plg program to read: <URL>--no-check-certificate https://dl.dropboxusercontent.com/u/17326625/tvheadend-experimental.txz</URL> but looking through my syslog, on boot it always says: Dec 11 15:45:57 tower logger: installing plugin: tvheadend-0.5 Dec 11 15:45:57 tower logger: file /boot/packages/tvheadend.txz: already exists Dec 11 15:45:57 tower logger: upgradepkg --install-new /boot/packages/tvheadend.txz ... Dec 11 15:45:57 tower logger: +============================================================================== Dec 11 15:45:57 tower logger: | Installing new package /boot/packages/tvheadend.txz Dec 11 15:45:57 tower logger: +============================================================================== Dec 11 15:45:57 tower logger: Dec 11 15:45:57 tower logger: Verifying package tvheadend.txz. Dec 11 15:45:57 tower logger: Installing package tvheadend.txz: so I'm not sure that is actually needed, it seems the tvheadend.plg only downloads tvheadend.txz if /boot/packages/tvheadend.txz is missing, but I don't know that for sure...
December 13, 201312 yr latest tvheadend (rewrited core - engine) more here: https://github.com/tvheadend/tvheadend/commits/feature/dvb-rewrite link to tvheadend file https://copy.com/ynzEgbXqxs9G0D1r ------------------------------------------------------------------------------------------------------------- and here - master version + 2 patches (1 for EDL commo skip in XBMC , 2 fix DVB-S2 ) info about patches: https://github.com/tvheadend/tvheadend/pull/284 https://github.com/tvheadend/tvheadend/pull/291 Link to tvheadend file https://copy.com/av2UDJUhNggQaHZc Yea, I had the experimental one in there but had some problems with it so I moved back to the old one. Maybe piotrasd can find some time to compile a newer master version for us. There is quite some continuous development going on at tvheadend! :)
December 16, 201312 yr Yeah, I've got something jacked up then... The only option under internal grabber is "disabled". I'm on tvheadend build -git-4e7506a, which is the one that I pulled using @Mettbrot's plg file (https://dl.dropboxusercontent.com/u/17326625/tvheadend-0.5.plg). Is there a newer version of tvheadend I should be pulling from? I have the same problem, I tried a lot of things, even your solution without any luck. The tv_grab_file doesn't show at all in the drop down. Can you guys check my go file? I do not have a cache drive, you think that might be my problem? #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c ln -s /boot/custom/userhdhomerun /usr/bin/userhdhomerun ln -s /boot/custom/dvbhdhomerun /etc/dvbhdhomerun modprobe dvb_hdhomerun && sleep 10 && /usr/bin/userhdhomerun & sleep 20 && sudo -u root tvheadend -c /mnt/disk2/tvheadend/.htsconfig -u root -g video -f 2>&1 >/dev/null cp /mnt/disk2/Recording/tv_grab_file /usr/bin/ sudo chmod a+x /usr/bin/tv_grab_file -v /usr/bin/tv_grab_file &
December 16, 201312 yr dragon123 - not having a cache drive shouldn't stop you from getting this to work, but I am pretty sure you will have to do what I did and check to make sure the array is started before launching tvheadend. If you telnet into your server and type ls /usr/bin does the file 'tv_grab_file' show up? If not I think you may need to do what I did, and change the last part of your go script with this: if [[ -r "/mnt/disk2/Recording/tv_grab_file" && -f "/mnt/disk2/Recording/tv_grab_file" ]]; then sudo -u root tvheadend -c /mnt/disk2/tvheadend/.htsconfig -u root -g video -f >/dev/null 2>&1 cp /mnt/disk2/Recording/tv_grab_file /usr/bin/ sudo chmod a+x /usr/bin/tv_grab_file -v /usr/bin/tv_grab_file & fi I changed the code to match what it looks like you have set up. That should wait to make sure your share is readable by checking to see if the tv_grab_file is readable before starting tvheadend and trying to move the grab file. On my setup, if I try to start tvheadend before the array is started the whole thing shits the bed. Try this and report back
December 16, 201312 yr dragon123, Here's my xmltv setup if it helps. #xmltv installpkg /boot/boot/extra/xmltv-0.5.63-i486-1_W-W.txz cp /boot/boot/extra/tv_find_grabbers /usr/bin/ cp /boot/boot/extra/tv_grab_file /usr/bin/ cp /boot/boot/extra/mc2xml.sh /etc/cron.daily chmod +x /usr/bin/tv_find_grabbers Also, I tried compiling the latest tvheadend but there is a bug preventing me from compiling it. The latest version requires you to reconfigure tvheadend so once I get past compiling it I won't be installing it on my system for a while. The DVB_rewrite was merged with master.
December 16, 201312 yr dragon123, Here's my xmltv setup if it helps. #xmltv installpkg /boot/boot/extra/xmltv-0.5.63-i486-1_W-W.txz cp /boot/boot/extra/tv_find_grabbers /usr/bin/ cp /boot/boot/extra/tv_grab_file /usr/bin/ cp /boot/boot/extra/mc2xml.sh /etc/cron.daily chmod +x /usr/bin/tv_find_grabbers Also, I tried compiling the latest tvheadend but there is a bug preventing me from compiling it. The latest version requires you to reconfigure tvheadend so once I get past compiling it I won't be installing it on my system for a while. The DVB_rewrite was merged with master. Was does that mean? Isn't it possible to compile a txz file? It someone has a viewer version than the August one I will be happy to exchange the old one...
December 16, 201312 yr dragon123, Here's my xmltv setup if it helps. #xmltv installpkg /boot/boot/extra/xmltv-0.5.63-i486-1_W-W.txz cp /boot/boot/extra/tv_find_grabbers /usr/bin/ cp /boot/boot/extra/tv_grab_file /usr/bin/ cp /boot/boot/extra/mc2xml.sh /etc/cron.daily chmod +x /usr/bin/tv_find_grabbers Also, I tried compiling the latest tvheadend but there is a bug preventing me from compiling it. The latest version requires you to reconfigure tvheadend so once I get past compiling it I won't be installing it on my system for a while. The DVB_rewrite was merged with master. Was does that mean? Isn't it possible to compile a txz file? It someone has a viewer version than the August one I will be happy to exchange the old one... My problems are with compiling the source code. Once I compile the source code I then package it into a .txz I cannot compile the source code so I cannot create the .txz, I hope that makes sense. Here is the bug I'm running into: https://tvheadend.org/issues/1853 Here is some information on what is required to use the latest version once I get past the compile issues or piotrasd compiles it. https://tvheadend.org/boards/5/topics/9792
December 17, 201312 yr Ok, ran some tests. After booting up, tv_grab_file doesn't exist under usr/bin... using the following in my go file didn't help: if [[ -r "/mnt/disk2/Recording/tv_grab_file" && -f "/mnt/disk2/Recording/tv_grab_file" ]]; then sudo -u root tvheadend -c /mnt/disk2/tvheadend/.htsconfig -u root -g video -f >/dev/null 2>&1 cp /mnt/disk2/Recording/tv_grab_file /usr/bin/ sudo chmod a+x /usr/bin/tv_grab_file -v /usr/bin/tv_grab_file & fi If I enter manually in telnet, it works perfectly after restarting tvheadend. So, somehow, my go file doesn't write tv_grab_file in usr/bin, now I need to figure out why. Then I changed the order of things, to move my tv_grab_file before starting tvheadend... and it worked: #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c ln -s /boot/custom/userhdhomerun /usr/bin/userhdhomerun ln -s /boot/custom/dvbhdhomerun /etc/dvbhdhomerun modprobe dvb_hdhomerun && sleep 10 && /usr/bin/userhdhomerun & cp /boot/custom/tv_grab_file /usr/bin/ sudo chmod a+x /usr/bin/tv_grab_file -v /usr/bin/tv_grab_file & sleep 20 && sudo -u root tvheadend -c /mnt/disk2/tvheadend/.htsconfig -u root -g video -f 2>&1 >/dev/null Nice.... sooo, where is the last build?
December 17, 201312 yr I think the latest working builds are in post 750 Sent from my SCH-I545 using Tapatalk
December 17, 201312 yr I think the latest working builds are in post 750 Sent from my SCH-I545 using Tapatalk Okay, I just saw: I had this build already in there. Here is the link. I think it is enough to change the file name in the plg to tvheadend-experimental.txz https://www.dropbox.com/s/iqeukymg3ydwjha/tvheadend-experimental.txz
December 17, 201312 yr Balthazar, you are running the experimental build I think, is it worth trying it? Do we have to run the setup all over again and just install and all should work? Thanks.
December 18, 201312 yr I am running the experimental build, I haven't had any adverse issues, but I also haven't noticed any great improvements over the stable build either. I didn't have to reconfigure anything, I just downloaded the file piotrasd compiled and packaged as a txz file in post 750 (tvheadend-20131004-i686-1PTr_patched.txz), renamed it tvheadend.txz and dropped in //TOWER/flash/packages/ in Windows Explorer, making sure it overwrote the original file. It looks like there has been some heavy development by Adam Sutton, the maintainer of Tvheadend, since piotrasd compiled tvheadend-20131004-i686-1PTr_patched.txz. It looks like our experimental build has some of the new rewritten core features, but there has been a lot of development since then. I think that is what mack meant when he said he would have to reconfigure his setup. I have a pretty easy setup, just the local channels my cable company transmits in the clear, so I actually wouldn't mind having to reconfigure, but I can see where it would be a big headache for someone with a big setup. If anybody manages to get it compiled, post it up here. I have some time off around Christmas, I wouldn't mind being a guinea pig
December 21, 201312 yr Hi this is latest version of TVHeadend after rewrite https://copy.com/FYthOCz1KFsA2ZHJ (tvheadend-20131221-i686-1PTr.txz) and oscam (becuase is many changes in campt witch only work with higher version from 9095) https://copy.com/HZAMoLgsIGAjVj4s (oscam-1.20-unstable_svn9131-i486-slackware-linux) enjoy
December 22, 201312 yr At this point with the flurry of RC updates prior to, and now the post final .xx updates would it not be possible (and possibly more simple) to edit W-W's original .plg with updated locations (and hashes) for newer TVheadends (piostrad's\others) and BZ's (macks\others)? (it would only be a simple edit\.plg swap to switch between experimental and stable builds too!) I believe that the xmltv and tv_grab_file would continue to work as is? I hope i'm not being too naive, my skills are novice at best! I would have already tested it if my pre 5.0 final setup wasn't being used heavily in the run up to Christmas! If the more knowledgeable here can see no reason why this would not work I will go ahead and give it a shot? - - echoing the gratitude of others in this thread "Thank you!" I agree here. Huge props to everyone involved in this monster project. I just got a HDHomeRun Prime and started to dabbled in the TV HeadEnd program. I would love to install it on my unRAID server and have it host everything but I'm a little confused on where to get started. There was a plg at the start of this thread (page 1) and there have been a lot of packages thrown around also. Am I to install the PLG and then overwrite the packages after the fact? If someone could give me the quick run down to get this up and running and/or point me in the right direction that would be great. Hopefully one day it will be all nice and neat in a PLG. P.S. Do I still need to replace the system files too? Thanks in advance everyone!
December 22, 201312 yr Hi this is latest version of TVHeadend after rewrite https://copy.com/FYthOCz1KFsA2ZHJ (tvheadend-20131221-i686-1PTr.txz) and oscam (becuase is many changes in campt witch only work with higher version from 9095) https://copy.com/HZAMoLgsIGAjVj4s (oscam-1.20-unstable_svn9131-i486-slackware-linux) enjoy Is this working well? If no objections I will replace the old tvheadend_latest.txz with this version. So that the plg is up to date.
December 22, 201312 yr Im test few hour only and work fine - faster maybe even swtich channels. But you must covert config to new version or create new one (anyway make backup first )
December 23, 201312 yr Im test few hour only and work fine - faster maybe even swtich channels. But you must covert config to new version or create new one (anyway make backup first ) Working for me too, thanks piotrasd! The initial setup was a little hairy, I couldn't find a whole lot of documentation over on the tvheadend website. But after floundering around for a couple of hours I got her up and running. The new version is different, and will force you to make changes to your existing configuration just like piotrasd and mack have said, so be warned! There is a script over on the tvheadend site that is supposed to help you migrate your set up, but it won't do it 100%, so I just bit the bullet and did it from scratch. Manually adding muxes didn't work the way i thought it should, but once I got that sorted it went fast. It did somehow break my go script again, so I will have to figure that out, but so far everything else is working great. Just my 2 cents Mettbrot, but I think you should update the plg SmallwoodDR82: Do not install the plg file in the first post. Install Mettbrot's version of the plg. If I were you though, I would wait until he updates it with this latest version of tvheadend, that way you only have to do the setup once. Or if you are impatient, download and install Mettbrot's plg and just download piotrasd's most recent tvheadend.txz and put it in /boot/packages. If you look at my post #784 you can kind of see how I got it installed. You need mack's bzroot and bzimage files for unRAID 5.0 that have been complied with the media tree modules (https://www.dropbox.com/s/j5jq9oe0yzef9gb/unraid_5.0_media_all.zip) Then you need Mettbrot's plg file from here (https://dl.dropboxusercontent.com/u/17326625/tvheadend-0.5.plg) or wait until he post's the plg with the newest version of tvheadend. Then you need the HDHomerun drivers for the Prime. Check out Kid Castro's post #586 for the drivers and the dvbhdhomerun.zip, which is a config file you will need to edit with your Prime's information. Then you will need to edit your go script like some of the examples above. It seems like everyone's work a little differently. Good luck!
December 23, 201312 yr I would update right away. But I am concerned to screw existing configurations if I do so. I think I will provide a new version of the plg this evening containing the new build. Then everyone can decide :-)
December 24, 201312 yr Hey everyone. Since running tvheadend without a real plugin installed is a real pain (need to modify go script, stopping the array takes forever, etc) I decided to adapt WW's plg file to work with the latest and greatest. I don't know if it is free of bugs - it works for me. Give me feedback and I will do my best to fix I stripped the XMLTV and the BZ-file download ability for simplicity so you still have to update your BZROOT and BZIMAGE files yourself BUT: You don't need to download tvheadend.txz, you don't need to edit your go file and (the best part) you don't have to kill tvheadend in order to stop the array To give it a try, remove the txz package from your /boot/extra directory and remove the start line from your go script. Then install: https://dl.dropboxusercontent.com/u/17326625/tvheadend-0.5.plg Credit for creating tvheadend pack goes to piotrasd. Credit for original plg file goes to WW. This is still possible if you want the old stable Tvheadend version. Additionally, I created a new plg: https://dl.dropboxusercontent.com/u/17326625/tvheadend-0.6.plg which downloads the newer tvheadend pack containing the rewrite. PLEASE BACK UP AND DELETE YOUR CONFIG FIRST! Happy Holidays
December 24, 201312 yr Im test few hour only and work fine - faster maybe even swtich channels. But you must covert config to new version or create new one (anyway make backup first ) Working for me too, thanks piotrasd! The initial setup was a little hairy, I couldn't find a whole lot of documentation over on the tvheadend website. But after floundering around for a couple of hours I got her up and running. The new version is different, and will force you to make changes to your existing configuration just like piotrasd and mack have said, so be warned! There is a script over on the tvheadend site that is supposed to help you migrate your set up, but it won't do it 100%, so I just bit the bullet and did it from scratch. Manually adding muxes didn't work the way i thought it should, but once I got that sorted it went fast. It did somehow break my go script again, so I will have to figure that out, but so far everything else is working great. Just my 2 cents Mettbrot, but I think you should update the plg SmallwoodDR82: Do not install the plg file in the first post. Install Mettbrot's version of the plg. If I were you though, I would wait until he updates it with this latest version of tvheadend, that way you only have to do the setup once. Or if you are impatient, download and install Mettbrot's plg and just download piotrasd's most recent tvheadend.txz and put it in /boot/packages. If you look at my post #784 you can kind of see how I got it installed. You need mack's bzroot and bzimage files for unRAID 5.0 that have been complied with the media tree modules (https://www.dropbox.com/s/j5jq9oe0yzef9gb/unraid_5.0_media_all.zip) Then you need Mettbrot's plg file from here (https://dl.dropboxusercontent.com/u/17326625/tvheadend-0.5.plg) or wait until he post's the plg with the newest version of tvheadend. Then you need the HDHomerun drivers for the Prime. Check out Kid Castro's post #586 for the drivers and the dvbhdhomerun.zip, which is a config file you will need to edit with your Prime's information. Then you will need to edit your go script like some of the examples above. It seems like everyone's work a little differently. Good luck! Thank you! Is this still based off of 5.0? or is it on 5.0.4?
December 28, 201312 yr I am trying to setup unRAID with Tvheadend and HDHomeRun Prime. I have Tvheadend installed and the the HDHomeRun Prime drivers installed, the only issue I have is that I cannot get the Channels listed. I've setup an account with schedulesdirect.org but when I try and run the xmltv commands I get an error about not being able to load the perl modules from the includes. I don't know much about perl so I am hoping somebody can shed some light on what I am supposed to do to get this to work right. # tv_grab_na_dd --configure Can't locate XMLTV/Version.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /usr/bin/tv_grab_na_dd line 359. BEGIN failed--compilation aborted at /usr/bin/tv_grab_na_dd line 359.
December 28, 201312 yr cynicaljoy, You need to install perl then install xmltv, below is my setup if it helps: #perl installpkg /boot/boot/extra/perl-5.10.0-i486-1.tgz #xmltv installpkg /boot/boot/extra/xmltv-0.5.63-i486-1_W-W.txz
December 28, 201312 yr I already have Perl 5.16 installed and the xmltv package from W-W installed...
December 28, 201312 yr I already have Perl 5.16 installed and the xmltv package from W-W installed... I get the same error when I try to run "# tv_grab_na_dd --configure" I simply modified line 7 of tv_grab_file to point to my xmltv file and then I point to tv_grab_file in tvheadend. Hopefully someone else will help you with setting up xmltv in the way that you want.
Archived
This topic is now archived and is closed to further replies.