Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Tvheadend plugin for unRAID V5.0

Featured Replies

Put the tvheadend.txz to /boot/extra and it will be installed automatically on every boot. Now you put the modprobe (to load the drivers) and the sudo -u root tvheadend .... start line into the go script and you should be fine.

  • Replies 983
  • Views 250.7k
  • Created
  • Last Reply

Put the tvheadend.txz to /boot/extra and it will be installed automatically on every boot. Now you put the modprobe (to load the drivers) and the sudo -u root tvheadend .... start line into the go script and you should be fine.

 

The only reason I left that line in is that he said he wanted to keep his files in a specific folder. I am also not sure about the full modprobe because I use the HDHomeRun.

 

How the go file should be laid out, unless you do like Mettbrot says and move the tvheadend*.tgz to the Extras folder (which will install it automatically on boot)

[*]Install the package

[*]Modprobe

[*]Start tvheadend

Thanks for your help guys. I have now determined that my USB AVerTV Volar HD PRO is semi supported  :'( and driver not included in kernel:

http://www.linuxtv.org/wiki/index.php/Afatech_AF9035

 

I've found some Linux firmware http://palosaari.fi/linux/v4l-dvb/firmware/af9035/ by trawling through this Italian thread (thanks Google translate!!) http://forum.ubuntu-it.org/viewtopic.php?f=9&t=516182&start=60#p4306227

 

piotrasd or anyone else out there: are these firmware files (a) applicable and (b) able to be incorporated into the next bzroot/image compilation?

 

If yes - can you do this for me or point me in the direction of some instructions?  :o

 

Cheers!

For a complete noob, how much of http://lime-technology.com/wiki/index.php/Installing_Tvheadend_in_unRAID is now relevant?

 

I see that the new bzimage/root is taken care of:

unRAID 5.0 (final)

- with latest TBS driver and media tree

- added all possible Firmwares which I've found

 

https://truck.it/p/ybRX086vww

 

and tvheadend:

 

but I'm pretty clueless on the others...any help would be greatly appreciated!  :-[

 

I have taken a few minutes to update this Wiki page with the most relevant links: http://lime-technology.com/wiki/index.php/Installing_Tvheadend_in_unRAID

@mack

 

What version of HDHomeRun driver are you using in your build? I cannot for the life of me get the Services to have any information, so I was hoping to have my HDHomeRun on the same version.

 

Thanks!

For a complete noob, how much of http://lime-technology.com/wiki/index.php/Installing_Tvheadend_in_unRAID is now relevant?

 

I see that the new bzimage/root is taken care of:

unRAID 5.0 (final)

- with latest TBS driver and media tree

- added all possible Firmwares which I've found

 

https://truck.it/p/ybRX086vww

 

and tvheadend:

 

but I'm pretty clueless on the others...any help would be greatly appreciated!  :-[

 

I have taken a few minutes to update this Wiki page with the most relevant links: http://lime-technology.com/wiki/index.php/Installing_Tvheadend_in_unRAID

 

Thanks Mettbrot, much appreciated.

 

Decided to take the plunge and attempt a kernel compilation myself and try and muddle my way through. Unfortunately once all the dev packages were installed the telnet session kept kicking me out - just not enough memory in my system . I suppose that is what I should expect when using old bits of tech kicking about the house! :-\

 

Can someone help a brother out?

 

 

So any build for 5.0 Final and HDHOMERUN available? botez build worked great in the past.

 

8)

@rymalco first maybe post dmesg from my last build

@rymalco first maybe post dmesg from my last build

 

dmesg attached (not sure if truncated).

 

installed lsusb and device is showing up:

Bus 001 Device 003: ID 07ca:1835 AVerMedia Technologies, Inc.

 

dmesg_9.9.13.08.16am.txt

@mack

 

What version of HDHomeRun driver are you using in your build? I cannot for the life of me get the Services to have any information, so I was hoping to have my HDHomeRun on the same version.

 

Thanks!

 

I actually don't own a hdhomerun device.  I just used Botez's scripts for hdhomerun support.

 

I'm having problems compiling any new unraid builds.  Hopefully Botez is able to compile for 5.0-final sometime soon.

So any build for 5.0 Final and HDHOMERUN available? botez build worked great in the past.

 

8)

 

I will try to do this eventually.  I didn't want to do it over the weekend and possibly screw things up to the point I couldn't watch any football :)

So any build for 5.0 Final and HDHOMERUN available? botez build worked great in the past.

 

8)

 

I will try to do this eventually.  I didn't want to do it over the weekend and possibly screw things up to the point I couldn't watch any football :)

 

Thanks botez, I wouldnt want to screw a weekend of football either  ;)

Hi Mack,

 

are this version with homerun drivers?

 

Many Thanks

 

Peter

 

Reply:

 

Yes :-)

 

It is working!

 

 

https://www.dropbox.com/s/j5jq9oe0yzef9gb/unraid_5.0_media_all.zip

 

5.0

 

Enjoy.

 

Piotrasd, I borrowed all of the firmwares that you gathered.  I will contribute back if I find more that need added.  We all appreciate your work on this, good job man.

 

Hi mack, I can confirm also that this working brilliantly with my hdhomerun? must be using botez scripts well.

 

Thanks  8)

https://www.dropbox.com/s/j5jq9oe0yzef9gb/unraid_5.0_media_all.zip

 

5.0

 

Enjoy.

 

Piotrasd, I borrowed all of the firmwares that you gathered.  I will contribute back if I find more that need added.  We all appreciate your work on this, good job man.

 

Hi mack, I can confirm also that this working brilliantly with my hdhomerun? must be using botez scripts well.

 

Thanks  8)

 

