Showing posts with label Freeview. Show all posts
Showing posts with label Freeview. Show all posts

Wednesday, 25 February 2015

Kodi-PVR-MythTV and mythbackend settings

Sometimes you find a fix for a problem that's so simple you want to kick yourself.

I'd been unable to watch live TV streams on other frontends (OpenElec on Raspberry Pi, Ubuntu laptop, and Windows 8 laptop) around the house for several months. Having searched extensively and posted the problem on forums I could not seem to solve the issue.

Even though mythbackend would serve live TV to Kodi frontend on the same machine, I could not serve these streams across my local network to other machines running Kodi. The error message in the mythbackend log was "Client speaks protocol version 75 but we speak 77!" when attempting to connect from some devices (e.g. Raspberry Pi), and "Client speaks protocol version 8 but we speak 77!" when attempting to connect from others (e.g. Windows 8)

After some prodding around in the mythtv-setup options, I accidentally blanked out the IPV6 field in the "general" settings section. I then blanked out the IPV6 fields in the kodi-pvr-mythtv settings on the frontend client, and hey presto! It worked! Live TV streamed without issue.

What I found amazing was that this was a such a simple fix yet I had been struggling to overcome the live TV streaming for months. The reason it had baffled me is that in mythtv-setup settings the IPV6 field hint suggests that if I will be connecting to the backend from frontends on other machines then the field shopuld not be left blank. I hadn't really given this much thought other than, my Kodi frontends are on other machines therefore the field should not be left blank. In retrospect, I guess this hint refers to MythTV frontends, not other frontends such as Kodi, which is what threw me.

Tuesday, 10 February 2015

Best Kodi add-ons for use in the UK

