{"id":1228,"date":"2010-02-11T13:01:58","date_gmt":"2010-02-11T13:01:58","guid":{"rendered":"http:\/\/dalelane.co.uk\/blog\/?p=1228"},"modified":"2010-02-11T13:01:58","modified_gmt":"2010-02-11T13:01:58","slug":"why-i-use-vdr-for-tv","status":"publish","type":"post","link":"https:\/\/dalelane.co.uk\/blog\/?p=1228","title":{"rendered":"Why I use vdr for TV"},"content":{"rendered":"<p>Both here and on twitter, I&#8217;ve mentioned a few of the things I&#8217;ve done with my <a target=\"_blank\" href=\"http:\/\/www.linuxtv.org\/vdrwiki\/index.php\/Main_Page\">vdr<\/a>-based media computer. In this post, I want to quickly take a step back and explain what made me go for this setup in the first place. <\/p>\n<p>By way of quick background, we&#8217;ve now got an <a target=\"_blank\" href=\"http:\/\/www.asrock.com\/nettop\/spec\/ion%20330.asp\">Asrock Ion 330<\/a> living under the TV as a set-top box, connected to the TV via an HDMI cable, and receiving a digital freeview signal over USB from the twin tuners in a <a target=\"_blank\" href=\"http:\/\/linuxtv.org\/wiki\/index.php\/Sony_PlayTV_dual_tuner_DVB-T\">Sony Play-TV<\/a>. It&#8217;s quiet, has reasonably low power requirements, is small and pretty, can be controlled by a remote control using a small infra-red receiver plugged into a USB port, and has plenty of storage between it&#8217;s own hard-drive and the 500 GB on the Western Digital My Book attached over USB.  <\/p>\n<p>This isn&#8217;t a &#8220;why I use vdr instead of <a target=\"_blank\" href=\"http:\/\/www.mythtv.org\/\">MythTV<\/a> (or any other open-source <a href=\"http:\/\/en.wikipedia.org\/wiki\/Home_theater_PC\" target=\"_blank\">HTPC<\/a> software&#8221; post. Mainly because I don&#8217;t know enough about the alternatives to talk about them intelligently. <\/p>\n<p>Instead, I wanted to explain why I went for setting up a Linux computer with a TV card instead of just buying another set-top box appliance when ours died last year. It&#8217;s not as simple (set-top boxes pretty much set themselves up nowadays) and certainly wasn&#8217;t cheaper (largely because I was starting from scratch &#8211; if I already had a server to use, that&#8217;d be different). So what was the incentive?<\/p>\n<p><!--more--><strong>Consolidation<\/strong><\/p>\n<p>It gave me a chance to pull a few things together. I wanted a safe place to store digital photos, a server to run some personal code projects on that were getting too much for <a href=\"http:\/\/dalelane.co.uk\/blog\/?p=267\" target=\"_blank\">my Slug<\/a> to handle, a media server for videos and mp3s, something to handle backups for the netbooks at home, and so on. <\/p>\n<p>I could&#8217;ve gone for separate devices for each &#8211; e.g. something a little bigger than the slug (or another slug!) to run code on, a network-attached storage device for backups and media, etc. But I liked the idea of a single server that would pull all of this together. And including TV recording and watching with the whole thing seemed to fit well. It also made the cost a little easier to justify.<\/p>\n<p><strong>Remote access, including mobile<\/strong><\/p>\n<p><a target=\"_blank\" href=\"http:\/\/live.vdr-developer.org\/\">vdr live<\/a> gives me a web-based interface to the TV &#8211; letting me do anything that you can do from the remote control. Most importantly, this lets me schedule recordings while I&#8217;m not at home, including from my mobile. This is something I use a lot, and couldn&#8217;t do with my old set-top box.  <\/p>\n<p><strong>Radio as well as TV<\/strong><\/p>\n<p>As with most set-top boxes, it can use the freeview signal to get a bunch of radio stations. Unlike my old set-top box, once recorded it can export the radio programme to an mp3 file I can transfer to my phone, for listening to in the gym or car. (<em>On the off-chance that this is illegal, I do promise that this is entirely for my own use, I don&#8217;t distribute the mp3s, and delete them after listening to them &#8211; honest!<\/em>)<\/p>\n<p><strong>Web video as well as freeview<\/strong><\/p>\n<p>With the right plugin, the vdr front-end includes a remote-control-friendly interface for searching and watching videos from Google Video and YouTube. I quite like being able to get YouTube on the TV, and use it more than I thought I would. <\/p>\n<p>I also watch programmes from iPlayer, too &#8211; although it must be said that the integration isn&#8217;t as nice. (I have to use <a target=\"_blank\" href=\"http:\/\/linuxcentre.net\/getiplayer\">get-iplayer<\/a> at the command line to find and download programmes. Once downloaded, the vdr front-end does include a Media Player, so I can use the remote control to browse to the downloaded video file and play it). <\/p>\n<p>I always used to watch web video on my laptop, but being able to do it on the TV is much nicer. If my laptop is off, it&#8217;s easier. If my laptop is on, it means I don&#8217;t need to stop what I&#8217;m doing to bring the video to the front. <\/p>\n<p><strong>Adding commands and tweaks<\/strong><\/p>\n<p>It&#8217;s hackable! It&#8217;s open-source, so if there is something that I don&#8217;t like about how it works, I can change it. If it doesn&#8217;t do something that I&#8217;d like it to do, I can add it.  <\/p>\n<p>Examples of the sorts of stuff that I&#8217;ve done include:<\/p>\n<p>Setting up macros for spare keys on the remote control &#8211; for example, pressing the big green button at the top of the remote switches on the TV, sets the volume to a preset level and changes to CBeebies. It means that the kids can put the TV on without needing to navigate menus or remember channel numbers. And I&#8217;ve assigned other shortcuts and macros to keys for things that I do repeatedly.<\/p>\n<p><a href=\"http:\/\/dalelane.co.uk\/blog\/?p=991\">Displaying my current location<\/a> &#8211; pressing one of the buttons on the remote control flashes my current location up on screen. Based on the location of my mobile phone (taken from Google Latitude), it is a quick way for my family to check where I am without needing to switch on a computer.<\/p>\n<p><a href=\"http:\/\/dalelane.co.uk\/blog\/?p=1176\">Monitoring and visualising my TV watching<\/a> &#8211; everything I watch is captured, and the resulting last.fm-style stats are displayed, showing me which channels I watch the most, how much recorded vs live television I watch, which programmes I spend the most time watching, what sort of TV I watch at different times of day, how long I tend to watch TV before channel-hopping, and much more.<\/p>\n<p><strong>Other neat features<\/strong><\/p>\n<p>There are several other features that are continually added to vdr. For example, I&#8217;ve put two digital tuners into the box so that I can record one channel while watching another. <\/p>\n<p>But we can actually record\/watch more than two channels at once, because vdr can cope with decoding multiple channels from a single multiplex per tuner. <\/p>\n<p>For example, tuner one can record or watch both BBC ONE and BBC TWO (because those two channels are on the same multiplex), while tuner two records or watches Channel 4 and E4. <\/p>\n<p>This means that I often get the benefit of a third tuner, without having had to pay for a third tuner. <\/p>\n<p><strong>Upgradeable<\/strong><\/p>\n<p>That said, if I want more tuners, it&#8217;s trivial to add another one &#8211; I would just need to buy another USB DVB-T tuner to plug in next to the Sony Play-TV tuner I&#8217;ve already got. <\/p>\n<p>Similarly, it&#8217;s easy to add more space if I run out of room. We record more than we watch. So with our old set-top box, we were regularly running out of space and having to go through and delete stuff. This is less of a problem with a system that came with a 320GB harddrive, but if we do run out of room, I can easily add extra hard-drive space. <\/p>\n<p><strong>Not as hard as it used to be<\/strong><\/p>\n<p>Finally, although not as simple as plugging in a set-top box appliance, it&#8217;s really not been that hard to get it working. Most of the software I&#8217;ve used comes in Ubuntu repositories, so installing can all be done using normal Ubuntu software management. (I did most of it using commands like <code>sudo aptitude install vdr<\/code>). <\/p>\n<p>Overall, I&#8217;m liking setting up our own TV. To be honest, it&#8217;s the open-ness and hackability of the platform that was the main draw (<em>making it all the stranger how tempted I am by the iPad, which is the empitome of appliance compmuting rather than an open modifyable platform<\/em>).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Both here and on twitter, I&#8217;ve mentioned a few of the things I&#8217;ve done with my vdr-based media computer. In this post, I want to quickly take a step back and explain what made me go for this setup in the first place. By way of quick background, we&#8217;ve now got an Asrock Ion 330 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[427],"class_list":["post-1228","post","type-post","status-publish","format-standard","hentry","category-tech","tag-vdr"],"_links":{"self":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1228"}],"version-history":[{"count":0,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1228\/revisions"}],"wp:attachment":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}