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

Dear users.

 

I present a new cool plugin for Tvheadend.

 

Tvheadend is a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources.

It also comes with a powerful and easy to use web interface both used for configuration and day-to-day operations, such as searching the EPG and scheduling recordings.

Even so, the most notable feature of Tvheadend is how easy it is to set up: Install it, navigate to the web user interface, drill into the TV adapters tab, select your current location and Tvheadend will start scanning channels and present them to you in just a few minutes.

 

By Tvheadend you can even stream your favorite TV channel into local network by IPTV so you can receive it by XBMC, openELEC and many more multimedia systems. You can also use Serviio to stream it into any DLNA device.

 

This plugin required two things:

1. MEDIA tree in unRAID system - if you don't have it... it's not the problem... you can download it directly from plugin web page. By this plugin you can download bzimage and bzroot (based on 5.0-rc4 unRAID system) files with MEDIA tree and also lots of FW tuners so your system will handle all DVB tuners compatible with driver inside kernel 3.0.x or with TBS and Dvbsky brand.

2. Some DVB tuner.

 

Here are screenshots representing which tuners linux kernel supports:

http://dl.dropbox.com/u/19960175/unRAID/up.png

http://dl.dropbox.com/u/19960175/unRAID/uq.png

http://dl.dropbox.com/u/19960175/unRAID/ur.png

http://dl.dropbox.com/u/19960175/unRAID/ut.png

http://dl.dropbox.com/u/19960175/unRAID/uu.png

http://dl.dropbox.com/u/19960175/unRAID/uv.png

 

In the attachments you will find some screenshoots of this plugin and also Tvheadend. Please check my GitHub for the newest versions of plugins.

 

Regards

W-W

tvheadend_1.jpg.b1d50cb32492de69ef1fe1cf3a46ca42.jpg

tvheadend_2.jpg.d633281a81ac1a8c89e17100f05e146e.jpg

tvheadend_3.jpg.239301484cfdbbcfc038b02b88c6fc8b.jpg

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

Very cool. 8)

How much processing power do you think this will require? May have a reason for a cache drive.

 

Edit: Might as well post the tvheadend site as well:

https://www.lonelycoder.com/tvheadend/

1-3W per tuner but there is some tweek for disable power when tuner go to idle

  • Author

Very cool. 8)

How much processing power do you think this will require? May have a reason for a cache drive.

 

Edit: Might as well post the tvheadend site as well:

https://www.lonelycoder.com/tvheadend/

 

It consumes very little CPU resources. It can working without cache drive but you must know that in data dir there are many files with channel list which is often automatically updated.

Does the downloadable bzimage / bzroot include the dvbhdhomerun driver?

Which tuners are compatible with this? I didn't think unraid had support for any tuner cards! This is extremely exciting for me! Been wanting to implement something like this for ages to have my xbmc be able to have Live TV support .

 

I have a DVB-T 2 card made by PEAK (peakhardware.com) (PEAK 22 | 544AGPK) would this be compatible ?

 

And does it matter which image i install? Obviously theres dvbsky or TBS but as its neither does it matter which i choose? or does the 'and other' support all others for either?)

I have a DVB-T 2 card made by PEAK (peakhardware.com) (PEAK 22 | 544AGPK) would this be compatible ?

 

I dont saw in kernel but if you delivery me driver for linux kernel 3.x then i can try add to next build of bzroot

  • Author

Which tuners are compatible with this? I didn't think unraid had support for any tuner cards! This is extremely exciting for me! Been wanting to implement something like this for ages to have my xbmc be able to have Live TV support .

 

I have a DVB-T 2 card made by PEAK (peakhardware.com) (PEAK 22 | 544AGPK) would this be compatible ?

 

And does it matter which image i install? Obviously theres dvbsky or TBS but as its neither does it matter which i choose? or does the 'and other' support all others for either?)

 

Normally unRAID hadn't support for tuner cards but this two files are recompiled with MEDIA tree and tuner drivers enabled in kernel.