There are hundreds of add-ons for Kodi. Many don't work, some give you access to content which is illegal to view in the UK such as copyrighted movies, sport and television series, and some seem to just be too niche to be any use to most people in the UK (Gun reviews in Russian anyone?). Amongst them are some gems. Here is a post to help UK Kodi users find the diamonds in the rough.



    BBC iPlayer This essential add-on allows streaming of live and BBC TV and radio and catch-up TV from the iPlayer database. It has a much simpler menu system than the layout on BBC's content-heavy iPlayer website, which is either a good thing or a bad thing depending on your preference. Personally I like its simplicity and aside from Cmyth (see below), this is my most used add-on.








    ITV Player Again, another essential add-on for UK viewers. Not quite as slick as the iPlayer add-on in terms of menu layout, but still easy to use, and allows streaming of live ITV broadcasts across ITV1, ITV2, ITV3 and ITV4 as well as streaming catch-up TV from ITV player's database.






    USTVnow UK viewers can get live (HD for several months before reverting to SD) access to 6 US channels, for free. ABC, NBC, Fox, CBS, CW, and PBS). OK, this one is a bit of a grey area as it is designed for US citizens living abroad, and requires you to tick a box saying so. However, the only time I use this add-on is when my American pal visits to watch the superbowl. That's my excuse and I'm sticking to it! If you visit https://www.ustvnow.com/ and sign up for free registration, you can then add your username and password to the USTVnow add-on settings and the add-on will stream these free to view channels in Kodi.



    Youtube Allows quick and easy access to Youtube direct from 
    Kodi. Unfortunately, Youtube seems to have limited access to some DRM-protected content such as official music videos, meaning they can't be viewed from Kodi, but you could view them via a browser. Nonetheless, still a useful add-on.




    Radio If BBC radio isn't broad enough for your listening tastes (Zouk, anyone?), Radio gives you access to hundreds, maybe even thousands (I haven't counted - let's just say, lots!) of international radio stations, which you can search by popularity, genre, topic, country, city, language, or search for local stations.








    FilmOn Allows access to free to air channels from UK Freeview and many others around the world. The picture quality is not particularly good, but this is made up for by the range of channels available.









    Spotimc You'll need a premium Spotify account for this to work. If so, installing this add on lets you search for music, browse for music and play your favourite playlists, all from inside Kodi.





    This is just a small selection of the Kodi add-ons out there, and these happen to be my most often used ones. I also use a MythTV add-on which connects to my MythTV backend for me to watch and record UK Freeview TV and Radio.

    Hope this list has been of some use to other Kodi users in the UK.


    Friday, 30 January 2015

    BBC iPlayer add-on for Kodi, and Channel 4's 4oD

    After being stopped by BBC several months ago, I've just noticed that the BBC iPlayer add-on for Kodi is working again. I can now watch live BBC TV and access all iPlayer's catch-up recordings via this add-on.

    This is good news as I no longer have to access it via browser - the Kodi addon works so well and is far easier to navigate and find programmes than BBC's own iPlayer web site.

    If only Channel 4 would allow such third party access to their 4oD service, too. I appreciate it is available on Windows PCs, iOS, Android, some games consoles, Smart TVs and set top boxes, but Channel 4's use of DRM restricts access to viewing via one of these devices. So, my only way of accessing 4oD is via Android - not a great viewing experience! Come on Channel 4, please open up http://m.channel4.com/4od/ once again so that third party 4oD apps can work again. I've tweeted Channel 4 with this request and on the form at http://www.channel4.com/4viewers/contact-us. You could do the same if this matters to you, too.

    Tuesday, 10 June 2014

    TBS6285 Part 2

    Following on from my previous post http://ubuntulinuxhtpc.blogspot.co.uk/2014/05/tbs6285.html I've received the quad-tuner and installed it, having overcome a few hurdles. I've described the process I followed, below. If you can't get this card to work, feel free to get in touch, and I should be able to help you get up and running.




    The first hurdle to overcome was installation of the linux drivers for the TBS6285. These can be downloaded from http://www.tbsdtv.com/download/. After help from Constantine, developer at Turbosight (TBS), it turned out that my motherboard (MSI 990FXA-GD65) is one of many faulty ones floating around (there is a buggy ASM1083 chip soldered between PCIe and PCI bus) which cannot handle IRQ from the card and causes an interrupt storm from the card. To overcome that I did the following (from http://www.tbsdtv.com/forum/viewtopic.php?f=52&t=7631#p24903):

    1. Create a .conf file 
    sudo gedit /etc/modprobe.d/tbs.conf
    2. Edit contents of .conf file by inserting the following two lines and saving file
    options saa716x_tbs-dvb int_type=1
    options saa716x_tbs-dvb enable_ir=0 
    The first line activates MSI (Message Signal Interrupts) instead of the older IRQ. The second disables remote control receiver on the card to make sure the interrupt storm is not coming from there).

    3. Reboot to load the driver with MSI loaded.

    Then, following intructions from http://www.linuxtv.org/wiki/index.php/TBS6285#Making_it_Work and http://www.linuxtv.org/wiki/index.php/TBS6284 with a few amendments for TBS6285 and some permissions problems, I managed to get the card working. These are the commands I used:

    1. Extract the ZIP file tbs-linux-drivers_v[VERSION NUMBER].zip. As of 25 April 2014, the latest version is 140425.
    unp -u tbs-linux-drivers_v140425.zip
    2. Extract linux-tbs-drivers.tar.bz2 archive
    cd tbs-linux-drivers_v140425 
    unp linux-tbs-drivers.tar.bz2
    3. Change ownership and permissions of extracted files
    sudo chown -R <yourusername> tbs-linux-drivers_v140425
    sudo chmod -R 777 tbs-linux-drivers_v140425 
    4. Change to driver package directory
    cd tbs-linux-drivers_v140425
    cd linux-tbs-drivers
    4.1 (If on fresh install on CentOS or similar)     
    yum install kernel-devel-`uname -r`
    cd linux-tbs-drivers
    make clean
    make distclean
     (move to Step 5)
      
    5. Select platform architecture
    (for any x86_64 kernel only)

    enter into a terminal: 
    ./v4l/tbs-dvbc-x86_64.sh
    and then:
    ./v4l/tbs-x86_64.sh
    6. Build the driver. Recompiles v4l for a wide range of cards, around 500, will take many minutes.
    make
            (I modify this to make -j7  to use all 6 cores of my CPU)

    7. Install driver
    sudo make install
    8. Reboot, then
    (Ubuntu-based distros only. See http://www.linuxtv.org/wiki/index.php/TBS6285#Making_it_Work for other distros)
    sudo rm -Rf /lib/modules/<your kernel version>/kernel/drivers/media
    9. Reinstall drivers
    cd tbs-linux-drivers_v140425 
    cd linux-tbs-drivers 
    sudo make install
    10. Load newly installed driver
    sudo modprobe -v tbs62x0fe
    insmod /lib/modules/3.(your kernel version)-generic/kernel/drivers/media/dvb/frontends/tbs62x0fe.ko
    11. Check it loaded correctly

    Reboot:
    sudo shutdown -r now
    After rebooting and logging back in, check to see if dvb adaptor nodes now exist:
    ls -al /dev/dvb
    You should see something similar to the following displayed in your terminal:
    drwxr-xr-x  2 root root  120 Jul  9 21:12 adapter0
    drwxr-xr-x  2 root root  120 Jul  9 21:12 adapter1
    drwxr-xr-x  2 root root  120 Jul  9 21:12 adapter2
    drwxr-xr-x  2 root root  120 Jul  9 21:12 adapter3
    This should give you a correctly installed TBS6285 on Ubuntu 14.04 (after trials and tribulations, it did for me!)

    Saturday, 10 May 2014

    Watch live terrestrial UK TV and catch-up TV on XBMC

    As well as watching your film and listening to your music collection, XBMC's add-ons are a great way of being able to access content on the web including access to UK Freeview live TV and radio streams and catch-up TV including the BBC, ITV and Channel 4.


    The process is straightforward enough, with plenty of guides on the internet, but here is one which I found really clear and easy to follow (thanks to Jamestonbradley).

    Once you've added the relevant add-ons, you should be able to view UK TV (BBC content is intended to be viewed in the UK only, so if your IP address is non-UK, you may not be able to view BBC streams).

    This should also give you enough practice with video add-ons to be able to search through the hundreds of other add-ons available to see if there is anything else that is of interest to you e.g. MTV music videos, IMDB movie trailers, various kids TV channels, classic movies, extreme sports, cooking, the list goes on... have a look here to see a list of some of the video add-ons available.