element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
element14's The Ben Heck Show
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • More
  • Cancel
element14's The Ben Heck Show
Documents Watching The Ben Heck Show on your Media Centre
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join element14's The Ben Heck Show to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: cstanton
  • Date Created: 14 May 2015 4:11 PM Date Created
  • Last Updated Last Updated: 5 Jun 2015 8:51 PM
  • Views 1029 views
  • Likes 4 likes
  • Comments 3 comments
Related
Recommended

Watching The Ben Heck Show on your Media Centre

TV-Guide Me!image

 

On The Ben Heck Show, in Ben Heck's Raspberry Pi Media Centre episode, Ben and Felix set-up an instance of OpenElec on a Raspberry Pi Model B because they need something to watch!

 

Through a rather concise step by step guide, they take you through the steps of setting up an SDCard with a snapshot of the Linux Operating System and software, followed by connecting it up to a temporary screen and browsing to a file system share on the network. They also cover how to access your media centre over the network via SSH to be able to administrate it, something that is very useful. If you haven't seen the episode, I definitely recommend you check it out (personally, I like the out-takes at the end).

 

What can I Watch?!

 

So once you have your media centre in place, its probably a good idea to watch something on it. I am not going to go into the areas of backing up your DVDs, Blu-Rays, or how to watch Television shows or Films on your media centre. If you search on the internet you can no doubt find guides on how to get that going yourself.

 

Instead, what I am going to cover, is how to watch The Ben Heck Show on your media centre! Now, for the sake of convenience on my part, I will be using Kodi on a laptop, so that I can acquire screenshots easily and cleanly. However, the setup is not too different for you on OpenElec (and if you require help with it I can set-up a Raspberry Pi later with it on and guide you along).

 

There are two main ways you can watch The Ben Heck Show on your media centre, the first is to use the YouTube add-on, you can sign in to your Google account (if you want) and browse your subscriptions. Or you can search YouTube for "The Ben Heck Show" and play an episode you can see how this this can look (depending on how you setup the YouTube add on) in the following gallery:

 

{gallery} The Ben Heck Show - YouTube

image

YouTube Add-on in Kodi: Under 'Videos' you can find 'Add-ons'

image

YouTube Add-on in Kodi: If we don't have any add-ons we'll want to 'get more', alternatively manage add-ons under 'System'

image

YouTube Add-on in Kodi: YouTube is listed, select it

image

YouTube Add-on in Kodi: Then choose 'Install', once installed we can use this screen to configure it as well

image

YouTube Add-on in Kodi: When we run the add-on we can choose to sign in, or go to search

image

YouTube Add-on in Kodi: If you've got a keyboard plugged in this step is a LOT easier

image

YouTube Add-on in Kodi: We can now select and play an episode or playlist! Settings like quality are in the add-on options.

 

Ok, but I knew about YouTube..

 

The second way you can watch The Ben Heck Show, is if you download it yourself and set it up as a TV Show!

 

Yes, even though The Ben Heck Show is not on cable or your digital television (at least that I know of, would that be cool?) you can setup your media centre to browse films and tv shows and have The Ben Heck Show appear as one of them. When you have your media centre installed, it does not list 'TV Shows' or 'Films' by default until you actually add folders to your library (as covered by Ben and Felix) and set their source.

 

Leaving your 'library' without setting a source where you can browse video files is fine if you just want to browse files as they are. However I like metadata and pretty pictures. I like The Ben Heck Show appearing like this:

 

{gallery} The Ben Heck Show in Kodi

image

The Ben Heck Show in Kodi: Tadaa! It's a documentary, who knew?

image

The Ben Heck Show in Kodi: Seasons have art for them, Revision 3 used to host TBHS, now it's element14

image

The Ben Heck Show in Kodi: Season 5 episodes! I didn't grab the latest one yet.

image

The Ben Heck Show in Kodi: Ah Ben, you teach us so much.

 

How did you do that?!

 

I'll tell you, do not worry! Before I go into downloading the YouTube videos (frankly, you may already have a method yourself, feel free to use any method you personally find, but I have one I will introduce), I want to introduce to you TheTVDB !

 