Mack - Thanks you legend. Now working for me! ;D

piotrasd,

 

What I need is a walkthrough of how to get xmltv working un unRAID in order to feed guide data to the tv_grab_na_dd scraper including what needs to be added to the GO script.

 

xmltv doesn't seem to install under unRAID due to perl dependency issues not compatible with unRAID.

 

Kryspy

 

Hi Kryspy! Here is what I had to do to get things running. It's not 100% unRAID, but it works a treat.

 

For clarity, my TVHEADEND plugin is located in a share called "/mnt/extra/plugins/tvheadend", you'll have to modify according to where you keep yours.

 

My "go" file has the following addition in it, to install the XMLTV components:

 

# install the TVHEADEND / XMLTV package and copy the working tv_find_grabbers to /user/bin
    installpkg /boot/xmltv_package/xmltv-0.5.63-i486-1_W-W.txz
    cp /boot/xmltv_package/tv_find_grabbers /usr/bin/tv_find_grabbers
    chmod +x /user/bin/tv_find_grabbers
    /usr/bin/tv_find_grabbers

 

This then sets up the tv_grab_file in /usr/bin and runs the tv_find_grabbers so TVHEADEND knows it exists.

 

I am using the Windows-based XMLTV utility which grabs my lineup from Schedules Direct and saves it to an XML file.

I downloaded the XMLTV zip and extracted it to my windows machine's C: drive.

I then configured the XMLTV program (in Windows) by running:

 

xmltv tv_grab_na_dd --configure

 

I set it up for my Schedules Direct lineup and then I was ready to grab the actual EPG.

 

The command I'm using (as I'm in Canada) is:

 

xmltv tv_grab_na_dd --days 14 --out channels.xml

 

This grabs 14 days of EPG data and saves it to a file called "channels.xml". This file is then copied to /mnt/extra/plugins/tvheadend/epg on my unRAID server. I created a batch file that runs this command and then scheduled a windows task to fire it every day at 5:00AM.

 

Here's the batch file code:

REM CHANGE TO WORKING DIRECTORY
cd c:\
cd xmltv

REM REMOVE EXISTING XML FILES
del channels.xml
del \\unraidbox\xbmc\extra\plugins\tvheadend\epg\channels.xml

REM GENERATE NEW XML FILE
xmltv tv_grab_na_dd --days 14 --out channels.xml

REM COPY NEW XML TO UNRAID TVHEADEND SHARE
copy channels.xml \\unraidbox\xbmc\extra\plugins\tvheadend\epg

 

Here's the real kicker, you have to change the 'tv_grab_file' to let it know to grab the local file:

 

I modified /usr/bin/tv_grab_file line '7' to read:

cat /mnt/extra/plugins/tvheadend/epg/channels.xml

 

So, the tr_grab_file now knows to look directly to my share to find the current XML file.

 

After I did that, when I clicked on "Save Configuration" under the XMLTV table in TVHEADEND's WEbGUI, it loaded the file, but still was not populating the EPG. I then discovered that I had to go into Channel Configuration and "point" each channel to it's EPG equivalent. This was done by clicking in the XMLTV SOURCE field in the Channels tab of the TVHEADEND webGUI. Once I did that, it extracted a list of the "discovered" channels from my channels.xml file. I matched them all up, hit "Save Configuration" again in the XMLTV GUI and blammo, populated with all kinds of data

 

I hope this may help you, I know it's not a totally unRAID based solution, but there appears to be no way at the present to get XMLTV running right under unRAID due to PERL dependencies that are missing. I went through weeks of agony over this and the solution I am using now is the "best case" scenario for me.

 

Cheers,

 

Km.

 

Hey Tophicles!

 

Where did you d/l the

xmltv-0.5.63-i486-1_W-W.txz

file?

 

 

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  :D

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.

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  :D

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.

 

Wowzers, will give this a go soon :)

 

Thanks Mettbrot.

Looks like Mack beat me to the punch in posting a 5.0 build of unraid with the media tree!  I'm going to give this tvheadend plugin a try now and will report back if anything goes wrong. 

Somebody want Tvheadend (dvb-rewrite branch) ?? there is rewrited engine - core of Tvheadend :) - for now still in testing

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  :D

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.

 

I ran into a problem last night and will try again tonight. Any chance you could include XMLTV  with tv_grab_file support in the package please?

Thank you.

I ran into a problem last night and will try again tonight. Any chance you could include XMLTV  with tv_grab_file support in the package please?

Thank you.

 

add xmltv into tvheadend package ?? why ?? i dont understand reason.

I ran into a problem last night and will try again tonight. Any chance you could include XMLTV  with tv_grab_file support in the package please?

Thank you.

I don't exactly know how xmltv works so I removed all the options from the configuration menu. Is this a txz package that has to be installed or what exactly do you need?

I ran into a problem last night and will try again tonight. Any chance you could include XMLTV  with tv_grab_file support in the package please?

Thank you.

 

You don't need tv_grab_file in the package for it to work.

 

I succeeded in having the grab file show up in the TVH plugin by moving the grab file in another folder where TVH recognized it. I think that the plugin installs TVH in a different place than if you were to install it manually. From the console type (I put this in my go file):

 

cp PATH_TO_PERMANENT_GRAB_FILE/tv_grab_file /usr/bin/   

sudo chmod a+x /usr/bin/tv_grab_file -v

 

 

Then make sure that your grab file is updated with the location of your xmltv.xml file.

 

Restart TVH (from the settings tab, click stop and then start).

 

The grab file should show up in the web interface now.

 

Let me know if this works.

 

For reference, I put my grab file in this location /mnt/disk1/Services/EPG/tv_grab_file

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.