Ubuntu 16.04, tvheadend and SiliconDust HDHomeRun

Decided I would compile Tvheadend again and install it on a Ubuntu 16.04 host. Below is some of my notes that will help others with this installation and problems I hit along the way.

Required packages.

apt-get install unzip libcurl4-openssl-dev pkg-config git build-essential dvb-apps gettext libssl-dev cmake liburiparser-dev libavahi-client-dev
apt-get install hdhomerun-config

Installation/Compiling steps.

wget http://ftp.gnu.org/gnu/libiconv/libiconv-1.15.tar.gz
tar zxvf libiconv-1.15.tar.gz
cd libiconv/
./configure
make install

I created a user called “tvh” which will be used for the running of the software, this way it doesn’t run as root. Plenty of guides about that detail how to create your user and associated correct group assignments to it. So I won’t cover these steps/operations.

Noticed when I executed the product post being compiled i was getting an error.

tvh@oscar:/usr/local/bin$ ./tvheadend
./tvheadend: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory

As you can see from the output below, it’s a library issue.

tvh@oscar:/usr/local/bin$ ldd tvheadend
        linux-vdso.so.1 =>  (0x00007fff1d1e6000)
        libdvben50221.so => /usr/lib/libdvben50221.so (0x00007f3545385000)
        libdvbapi.so => /usr/lib/libdvbapi.so (0x00007f3545180000)
        libucsi.so => /usr/lib/libucsi.so (0x00007f3544f69000)
        libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f3544d00000)
        libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f35448bc000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f35446a1000)
        liburiparser.so.1 => /usr/lib/x86_64-linux-gnu/liburiparser.so.1 (0x00007f3544486000)
        libavahi-common.so.3 => /usr/lib/x86_64-linux-gnu/libavahi-common.so.3 (0x00007f354427a000)
        libavahi-client.so.3 => /usr/lib/x86_64-linux-gnu/libavahi-client.so.3 (0x00007f3544068000)
        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f3543e1c000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3543c18000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f35439fa000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f35436f1000)
        libiconv.so.2 => not found
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f35434e8000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3543166000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3542d9d000)
        libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f3542d17000)
        /lib64/ld-linux-x86-64.so.2 (0x00005642bf9af000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f3542b01000)
        libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f35428de000)
        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f35426bc000)
        libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f35423db000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f354216a000)
        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f3541f56000)

Perform the following steps to address it.

cd /usr/lib/x86_64-linux-gnu
ln -s /usr/local/lib/libiconv.so.2.6.0 libiconv.so.2.6.0
ln -s /usr/local/lib/libiconv.so.2 libiconv.so.2
ln -s /usr/local/lib/libiconv.so libiconv.so

It would appear that Tvheadend has had some improvements since the last time I compiled and installed it.

As shown below we now see a new logo for the product, and now get a wizard which helps with the setup.

Tvheadend is such a great application.

DVBLogic updates DVBLink TVSource to version 6

My DVBLink TVSource setup has continued to run quite good. I was glad to see that when DVBLogic announced updates to DVBLink TVSource I was excited to see what this included.

It was a bonus to see that I got a free upgrade to the new release since I had purchased the product in the time frame required to qualify.

I jumped all in and upgraded my setup. I was a bit concerned on the process but after a bit of reading and cross checking I went for it.

Essentially the upgrade process is to export a backup of your configuration. Now remove DVBLink TVSource add on, upgrade the license in your license portal. Grab the new version of the product and run the upgrade batch file. Once done install the new DVBLink TVSource and license it. Now import configuration saved earlier.

Seemed to all work without a hitch.

I noticed DVBLink Viewer application, but not sure if that was new to this release. Just hadn’t used it until post upgrade. Can see numerous UI tweaks in the various parts of the product too.

Go read more about it here.

Docker Beta

I finally got my Docker Beta invite/code. Had the email arrive today. I had signed up for this several weeks back. I signed up soon as I seen it was announced on Twitter.

I haven’t installed it yet, let alone started to tinker. Going to install it on Windows and play around with a few Linux docker images. Should be good, as I want to test out a few things. This will be perfect for that.

An honest opinion on DVBLink TVSource from DVBLogic

This is my honest opinion on DVBLink TVSource from DVBLogic.

In basic terms, DVBLink and DVBLink TVSource is software that can be used on NAS, PC, Mac and Raspberry Pi platforms that will enable you to enjoy your favorite Satellite (DVB-S/S2), Cable (DVB-C and QAM), Terrestrial (DVB-T/T2 and ATSC), IPTV and Analog channels and recordings within your home network and on the go.

In the case of Australia, this would mainly be used for Terrestrial DVB-T broadcast FTA (Free To Air). Of course you need applicable hardware to be able to interface the software to the broadcast. Will discuss more on that soon.

For background I should mention the recording of DVB broadcast television using a computer is not exactly new to me. I once played a little with Mythtv, and ran a Mythtv backend. However, it never took in the household as it never passed the WAF (Wife Acceptance Factor). I also some years later used some USB tuners on a Macintosh with EyeTV. Over the last year or more I have dabbled with TvHeadEnd and quite liked it, but I wanted to run a product that could run on Windows if possible and be used on a Desktop computer that could do other things as well.

