How To: GomTV stream on Linux/OS X

Recently GomTV decided to block any non-GomPlayer applications from accessing their streams. Effectively this means that paying customers using Linux or OS X are now stuck with only the VODs. Hence I can’t feel too bad for posting this workaround.

  1. Go to GomTV.net, log in and go to the ‘Go Live’ page.
  2. Copy/paste the Javascript for either the SQ or HQ stream into the location bar in your browser while you’re at the ‘Go Live’ page and hit Enter. (Thanks to the /r/starcraft redditors ‘mnjmn’ and ‘Gudeldar’ who came up with those Javascript snippets!)
    This will give you a personalized URL to the stream. Copy that.
  3. Now open a terminal and execute the following command:
    curl -A 'GomPlayer 2, 1, 28, 5039 (ENG)' '<stream URL>' | vlc -
    Of course, replace <stream URL> with the URL you copied in 2 (but keep the quotes!).

Voilà!

You can of course replace VLC with any player that supports reading a stream from stdin, and if your system doesn’t have curl installed, you can use:
wget -U 'GomPlayer 2, 1, 28, 5039 (ENG)' -O - '<stream URL>' | vlc -

Note re OS X: As redditor ‘thedz’ pointed out, another way of doing it would be to simply use curl or wget to save the stream to a file and then open that file with your favorite video player. That goes a little something like this:
curl -A 'GomPlayer 2, 1, 28, 5039 (ENG)' '<stream URL>' -o ~/gsl.ogm
That saves the stream to ~/gsl.ogm (~ is a short way of writing /home/username (Linux) and /Users/username (OS X)), which you can open in any video player supporting OGM.

Posted in Linux, Starcraft | Leave a comment

50 Albums #43

Pizzicato Five – Happy End of the World (http://goo.gl/iGhb5)

Pizzicato Five - Happy End of the World (album cover)

Posted in 50 Albums, Music | Leave a comment

50 Albums #42

Analogik – Søens Folk (http://goo.gl/MJLde)

Analogik - Søens Folk (album cover)

Suitable album for #42.

Posted in 50 Albums, Music | Leave a comment

Oooo, shiny!

Just set up a mobile version of the site: m.lillesvin.net. Also, there are some new shiny buttons on the right.

Posted in Lillesvin Networks | Leave a comment

50 Albums #41

Tunng – Good Arrows (http://goo.gl/yduyL)

Tunng - Good Arrows (album cover)Update (Feb. 18 2011): Actually, to give credit where credit is due, Steffen is the reason I know this album/band at all.

Posted in 50 Albums, Music | Leave a comment