Friday, August 15, 2008

How to play videos from nbcolympics.com in Ubuntu [tutorial]

For the past few days I've been really pissed that I couldn't access videos on nbcolympics on my Ubuntu box. I'd have to proxy out of the country to watch them on the BBC (but proxy servers are notoriously unreliable and it was definitely a pain). Recently I discovered a very nice way to watch the videos from nbcolympics.com on my Ubuntu box. I cannot take credit for any of this at all - rather we should all thank k_i_k on the Ubuntu forums.

In this post I'll tell you how to set things up.

Install (if you haven't already): w32codecs, totem-xine (or your preferred media player. Note: vlc doesn't seem to play sound), python-libxml2, python-lxml, python-xml

The quick way to do this is with this command:

sudo apt-get install w32codecs totem-xine python-libxml2 python-lxml python-xml

Once everything is installed, download this python script - it does all the magic.

chmod 755 nbcquick-rev2.py

Then, as instructed here, browse nbcolympics.com, find the video you want to watch, and click the link of the video you want to watch. A pop-up window will show up telling you that you that your platform is not supported (bastards). Copy the assetid portion of the URL on the failure screen (after the '=' and before the '&') and enter the following command:

./nbcquick-rev2.py the-assetid-you-copied

Once you do this, totem-xine will launch and start playing the video you selected!

Technorati Tags: ,

19 comments:

Tom Chandler/Copywriter Underground said...

Excellent. Despite Microsoft's efforts, I'm watching the olympics on my Linux boxes. Life is sometimes sweet...

Alex said...

"Despite Microsoft's efforts"?

That's just completely misguided. Microsoft would've loved to see Moonlight 2.0 delivered in time for the Olympics. If Microsoft didn't want Silverlight supported on Linux, it never would've made a deal with Novell to start with. After all, officially supporting a technology on Linux isn't something Microsoft does every day, so the sheer fact that they are doing it should signal that MS is serious about it.

Michael said...

Very nice. Thanks to these scripts I've been able to send links to my mom to watch on her Win2K laptop.

KLB said...

You and anyone who had a hand in this script are righteous!!

diafygi said...

I am using Karmic, and I don't seem to have python-xml in my repository list. How can I get this script working or install python-xml?

Anonymous said...

Will this work for this Olympics (2012) at nbcolympics.com?

Anonymous said...

Will this work for this Olympics?

Anonymous said...

You are so interesting! I don't believe I have read something like this before. So wonderful to discover another person with genuine thoughts on this subject. Seriously.. thanks for starting this up. This site is one thing that is needed on the internet, someone with a little originality!

Stop by my site; video downloader
my web site :: myvideo downloader

Anonymous said...

If you consider that an online bingo players, many sites that will stimulate numerous of them to generate loose net casino break from task and visits to offer in the track down for a
down payment in the past a definite date. WIFI:Als Verbindungsmoglichkeiten
ins Internet stehen Ihnen WIFI wireless lan zu Verfugung.

The full version has no ads and offers goal alerts for the leagues
and teams of your choice.

Also visit my webpage: kostenlos spiele spielen

Anonymous said...

Αlthough you сan't go back to any songs, you can skip songs, mark them as ones you like or dislike, and browse the names, bands, and CD the song is on of all the songs that have played already. The line comes off the boat automatically once it hits a fish, which means that the user can catch a fish of virtually any size. In much the same way, two-way radio rental offers businesses and individuals substantial savings in money, time and resources that equipment ownership never will.

My webpage Click On this page
my site: allahsaveus.com/blogs/11743/10518/ideas-for-a-dynamic-online-marke

Anonymous said...

Very good info. Luсκy me I found youг blog by сhanсe (stumbleupon).
Ι hаve bοok mаrκed it for later!


my pagе: visit the next web site
Also see my web page :: simply click the following internet page

Anonymous said...

And then, you'll probably see that the battery's charge
won't be as durable as before. The Lenmar 1530 m - Ah for the Amazon Kindle 1 e-reader is the first choice for consumers. While the older 17 inch Mac - Book Pros lack the benefits of the unibody design, they do have the added feature of user-replaceable batteries.

Here is my page - http://bookmarks.excite.co.uk/user/collarflag17

Anonymous said...

Yοu can also buy bundle deals, which most radio stations offer,
to ԁесrease the oνerall
ad cost. Ϻany peoρle will be happy with гeplаceable batteгies for home use and οccasionаl outingѕ.
In much the same way, two-wаy гadio гental offerѕ busineѕses and іndiviԁuals substantial savings in monеу, time and resources that equipmеnt ownership neνer wіll.


Look at my site - Highly recommended Reading

Anonymous said...

Moreover, over the internet there are 2 main versions of this game that
is the RA deluxe with 10 pay lines and the classic RA with 9 pay lines.
"Path of Monstrosity" - This is for players that want a
little better defense and wanting to hit multiple targets.
It features an interesting game play and it provides benefits at every stage
of the game.

My web-site ... click through the next article

Anonymous said...

A recent survey showed that at an average every Facebook user clicks the like button at least 6 times a day.
Just in March of this year there was a bit of a fiasco
with mobile devices accessing Facebook. One of
the biggest obstacles that many Facebook likes users face
every day is what you should write on the wall
as well as comments and likes to get to them.

Here is my web site; http://bentio.com/laceybcy

Anonymous said...

Congress tried in 2007 to pass a measure that would lock in the rate that could be charged through 2010 at
7. In addition to music, there is a wealth of other
audio and informational materials out there to investigate.
This is a fantastic app for people who travel and it now supports multitasking.


Also visit my webpage :: Cuse Is Cray T Shirt on Squeeze My Tees

Anonymous said...

Keep this going please, great job!

my website sizzling hot online kostenlos spielen

Anonymous said...

It is actually a nice and helpful piece of info. I'm happy that you just shared this useful information with us. Please keep us up to date like this. Thank you for sharing.

Review my web blog: book of ra download android

Anonymous said...

Hi there this is kind of of off topic but I was wondering if blogs
use WYSIWYG editors or if you have to manually code with HTML.
I'm starting a blog soon but have no coding skills so I wanted to get advice from someone with experience. Any help would be greatly appreciated!

Feel free to surf to my web page book of ra kostenlos spielen ohne anmeldung mybet