Eventually I got wind of DVBLink TVSource from DVBLogic. I do not remember how I found out about the software, but I did and that started the idea of perhaps it could do what I wanted.

First thing I worked out is that generic USB tuners won’t work with it. You know the cheap ebay Realtek clone ones (read more about that here). So I thought perhaps I will invest in a nice dual tuner PCIe version, as the computer I planned to use it on that available slots (came to the conclusion that a safe purchase would be DNTV Dual Hybrid 7164 PCIe DVB-T Card.

My DVB-T card arrived, and I was certainly impressed. Terrestrial DVB-T cards have certainly improved over the years. If you want to see more pictures of my card you can check them out here.

DVBLink Server is free and DVBLink TVSource can used for 20 days under a trial license to evaluate. So I installed both and installed the hardware drivers for my DVB-T card. To my surprise at the time the card was visible and configurable (considering I hadn’t had any hardware compatible at this point – it was a win).

20160412-dvblogic-dvblink-tv-source-sources

 

Now I would be able to scan for the TV Channels, so that was my next step. Sure enough with a bit of work I was able to achieve this too.

20160412-dvblogic-dvblink-tv-source-channels

 

After this had to wait for the EIT guide data got populated, and once that was done I was able to browse the web interface that shows up and coming shows on each of the channels.

20160412-dvblogic-dvblink-tv-source-tvguide

 

This is also where you can program it and pick what you’d like to be recorded. The web interface is quite responsive and does a good job at doing what it is designed to do.

I found that it was also handy you could see at a glance on the Monitoring web page if the tuners are Idle or in use.

20160412-dvblogic-dvblink-tv-source-monitoring

 

You can play back recordings from the web interface to other devices, however this would incur a cost on CPU power, as transcoding will occur. I personally don’t mind using VLC to play back the files directly from the machine itself, otherwise you can install XBMC/Kodi somewhere and configure the PVR addon for the product. This works really well from my experience. The PVR addon allows you to watch the Live TV and/or recordings. These are streamed over the network.

Live TV and Recordings can also be accessed using VLC using a special formed URL.

Recordings:

http://192.168.n.n:8100/mobile/?command=get_recordedtv_m3u

TV Channels:

http://192.168.n.n:8100/mobile/?command=get_playlist_m3u

You can check out the DVBLogic/DVBLink wiki page for more details on the above feature.

The DVBLink TVSource also broadcasts itself over UPnP/DLNA procotol too.

All in all I am quite happy with the product, and when my trial license expired I set about becoming a registered one. I hope to join the forums and contribute some feedback that might help make the product even better.

This post is NOT sponsored by DVBLogic, it is my own opinion based on my own usage of the product.

DVBLink TVSource from DVBLogic Registered and Licensed

Registered and Licensed our DVBLink TVSource installation from DVBLogic.

I really do like the product. I like the fact it runs under Windows as a service and does the job it was designed to do.

It also does lots of other things it was designed to do, but the thing for me is it will record DVB programs based on EIT broadcast data.

DVBLink from DVBLogic Trial over

I’ve been running DVBLink from DVBLogic in Trial/Demo mode for the last 19 days.

My trial concluded today, as it has expired.

I think the product could certainly use some improvement and I will be pursuing to push a few points on how I think that can be done. Perhaps my ideas have already been suggested by other users in the community.

Generally I would have to say the product works really well, and I didn’t have much issues with what it does best, which records DVB streams.

The license costs when converted to AUD are quite expensive, which works out to be $73 AUD dollars. However, I do think I will be purchasing a license as it works very well under Windows 10, which I have used for part of the trial period, while I was also running it on Windows 8.1 as well too.

Well worth checking out if you have some compatible hardware, and would like to record DVB streams.

Windows Preview – Running Bash on Ubuntu on Windows

This is something that hit the news in the last 24 or so hours and is a in my opinion a game changer. I expect this will have significant impact in the way a lot people might work.

Just click the image below to be redirected to the site/video.

20160331-running-bash-on-ubuntu-on-windows-300x169

I’ll admit, I would probably configure this myself on my Windows 10 computer(s) if and when it becomes available.

unRAID 6 from Lime Technology is simply amazing

I’ve managed to play around with unRAID 6.1.7 from Lime Technology a little further and I cannot describe just how good this product appears to be.

The fact that you can install plugins, enable Virtualization (uses KVM) and enable/install Docker (and have access to a large number of Docker images). This impresses me so much. This software gives you so much flexibility in what a computer running unRAID can be allowed to do and perform.

While I do think a traditional NAS appliance still has it’s place in the market, if you want something a bit more, unRAID is certainly the goods in that department.

Below is a few screen grabs from my demo/test install which I am using a trial key/license.

unRAID 6.1.7 - Dashboard

unRAID 6.1.7 - Main

unRAID 6.1.7 - Plugins

unRAID 6.1.7 - Docker

unRAID 6.1.7 - Docker - Manage Docker Images

The way in which you can manage the Docker images when installed and enabled via the Web UI is simply amazing (as shown above). It seems to work so very well and a user with very little experience can be running these within a very short amount of time.

Highly recommend you check out the follow thread here on the Lime Technology forums on what community contributed Docker templates have been made available.

New IceTV sales tatics

So IceTV sends me the following email…

icetv-new-sales-tatics-20151029

However, I don’t have any recording device associated with my very legacy account. I haven’t been a paid subscriber with them for probably 5 or more years. Yet as you can see they thought it might be nice to send me an email that might provoke me to do something.

Hate to say it IceTV, but I won’t be giving you any money now or in the future. I promptly unsubscribed from the emails. Since IceTV and I will never be friends, now I will be a customer. They burnt the brand with the whole Skippa.tv saga.

EDIT: Looks like they dropped the skippa.tv website, so links to http://skippa.tv currently do not work.

TiVo Series 3 Internal 2TB Hard Drive Upgrade

We’ve had a TiVo Series 3 for a very long time, in fact we actually have two units. I purchased the first one very early on when they came out and the second unit I got during a run out of refurb units (a year after I got my first).

We did have a 1TB DVR Expander for each unit, as I bought one at full price on first unit purchase and got the second at a promo price with the refurb unit. Unfortunately they never stood the test of time and died some time ago. You can imagine recording with a 160GB internal drive is not that great when it comes to space available.

About 4 months ago, I stumbled across some discussion on Whirlpool relating to upgrading the internal hard drive on these units and what would be required to be performed. You can read all about it in this thread here. I downloaded everything required and figured I would do this sometime. I actually also have and older computer that would work as the machine to perform this.

Recently circumstances changed and subsequently with the fall out associated with IceTV failing to deliver our Skippa.tv we decided to upgrade one of the internal drives in our TiVo Series 3.

I purchased a Western Digital Green 2TB – Model WD20EZRX, and proceeded to follow the directions on the forum post here and here (later link the one I followed, shown in summary below by bullet points).

Basically I got my computer I was going to use, hooked up my new WD20EZRX drive (and booted the wdidle3 ISO I downloaded). I executed wdidle3 /D to disable IntelliPark on the WD drive, if it has worked you will see “Idle3 Timer is enabled and set to 3720 seconds (62.0 minutes)”. This means it had worked. Shutdown the computer, disconnect the drive. Since you should remove power from the drive to ensure this change takes place on next restart. You could boot wdidle3 ISO and check it by running wdidle3 with no switches to see that it reports it back.

Next you need to burn the JMFS ISO and ensure that you have removed the original drive from the TiVo Series 3 and connected it to first sata port, and your drive you will clone to (WD20EZRX) onto the second sata port. I now used a USB cdrom, as I had no free sata ports. So booted the JMFS ISO.

  • Run the menu item to do the disk copy from original drive to new drive.
  • Run the menu item to do the expansion of your new drive.
  • WD20EZRX doesn’t support AAM setting, so nothing to be ran relating to that.
  • wdidle3 already performed earlier.
  • I opted to supersize my drive, which means after all steps above done, shutdown. Using WinMFS to “turn on supersize”. This requires your machine booting from Windows, having new cloned drive connected on sata bus and selecting it and enabling the supersize. After this is done you can shutdown, install drive in TiVo Series 3 and look at all the new space.

Screen grab below showing output post JMFS expansion (step following clone operation);

tivo-series3-jmfs-expansion-screen-capture

Screen grabs below showing before and after capacity obtained;

Before Upgrade
Before Upgrade
After Upgrade
After Upgrade

Simpana 10 – Windows File System iDA installation on Windows Server 2008 R2

Just a quick demo of installing Windows File System iDA on Windows Server 2008 R2.

There is no audio in this clip, so you won’t hear me discuss any aspect of the installation and/or options being used.

Documentation for this operation available here. (Interactive Install – Standard)

If you find this video of benefit, please leave feedback. Thanks.

YAMS – Yet another Minecraft Server

Several months ago I had been running a Minecraft server for my son and I to play on. He thought it was wonderful. However, the machine got rebuilt and the server was unavailable for a while. That was until last night.

Couple weeks back I found a program called YAMS, which per the subject of this post means Yet another Minecraft Server. I liked how you could run multiple servers, and some other key features. So I decided to install it, since I could run it on a Windows computer, rather than use Linux like I had been previously. I love Linux, and it runs fine, but I just wanted to use Windows so I could take advantage of the hardware to perform other things.

I finally got it installed and configured last night. Now all we need to do is to test it. I also download Bukkit and setup a server using it. So we can now run a couple of servers and just use a web based GUI to configure it. Now the what plugins to download and install. Guess we have some playing to do.

If you need to download the Bukkit library, it was taken down due to legal issues. But a mirror exists and I found the following mirror here (Yive’s Mirror).

Below is a picture of the YAMS Control dialog;

YAMS-Control