You can stream any channel to your XBMC. You can even create user accounts in Tvheadend so you can stream for channel A, B, C to your one XBMC machine and channel D, E, F to other.

 

If you don't have Dvbsky or TBS tuner, choose what you want. This is because Dvbsky image file have Dvbsky branded tuner drivers + other tuner drivers same as TBS image.

It's okay, its recognized my card as a Afatech AF9013 DVB-T :) All working great so far!

 

I'll keep tinkering though! Either way excellent plugin,

 

although first bootup from settings, (once all bits were installed) it seemed to freeze up the unraid gui. Nothing would load etc, until i refreshed the page that was loading tvheadend (and after that everything unfroze) syslog shows nothing abnormal, so maybe it was a pure coincidence but i thought i'd mention it incase theres something in there making it hang

  • Author

It's okay, its recognized my card as a Afatech AF9013 DVB-T :) All working great so far!

 

I'll keep tinkering though! Either way excellent plugin,

 

although first bootup from settings, (once all bits were installed) it seemed to freeze up the unraid gui. Nothing would load etc, until i refreshed the page that was loading tvheadend (and after that everything unfroze) syslog shows nothing abnormal, so maybe it was a pure coincidence but i thought i'd mention it incase theres something in there making it hang

 

Right. First install from unraid web take some time - it depends on your internet connection speed but at the bottom of the page you always have some info about whats going on.

Fully completed installation is when you have a "MEDIA TREE DOWNLOADED AND INSTALLED, PLEASE REBOOT YOUR SYSTEM" (in case when you did not have MEDIA tree in unRAID)  message below Download & Install button.

I have both these cards:

 

Hauppauge WinTv HVR-1600 NTSC/ATSC QAM Combo

Hauppauge WinTv HVR-2250 (8851) dual tunner NTSC/ATSC QAM Combo

 

Will either work on the Tvheadend plugin?

 

I can not try them rite now. Unraid 5.0rc4 is not working on my system, rc3 does. I think my iBM Br10i needs a flash to a  newer bios? If one of these Hauppauge cards would work I would see about getting rc4 running on my system. If not rc3 is fine for me for now.

 

Does QAM work on the Tvheadend plugin?

 

Loaded the Tvheadend plugin looks real good. Thanks for all your work!

 

Reed

Hauppauge WinTv HVR-1600 NTSC/ATSC QAM Combo

Hauppauge WinTv HVR-2250 (8851) dual tunner NTSC/ATSC QAM Combo

 

Hi i think both card should work - Hauppauge have support for almost all tuners in kernel

(im myself use one :) )

 

And i have some build with rc3 with media tree so later i put on dropbox and share with you link

Does the downloadable bzimage / bzroot include the dvbhdhomerun driver?

 

Actually would be awesome if we could have support for this....I hate building it myself and there are many people with these tuners now.

 

http://sourceforge.net/apps/trac/dvbhdhomerun/

I can not log into http://tower:9981/ it will  not accept my username and password. At first I used admin admin. Then I tried to change it. the file /mnt/cache/data/tvheadend/.htsconfig/superuser does contain the updated username and password. The directory /mnt/cache/data is a cache only share.

 

Here are my settings:

 

Enable Tvheadend:                    yes

Data directory:                       /mnt/cache/data/tvheadend/.htsconfig

Group:                               video

Run as user:                            nobody

Status: RUNNING

Tvheadend storage memory usage: install directory: 519K, data directory: 4.0K

Your data will persist after a reboot

System requirements: PASSED

MEDIA tree:                         DETECTED

DVB tuner:                         DETECTED

Tvheadend login/password: ACCEPTED

 

Reed

 

Solved /mnt/cache/data/tvheadend/.htsconfig/superuser was root root changed to nobody users

 

New version of plugin coming soon !!! XMLTV - EPG support

 

 

htstv.jpg

 

Does the downloadable bzimage / bzroot include the dvbhdhomerun driver?

 

Actually would be awesome if we could have support for this....I hate building it myself and there are many people with these tuners now.

 

http://sourceforge.net/apps/trac/dvbhdhomerun/

 

I second this request!

Quote from: bonzi on June 14, 2012, 12:19:56 AM

Quote from: Elysium on June 11, 2012, 09:46:12 PM

Does the downloadable bzimage / bzroot include the dvbhdhomerun driver?

 

Actually would be awesome if we could have support for this....I hate building it myself and there are many people with these tuners now.

 

http://sourceforge.net/apps/trac/dvbhdhomerun/

 

I second this request!

 

Ok i try on next time add driver when i will be create bzroot but i can't promise

(I do not have this tuner to test)

I am currently using tvheadend on Ubuntu 12.04 but would love to come back to unraid.  Problem is I use and need the build of tvheadend with .ts support to serve my PS3s.

 

https://github.com/EricV/tvheadend

 

How difficult is it to substitute that build?

 

Kryspy

I am currently using tvheadend on Ubuntu 12.04 but would love to come back to unraid.  Problem is I use and need the build of tvheadend with .ts support to serve my PS3s.

 

https://github.com/EricV/tvheadend

 

How difficult is it to substitute that build?

 

Already this version is in W-W packages ;)

And if i good remember you can use on JB PS3 -"Showtime" from author of tvheadend for watch TV on PS3 (without transcoding or some server)

 

 

that's awesome.  I'm going to give this a go later today.

 

Kryspy

 

Quote from: bonzi on June 14, 2012, 12:19:56 AM

Quote from: Elysium on June 11, 2012, 09:46:12 PM

Does the downloadable bzimage / bzroot include the dvbhdhomerun driver?

 

Actually would be awesome if we could have support for this....I hate building it myself and there are many people with these tuners now.

 

http://sourceforge.net/apps/trac/dvbhdhomerun/

 

I second this request!

 

Ok i try on next time add driver when i will be create bzroot but i can't promise

(I do not have this tuner to test)

 

Yeah I too would like to see support for Homerun devices

 

Thanks so Much!!

Quote from: bonzi on June 14, 2012, 12:19:56 AM

Quote from: Elysium on June 11, 2012, 09:46:12 PM

Does the downloadable bzimage / bzroot include the dvbhdhomerun driver?

 

Actually would be awesome if we could have support for this....I hate building it myself and there are many people with these tuners now.

 

http://sourceforge.net/apps/trac/dvbhdhomerun/

 

I second this request!

 

Ok i try on next time add driver when i will be create bzroot but i can't promise

(I do not have this tuner to test)

 

Well, it's easy to build. However given that it is a network tuner, the network has to be up when the modules load. So you have to check this or add the correct delay to ensure the network is up. Also, the modules interact with userhdhomerun so that should be executed after the modules. Then you can execute tvheadend. Only after all this has been done will the tuner show up and work.

 

Since you don't have a tuner...this could be a little tricky to figure out. I just made a new bzroot for myself with the hdhomerun drives. It seems to be working. I don't mind posting it if that's ok.

Since you don't have a tuner...this could be a little tricky to figure out. I just made a new bzroot for myself with the hdhomerun drives. It seems to be working. I don't mind posting it if that's ok.

 

yes, please :) even we can mount your image to plugin for more automatical/easy for users

Ok, sounds good. I put it in my dropbox http://dl.dropbox.com/u/14312938/unRAID-5.0rc4-dvbhdhomerun.zip. In order to start it so that it is usable for tvheadend, I created a script that is executed from go at startup:

 

#! /bin/sh
cd /lib/modules/3.0.33-unRAID/extra/
modprobe dvb_hdhomerun
sleep 3
/usr/bin/userhdhomerun &

 

I have more stuff in the script so that tvheadend starts after all this stuff. But basically if you can start the plugin after this stuff you should be good.

 

EDIT: By the way, I also have included tv_grab_file in usr/bin. It expects xmltv.xml to be in /mnt/cache/.xmltv/ I have mc2xml running to get this every night in cron.

Kinda at my wits end here.  I get 401 unauthorized no matter what I do.  I did a chown nobody:users on the superuser file.  my data directory is /mnt/cache/tvheadend/.htsconfig.

 

Any ideas?

 

Kryspy

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.