Watch Xamarin Evolve 2014 (or any channel) YouTube videos offline

adminXamarin4 Comments

You’re a mobile developer living in a mobile first cloud first world and would like to take some benefit from the awesome content coming from Xamarin Evolve 2014 ? All the 55 videos are published on YouTube (Except the keynote) on the XamarinHQ channel and that’s a great thing. If you’re often on the go, you will appreciate to have all those videos always with you, usable offline at any time, living a typical mobile scenario, smartly using the time you spend every days in taxis, trains or planes. Here is a little tutorial on how I deal with the situation:

1) Install Chocolatey

Ok, this step is not absolutely mandatory but, hey, if you didn’t know Chocolatey (A package manager for Windows, The NuGet for apps) or you were looking for an opportunity to install it, it’s time! You will not regret it. I can not longer imagine using Windows without it.
– open your favorite browser
– goto to http://chocolatey.org

Setup is as simple as a copy-paste in a Command Prompt

Setup is as simple as a copy-paste in a Command Prompt

– copy the commmand line of the front page. It should be something like

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

– open a Command Prompt on Windows
– paste the command line and hit enter
– and voila!

2) Install youtube-dl

To download YouTube videos, you will need a tool that will parse YouTube content, find the videos and download them. My favorite tool for this mission is youtube-dl . You can get the Chocolatey package by typing

choco install youtube-dl

in a Command Prompt to install the tool (Yes, you downloaded and installed your first Chocolatey package 🙂 ). You’ll get the details on http://chocolatey.org/packages/youtube-dl

Chocolatey installs youtube-dl package, easy as 1 2 3

3) Start your download

– Goto your destination folder :

cd %userprofile%\videos

– Launch youtube-dl using the Xamarin Evolve 2014 playlist on YouTube :

youtube-dl -iw https://www.youtube.com/playlist?list=PLM75ZaNQS_FbvKCmsji1pgq8maGGZXph3

– Be patient

Xamarin Evolve 2014 youtube-dl at work
I recommand to use those options to get the best experience:
– “-i” to ignore errors. The playlist or video availability could evolve during the download
– “-w” to not overwrite files so you can launch the command several times to resume your donwloads without restarting from scratch

4) Enjoy your videos on the go

Now that your videos are stored localy, in high resolution MP4, you’ll be able to watch them on every device, without an Internet connection. But please, make me a favour : don’t forget to give feedback to the authors/speakers on YouTube. I’m sure you will join a network at some point in a Starbucks Coffee near you, so take a minute to send them kudos, like and share those videos.

55 videos 18.7 GB of learning material

55 videos 18.7 GB of learning material

Of course, you can use the same tools to download videos on other YouTube channels/playlists or on other web site. Check the youtube-dl documentation for extended scenarios.

Never stop to (have fun) learning.

 

Edit 2015-02-01: Now that Xamarin created a YouTube playlist for Evolve 2014 content, we’ll use it. Thanks to Kym Phillpotts comment.

Related posts

  • Pingback: luottoa()

  • Kym Phillpotts

    Thanks for the great tips!. downloading as we speak. Not only have I finally got around to installing Chocolatey but I’m going to save a bunch of time downloading these bad boys. I’m going to put the files into Plex so I can track what I’ve watched as well. 🙂

    Just as an FYI: Xamarin now have their own playlist with Evolve sessions (includes a few not in your list) and some other focused playlists here: https://www.youtube.com/user/XamarinVideos/

    Thanks again!

    Edited because the youtube links weren’t right

    • Thanks Kym, I updated the post.

  • Pingback: Xamarin Link Roundup – 2 Feb 2015 — Kym Phillpotts()