Tvheadend plugin for unRAID V5.0


Recommended Posts

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

Link to comment
  • Replies 983
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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?)

Link to comment

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.

Link to comment

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

Link to comment

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.

Link to comment

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

Link to comment
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

Link to comment

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

Link to comment
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)

Link to comment
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)

 

 

Link to comment

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!!

Link to comment

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.

Link to comment
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

Link to comment

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.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.