Some time ago, in the days of the original XBox games console, it was hacked and cracked. Thus, XBMC was born (XBox Media Centre) and every pirate and possibly legitimate person whom backed up their DVDs put all of their media onto the XBox hard drive and needed a way to browse their films, television shows and other files. What people then wanted, was a fancy way to browse said files using graphics and titles from the shows or themed by them. Thus, websites such as The TVDB was born.

 

image

These days, XBMC is known as Kodi, which has spawned into various different derivatives across platforms. One being OpenElec. When you follow Ben Heck's video on setting up your network share and you add a video source as 'TV' the default website the media centre will use for 'scraping' (that is searching and identifying) episodes will be TheTVDB.

 

It is also entirely community run. If you want to add an episode, make sure the descriptions are correct or upload graphics, then you can! There are also forums where you can contest whether or not episodes or series are named correctly. It is here where I recently had the administrators ensure that The Ben Heck Show had a Season 5.

 

image

 

Under each season it then lists the episodes, and how they are named for TheTVDB to recognise them:

 

image

 

These are definitely not necessarily accurate, I have been going in and editing some of the episodes to make sure they're correct but it's definitely a community effort, for example there's no graphic for Season 5 at present - especially since Revision 3 stopped running the show. You can have DVD Covers or Wide Banners.

 

C'mon Where's the Episodes?

 

As you may know, The Ben Heck Show is released on YouTube, and we also link to the episodes here on the Community so you can benefit from the features and giveaways that we have on the site while watching them!

 

If you want to download the episode yourself (which you can do on your Raspberry Pi media centre) you will need a piece of software called Youtube-DL, now I am sure that there are other methods and websites that you can use to download the episodes, however I'm not going to cover them here, but it's up to you if you want to share them in the comments.image

 

If you want a method that can be scripted and automated, then you'll want to setup something with Youtube-DL which is coded in Python.

 

To setup the software, you will need to SSH into your Raspberry Pi, just as Ben and Felix do in the episode (or if you know how to go to the console with a keyboard, then feel free, usually this is CTRL-ALT-F2 to F6 on your keyboard).

 

Now you can follow the installation guide here, the steps are basically as follows:

 

sudo curl https://yt-dl.org/downloads/2015.05.15/youtube-dl -o /usr/local/bin/youtube-dl

sudo chmod a+x /usr/local/bin/youtube-dl

 

What this does, is it downloads the script file youtube-dl and saves it to /usr/local/bin and then makes it executable. This means that since /usr/local/bin is normally in our 'path' variable, you can run it from any folder in the terminal when you're logged in.

 

Now, what we have to do is work out where we want to save the episodes. Let's say we don't have a USB stick plugged in or a network attached storage, and we want to save an episode to the SDCard. First we should go to the home directory and then make a folder to store the 'TV Shows' in and then for the show and series

 

cd ~/

mkdir TV

cd TV

mkdir "The Ben Heck Show"

cd The\ Ben\ Heck\ Show/ or cd "The Ben Heck Show"

mkdir 5

cd 5

 

I've purposefully typed this out the long winded way. So now we will have a folder tree that looks like this:

 

/home/pi/TV/The Ben Heck Show/5

 

Note: Make sure you have /home/pi/TV (or whatever folder before The Ben Heck Show) added as a 'content source' under 'Video -> Files' in your media centre software, and have it set as 'TV Show' type.

 

Now for the fun! youtube-dl. Let's get the latest Ben Heck Show episode URL from YouTube! We can go to YouTube and search for it, or get it from the Community space or The Ben Heck Show channel.

 

https://www.youtube.com/watch?v=P7m6HTV7ysM

 

From creating the folder, you should still be in '5' and we can simply type in:

 

youtube-dl https://www.youtube.com/watch?v=P7m6HTV7ysM

 

Which will give you an output like this:

 

pi@openelec:~/TV/The Ben Heck Show$ youtube-dl https://www.youtube.com/watch?v=P7m6HTV7ysM

[youtube] P7m6HTV7ysM: Downloading webpage

[youtube] P7m6HTV7ysM: Extracting video information

[youtube] P7m6HTV7ysM: Downloading DASH manifest

[download] Destination: Ben Heck’s Raspberry Pi Media Center-P7m6HTV7ysM.mp4

[download] 100% of 250.79MiB in 00:07

pi@openelec:~/TV/The Ben Heck Show$ ls

Ben Heck’s Raspberry Pi Media Center-P7m6HTV7ysM.mp4

pi@openelec:~/TV/The Ben Heck Show$

 

This is now playable in OpenElec/Kodi, but we need to rename the file to something which TheTVDB.com can scrape.

 

mv "Ben Heck’s Raspberry Pi Media Center-P7m6HTV7ysM.mp4" "The Ben Heck Show - 5x15 - Ben Heck’s Raspberry Pi Media Center.mp4"

 

Now all you need to do is update your library and it will be scraped successfully and show up in the menus as the screenshots above.

 

That's ... involved!

 

Ok, sure. There are ways in which you could make it less tedious. Firstly I use FileBot from a Windows computer that scrapes the library and pattern matches it based on the folders and TheTVDB to rename the files for me. Alternatively, you could create a script yourself that pulls from YouTube to get the episode URL and pass it to youtube-dl (I know you used to be able to get an RSS feed, but not so sure now). You can also get add-ons for your media centre which automatically update the library when you add new files.

 

However this is probably not the only show you can do it for, Hak5 for example is also on YouTube and so you can have an offline, portable copy of both The Ben Heck Show and Hak5.

 

Understandably this isn't a complete solution, but hopefully you can see how much fun it could be once setup! If wanted, I could make a pre-built OpenElec image that contains a number of The Ben Heck Show episodes!

  • raspbmc
  • the_ben_heck_show
  • tbhs
  • media_centre
  • kodi
  • raspberry_pi
  • openelec
  • youtube
  • tbhs_exclusive
  • the_ben_heck_show_exclusive_content
  • xbmc
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • Former Member
    Former Member over 10 years ago in reply to cstanton +1
    Here's a decent article on setting file paths. there are several YouTube addons. The one I like best and posted instructions for is authored by "bromix" vs 5.1.3. It's in the Kodi.tv repo. Kodi Wiki Article…
  • Former Member
    Former Member over 10 years ago in reply to cstanton

    Here's a decent article on setting file paths.

     

    there are several YouTube addons. The one I like best and posted instructions for is authored by "bromix" vs 5.1.3.   It's in the Kodi.tv repo. Kodi Wiki Article.

     

    After installing this YouTube addon, configure by tab or arrow to the Icon or menu item (depending on your menu display settings in Kodi) for this YouTube addon, it will have been placed in the Homescreen / videos / addons menu.  On mouse: right click, keyboard ^c, remote control "info" and that should bring up the context menu, choose "addon settings."

    • Make configuration changes; GENERAL tab, set max video quality etc. 
    • FOLDERS; HERES WHERE YOU ENTER SIGN ON SETTINGS FOR YOUTUBE.
    • http://kodi.wiki/view/Add-on:YouTube


    Youtube-dl Control addon, context menu, Add-on Settings

    • Main tab; here's where you set the video path to where you want the downloaded files stored.



    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • cstanton
    cstanton over 10 years ago in reply to Former Member

    Kevin Brackins wrote:

    1. Configure this addon with the file path of your video folder.

     

     

    Hello, could you go into more detail on this step?

     

    Youtube-dl isn't necessarily an add-on, though there is one for Kodi/openelec/etc. it requires some altering of the settings in xml from what I had seen.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 10 years ago

    If you'd like to download the show the easy way.....;

     

    using Kodi 14.02 on R Pi 2 with Confluence (default) skin.

     

    1. Follow as above for installing youtube-dl
    2. Configure this addon with the file path of your video folder.
    3. Navigate to the YouTube addon and start watching the show you want to watch.
    4. When the video starts playing, hit esc and bring up the home screen menu
    5. Navigate to the Programs menu and select YouTube-dl that you installed in step 1.
    6. You should get a pop-up window that lets you "download the video that is currently playing."
    7. Confirm the "default directory" location you specified in step 2.
    8. Starts downloading.
    9. HIt esc key 2 times to get back to the home screen menu.
    10. Top right side of the home menu bar should have small mini player controls, choose "Full Screen."
    11. This should have exited all menus and returned you to the current playing video with downloading continuing in the background.

    Good luck!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube