• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 21:28
CEST 03:28
KST 10:28
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9uThermal's 2v2 Tour: $15,000 Main Event18Serral wins EWC 202549
Community News
Maestros of The Game—$20k event w/ live finals in Paris20Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195Weekly Cups (Jul 28-Aug 3): herO doubles up6
StarCraft 2
General
2v2 & SC: Evo Complete: Weekend Double Feature Geoff 'iNcontroL' Robinson has passed away What mix of new and old maps do you want in the next 1v1 ladder pool? (SC2) : The GOAT ranking of GOAT rankings RSL Revival patreon money discussion thread
Tourneys
Maestros of The Game—$20k event w/ live finals in Paris Sparkling Tuna Cup - Weekly Open Tournament Monday Nights Weeklies Master Swan Open (Global Bronze-Master 2) $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
Custom Maps
External Content
Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below Mutation # 484 Magnetic Pull
Brood War
General
Joined effort New season has just come in ladder BW General Discussion Flash On His 2010 "God" Form, Mind Games, vs JD Flash Announces (and Retracts) Hiatus From ASL
Tourneys
BWCL Season 63 Announcement [CSLPRO] It's CSLAN Season! - Last Chance [ASL20] Ro24 Group A [ASL20] Ro24 Group C
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates [G] Mineral Boosting Muta micro map competition
Other Games
General Games
Nintendo Switch Thread General RTS Discussion Thread Dawn of War IV Path of Exile Stormgate/Frost Giant Megathread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread The year 2050 Things Aren’t Peaceful in Palestine European Politico-economics QA Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
High temperatures on bridge(s) Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment"
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
Evil Gacha Games and the…
ffswowsucks
Breaking the Meta: Non-Stand…
TrAiDoS
INDEPENDIENTE LA CTM
XenOsky
[Girl blog} My fema…
artosisisthebest
Sharpening the Filtration…
frozenclaw
ASL S20 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 3130 users

Watching GomTV with VLC on Linux/Mac

Forum Index > Tech Support
Post a Reply
Normal
sgflt
Profile Joined July 2010
10 Posts
Last Edited: 2010-09-20 14:19:23
September 20 2010 14:18 GMT
#1
Hey everyone,

I've used VLC to watch the GomTV stream with VLC, which is so much nicer than watching any video on flash or installing a crappy player. However, it's a bit of a hassle to copy/modify the URL. So here is my solution, tested on Ubuntu 10.04, using Chromium as the browser:

1. Make sure you have Python and VLC installed. Virtually any Linux distro comes with Python preinstalled, VLC varies.
2. Download this script: http://github.com/mbr/gomcmd/raw/master/gomcmd.py
3. Make the script executable, then run it with the -G parameter, i.e.
+ Show Spoiler +
chmod +x gomcmd.py
./gomcmd.py -G


After this, the script has installed itself as an URL handler for gomcmd:// urls. Any application opening URLs "properly" will launch it now, the script will in turn open VLC. You should be able to simply click on the GomTV live button to start watching the live stream.

Notes: You can run the script from the commandline with any gomcmd:// URL to launch VLC as well. I haven't looked at registering an URL handler on Mac OS X thus far. If there's interest in that, I may do so.
Yurebis
Profile Joined January 2009
United States1452 Posts
September 20 2010 16:46 GMT
#2
Good effort but I think people that are smart enough to type into the console can just get the url instead.
Power corrupts. Absolute power corrupts absolutely.
mgj
Profile Blog Joined March 2010
191 Posts
September 20 2010 18:57 GMT
#3
On September 21 2010 01:46 Yurebis wrote:
Good effort but I think people that are smart enough to type into the console can just get the url instead.


Smart people are lazy people too.

I like it, good work and thanks for sharing.
sgflt
Profile Joined July 2010
10 Posts
September 21 2010 09:03 GMT
#4
On September 21 2010 03:57 mgj wrote:
Show nested quote +
On September 21 2010 01:46 Yurebis wrote:
Good effort but I think people that are smart enough to type into the console can just get the url instead.


Smart people are lazy people too.

I like it, good work and thanks for sharing.


Well, I was smart enough to do that and I spent an hour or two writing this program that will save me 5 minutes next time, so I guess that's a bit of proof. I'll work two hours just to be lazy!

If there's enough demand, I could whip up something more comfortable like a small GUI or something. Still not sure if any Mac user needs it though.

If it's working for any of you, I'd like to hear it though - nothing like feedback to improve something.
BenKen
Profile Joined August 2009
United States860 Posts
September 21 2010 15:19 GMT
#5
Hey thanks man, great work. Can't wait for the GUI version, because we all know GOM will never get around to making one.
I deadlift for Aiur
mgj
Profile Blog Joined March 2010
191 Posts
Last Edited: 2010-09-24 16:09:31
September 24 2010 15:51 GMT
#6
Today i finally had the chance to actually use this.

For firefox it works beautifully, nothing less.

For chromium, not so much. Trying to launch the stream only results in a new chromium window being opened.

Setup:
Ubuntu 10.04
Fluxbox window manager

Regarding the GUI, i personally much prefer this simple script.

One thing you might want to consider for this script is to have it behave like the linux octoshape client. When you execute the octoshape client, it runs in a terminal (or background if you so desire) and is easy to disable simply by closing the octoshape process. I like that behaivure, but on the other hand i imagine a lot of people dont. Its up to you.
JWD
Profile Blog Joined October 2007
United States12607 Posts
September 24 2010 16:14 GMT
#7
Thanks for the tutorial. I am loathe to install GOM player.
✌
bakesale
Profile Blog Joined August 2008
United States187 Posts
September 24 2010 17:32 GMT
#8
On September 21 2010 18:03 sgflt wrote:
If there's enough demand, I could whip up something more comfortable like a small GUI or something. Still not sure if any Mac user needs it though.


I'd appreciate a URL handler for the Mac. The command-line install is no big deal, but it may be for some?
john7kfc
Profile Blog Joined April 2009
United States317 Posts
September 24 2010 18:42 GMT
#9
Thank you for this!

@Small GUI: I think that anyone choosing to run Mac or Linux should be able to handle at least a little bit of command-line inputs. If I can do it....

@mgj
On September 25 2010 00:51 mgj wrote:
For chromium, not so much. Trying to launch the stream only results in a new chromium window being opened.
Setup:
Ubuntu 10.04
Fluxbox window manager


It worked for me on regular chrome stable and beta. I'm using Ubuntu 10.04 64-bit Gnome though.
justin.tv/john7kfc
RoyalCheese
Profile Joined May 2010
Czech Republic745 Posts
September 29 2010 21:28 GMT
#10
thanks man for this script!
Kennigit: "Chill was once able to retire really young, but decided to donate his entire salary TO SUPPORT ESPORTS"
zaubb
Profile Joined June 2010
Austria8 Posts
September 30 2010 09:05 GMT
#11
thank you very very much for this script, works flawlessly!
KraXRipper
Profile Joined October 2010
Denmark5 Posts
October 18 2010 12:34 GMT
#12
Hey, it looks like a cool way to do it, but I can't get it to work on a mac - it says it needs a gconf module, and I can't find a way to install that (and I don't think it would work on a mac). So I guess I'd like a URL handler on Mac
SinCitta
Profile Blog Joined August 2010
Germany2127 Posts
October 18 2010 19:10 GMT
#13
Does this script work in GSL2? I manually copied the URL prefixed by avis:// manually into VLC in GSL1. Unfortunately, there was no avis:// prefix today and simply copying the URL after gomcmd into VLC didn't work.
stafu
Profile Blog Joined January 2009
Australia1196 Posts
October 19 2010 03:25 GMT
#14
How to for GSL S2
(Note: Only tested while logged in with premium account.)

1. On the live page, view page source and look for a link that looks like this under LiveHQ() or LiveSQ(): http://www.gomtv.net/gox/flash_live.php?num=HQ&sn=s7jfev8r8j4jdfkj84kcve&lid=22

2. Open that address. View source and look for a link.

3. Copy/paste that link into VLC.

(Will update with more precise details when it goes live again. Just going off memory from last night right now)
Bloodyrock
Profile Joined March 2010
Ireland150 Posts
October 19 2010 04:03 GMT
#15
On October 19 2010 12:25 stafu wrote:
How to for GSL S2
(Note: Only tested while logged in with premium account.)

1. On the live page, view page source and look for a link that looks like this under LiveHQ() or LiveSQ(): http://www.gomtv.net/gox/flash_live.php?num=HQ&sn=s7jfev8r8j4jdfkj84kcve&lid=22

2. Open that address. View source and look for a link.

3. Copy/paste that link into VLC.

(Will update with more precise details when it goes live again. Just going off memory from last night right now)

not working for me
READYALREADY
foop
Profile Joined May 2010
United States6 Posts
October 19 2010 04:10 GMT
#16
worked for me.
Snoogle
Profile Joined April 2010
Canada71 Posts
October 19 2010 04:10 GMT
#17
On October 19 2010 12:25 stafu wrote:
How to for GSL S2
(Note: Only tested while logged in with premium account.)

1. On the live page, view page source and look for a link that looks like this under LiveHQ() or LiveSQ(): http://www.gomtv.net/gox/flash_live.php?num=HQ&sn=s7jfev8r8j4jdfkj84kcve&lid=22

2. Open that address. View source and look for a link.

3. Copy/paste that link into VLC.

(Will update with more precise details when it goes live again. Just going off memory from last night right now)

works perfectly for me =) thank you
~the munch~
Whiteman103
Profile Joined July 2010
United States1070 Posts
October 19 2010 04:15 GMT
#18
On October 19 2010 13:10 Snoogle wrote:
Show nested quote +
On October 19 2010 12:25 stafu wrote:
How to for GSL S2
(Note: Only tested while logged in with premium account.)

1. On the live page, view page source and look for a link that looks like this under LiveHQ() or LiveSQ(): http://www.gomtv.net/gox/flash_live.php?num=HQ&sn=s7jfev8r8j4jdfkj84kcve&lid=22

2. Open that address. View source and look for a link.

3. Copy/paste that link into VLC.

(Will update with more precise details when it goes live again. Just going off memory from last night right now)

works perfectly for me =) thank you


umm wtf you doing that i am not..? could i get a link cuz i am doing the same thing as it says...
Slight316
Profile Joined October 2010
Canada1 Post
October 19 2010 04:20 GMT
#19
On October 19 2010 13:10 Snoogle wrote:
Show nested quote +
On October 19 2010 12:25 stafu wrote:
How to for GSL S2
(Note: Only tested while logged in with premium account.)

1. On the live page, view page source and look for a link that looks like this under LiveHQ() or LiveSQ(): http://www.gomtv.net/gox/flash_live.php?num=HQ&sn=s7jfev8r8j4jdfkj84kcve&lid=22

2. Open that address. View source and look for a link.

3. Copy/paste that link into VLC.

(Will update with more precise details when it goes live again. Just going off memory from last night right now)

works perfectly for me =) thank you



This does NOT work for me. Doesn't even give me an error message...
applejuice
Profile Joined October 2010
307 Posts
October 19 2010 04:23 GMT
#20
On October 19 2010 13:10 Snoogle wrote:
Show nested quote +
On October 19 2010 12:25 stafu wrote:
How to for GSL S2
(Note: Only tested while logged in with premium account.)

1. On the live page, view page source and look for a link that looks like this under LiveHQ() or LiveSQ(): http://www.gomtv.net/gox/flash_live.php?num=HQ&sn=s7jfev8r8j4jdfkj84kcve&lid=22

2. Open that address. View source and look for a link.

3. Copy/paste that link into VLC.

(Will update with more precise details when it goes live again. Just going off memory from last night right now)

works perfectly for me =) thank you



Not for me...Can someone just post the link?
Whiteman103
Profile Joined July 2010
United States1070 Posts
October 19 2010 04:25 GMT
#21
I get this

http://www.gomtv.net/gox/flash_live.php?num=SQTest&sn=5f8fd283baec9a33781&lid=22

then when i view sorce on this i get this

gomp2p://ID=GOMTVSTREAMERLIVE%20CLASS=GomTVStreamerLive%20PARAM=/hide%20"http://127.0.0.1:53535/live.acm?CID=GL_20101019_800_0_0&LiveAddr=http%3a//211.43.144.186%3A8800%2Fview.cgi%3Fhid%3D1%26cid%3D0%26nid%3D800%26uno%3D4053600%26uip%3D76.121.30.149%26title%3DSonyEricssonSTARCRAFTIIOpenSeason2%26key%3Df4457f31aa1259d1da860512cfdf6d03&Format=OGM&SecSize=45056&FixedHeader=TRUE&PosInData=TRUE"
Soleone
Profile Joined April 2010
Canada80 Posts
October 19 2010 04:40 GMT
#22
Works for me right now in VLC in OSX.

Make sure to change the browser's "user-agent" so that it doesn't contain the keyword "Mac" (e.g. I changed it to just "GomPlayer"). Once you have the address from step one you get a pretty blank page that looks like this in source view:

http://gist.github.com/gists/633616
Xiolec
Profile Joined October 2010
1 Post
Last Edited: 2010-10-19 04:58:45
October 19 2010 04:42 GMT
#23
On October 19 2010 13:25 Whiteman103 wrote:
gomp2p://ID=GOMTVSTREAMERLIVE%20CLASS=GomTVStreamerLive%20PARAM=/hide%20"http://127.0.0.1:53535/live.acm?CID=GL_20101019_800_0_0&LiveAddr=http%3a//211.43.144.186%3A8800%2Fview.cgi%3Fhid%3D1%26cid%3D0%26nid%3D800%26uno%3D4053600%26uip%3D76.121.30.149%26title%3DSonyEricssonSTARCRAFTIIOpenSeason2%26key%3Df4457f31aa1259d1da860512cfdf6d03&Format=OGM&SecSize=45056&FixedHeader=TRUE&PosInData=TRUE"


211.43.144.186%3A8800%2Fview.cgi%3Fhid%3D1%26cid%3D0%26nid%3D800%26uno%3D4053600%26uip%3D76.121.30.149%26title%3DSonyEricssonSTARCRAFTIIOpenSeason2%26key%3Df4457f31aa1259d1da860512cfdf6d03

is what you need
replace
%3A with :
%2F with /
%3F with ?
%3D with =
%26 with &

gives you: (if i didn't mess it up -- and add the http:// to the start)
211.43.144.186:8800/view.cgi?hid=1&cid=0&nid=800&uno=4053600&uip=76.121.30.149&title=SonyEricssonSTARCRAFTIIOpenSeason2&key=f4457f31aa1259d1da860512cfdf6d03

This worked for me.

Edit: crap sorry "%3F with ." is "%3F with ?"
Whiteman103
Profile Joined July 2010
United States1070 Posts
Last Edited: 2010-10-19 05:00:17
October 19 2010 04:54 GMT
#24
On October 19 2010 13:40 Soleone wrote:
Works for me right now in VLC in OSX.

Make sure to change the browser's "user-agent" so that it doesn't contain the keyword "Mac" (e.g. I changed it to just "GomPlayer"). Once you have the address from step one you get a pretty blank page that looks like this in source view:

http://gist.github.com/gists/633616


i get this http://yfrog.com/htscreenshot20101018at951p

what is user-agent?

the whole thing about user agent confused me a lot.

Noev
Profile Blog Joined January 2010
United States1105 Posts
October 19 2010 05:06 GMT
#25
On October 19 2010 13:42 Xiolec wrote:
Show nested quote +
On October 19 2010 13:25 Whiteman103 wrote:
gomp2p://ID=GOMTVSTREAMERLIVE%20CLASS=GomTVStreamerLive%20PARAM=/hide%20"http://127.0.0.1:53535/live.acm?CID=GL_20101019_800_0_0&LiveAddr=http%3a//211.43.144.186%3A8800%2Fview.cgi%3Fhid%3D1%26cid%3D0%26nid%3D800%26uno%3D4053600%26uip%3D76.121.30.149%26title%3DSonyEricssonSTARCRAFTIIOpenSeason2%26key%3Df4457f31aa1259d1da860512cfdf6d03&Format=OGM&SecSize=45056&FixedHeader=TRUE&PosInData=TRUE"


211.43.144.186%3A8800%2Fview.cgi%3Fhid%3D1%26cid%3D0%26nid%3D800%26uno%3D4053600%26uip%3D76.121.30.149%26title%3DSonyEricssonSTARCRAFTIIOpenSeason2%26key%3Df4457f31aa1259d1da860512cfdf6d03

is what you need
replace
%3A with :
%2F with /
%3F with ?
%3D with =
%26 with &

gives you: (if i didn't mess it up -- and add the http:// to the start)
211.43.144.186:8800/view.cgi?hid=1&cid=0&nid=800&uno=4053600&uip=76.121.30.149&title=SonyEricssonSTARCRAFTIIOpenSeason2&key=f4457f31aa1259d1da860512cfdf6d03

This worked for me.

Edit: crap sorry "%3F with ." is "%3F with ?"



Ahhh thanks you with the edit it works perfectly now, good work TL always come through in the end for me
Whiteman103
Profile Joined July 2010
United States1070 Posts
October 19 2010 05:48 GMT
#26
On October 19 2010 14:06 Noev wrote:
Show nested quote +
On October 19 2010 13:42 Xiolec wrote:
On October 19 2010 13:25 Whiteman103 wrote:
gomp2p://ID=GOMTVSTREAMERLIVE%20CLASS=GomTVStreamerLive%20PARAM=/hide%20"http://127.0.0.1:53535/live.acm?CID=GL_20101019_800_0_0&LiveAddr=http%3a//211.43.144.186%3A8800%2Fview.cgi%3Fhid%3D1%26cid%3D0%26nid%3D800%26uno%3D4053600%26uip%3D76.121.30.149%26title%3DSonyEricssonSTARCRAFTIIOpenSeason2%26key%3Df4457f31aa1259d1da860512cfdf6d03&Format=OGM&SecSize=45056&FixedHeader=TRUE&PosInData=TRUE"


211.43.144.186%3A8800%2Fview.cgi%3Fhid%3D1%26cid%3D0%26nid%3D800%26uno%3D4053600%26uip%3D76.121.30.149%26title%3DSonyEricssonSTARCRAFTIIOpenSeason2%26key%3Df4457f31aa1259d1da860512cfdf6d03

is what you need
replace
%3A with :
%2F with /
%3F with ?
%3D with =
%26 with &

gives you: (if i didn't mess it up -- and add the http:// to the start)
211.43.144.186:8800/view.cgi?hid=1&cid=0&nid=800&uno=4053600&uip=76.121.30.149&title=SonyEricssonSTARCRAFTIIOpenSeason2&key=f4457f31aa1259d1da860512cfdf6d03

This worked for me.

Edit: crap sorry "%3F with ." is "%3F with ?"



Ahhh thanks you with the edit it works perfectly now, good work TL always come through in the end for me


nice the edit worked for me to now just HOW do i do this by myself Like in season 1.
Headsh0tBR
Profile Joined October 2010
United States40 Posts
October 19 2010 05:52 GMT
#27
Is there anyway to enhance the experience using VLC because I am getting an extremely choppy version of the stream using this method.
"To error is human but forgiveness is divine."
stafu
Profile Blog Joined January 2009
Australia1196 Posts
October 19 2010 06:24 GMT
#28
I'm not sure if it works with the SQTest as that uses GOM Streamer. Those links look similar though. Try my method with normal SQ and the link should be pretty straight forward.
Whiteman103
Profile Joined July 2010
United States1070 Posts
Last Edited: 2010-10-19 06:33:05
October 19 2010 06:29 GMT
#29
On October 19 2010 15:24 stafu wrote:
I'm not sure if it works with the SQTest as that uses GOM Streamer. Those links look similar though. Try my method with normal SQ and the link should be pretty straight forward.


ok well i sent you a pm. I cant find the normal SQ just the SQtest.

maybe becasue its full..?

alert(" Currently, simultaneous connection limit has exceeded. \n Please try to access Live shows by clicking the SQ LIVE Test tab at the bottom.");

Is that where the link is at normally?
stafu
Profile Blog Joined January 2009
Australia1196 Posts
October 19 2010 06:38 GMT
#30
On October 19 2010 15:29 Whiteman103 wrote:
Show nested quote +
On October 19 2010 15:24 stafu wrote:
I'm not sure if it works with the SQTest as that uses GOM Streamer. Those links look similar though. Try my method with normal SQ and the link should be pretty straight forward.


ok well i sent you a pm. I cant find the normal SQ just the SQtest.

maybe becasue its full..?

alert(" Currently, simultaneous connection limit has exceeded. \n Please try to access Live shows by clicking the SQ LIVE Test tab at the bottom.");

Is that where the link is at normally?

Yep, that's where the link is normally.

One thing you could try doing is taking your key from the SQTest (the bit where it says sn= and then a whole bunch of numbers, up until the & of the next param) and put it in this link:

http://www.gomtv.net/gox/flash_live.php?num=SQ&sn=KEYHERE&lid=22
derElbe
Profile Joined February 2009
Germany571 Posts
Last Edited: 2010-10-19 06:57:51
October 19 2010 06:49 GMT
#31
Ok this is how i do it :

open the live-page on gomtv.net.
view the sourcecode.
find the part where the links are (wethere it is LIVEHQ oder LIVE)
get this link in browser
view the sourcecode again.
copy the link that you are seeing right there
put it in VLC, just the way you did it last season.
Hoejja - Bisu - Leenock - TLO
Whiteman103
Profile Joined July 2010
United States1070 Posts
October 19 2010 07:08 GMT
#32
On October 19 2010 15:38 stafu wrote:
Show nested quote +
On October 19 2010 15:29 Whiteman103 wrote:
On October 19 2010 15:24 stafu wrote:
I'm not sure if it works with the SQTest as that uses GOM Streamer. Those links look similar though. Try my method with normal SQ and the link should be pretty straight forward.


ok well i sent you a pm. I cant find the normal SQ just the SQtest.

maybe becasue its full..?

alert(" Currently, simultaneous connection limit has exceeded. \n Please try to access Live shows by clicking the SQ LIVE Test tab at the bottom.");

Is that where the link is at normally?

Yep, that's where the link is normally.

One thing you could try doing is taking your key from the SQTest (the bit where it says sn= and then a whole bunch of numbers, up until the & of the next param) and put it in this link:

http://www.gomtv.net/gox/flash_live.php?num=SQ&sn=KEYHERE&lid=22

doing that i get this page http://img267.imageshack.us/f/screenshot20101019at120.png/

then view sorce and get this http://img263.imageshack.us/f/screenshot20101019at120.png/

this is the full link

gomp2p://ID=GOMTVSTREAMERLIVE%20CLASS=GomTVStreamerLive%20PARAM=/hide%20"http://127.0.0.1:53535/live.acm?CID=GL_20101019_800_22_0&LiveAddr=http%3a//211.43.144.193%3A8800%2Fview.cgi%3Fhid%3D1%26cid%3D22%26nid%3D800%26uno%3D4053600%26uip%3D76.121.30.149%26title%3DSonyEricssonSTARCRAFTIIOpenSeason2%26key%3D5f361bd057e66b7fffba94b40fb2501e&Format=OGM&SecSize=45056&FixedHeader=TRUE&PosInData=TRUE&quot
BurningSera
Profile Blog Joined September 2010
Ireland19621 Posts
October 19 2010 10:19 GMT
#33
i am wondering if there a new script for GSL s2? gom player is not that good
is 2017, stop being lame, fuck's sakes. 'Can't wait for the rise of the cakes and humanity's last stand tbqh.'
Bumblebees
Profile Joined August 2010
United States328 Posts
October 19 2010 10:29 GMT
#34
None of these work for me At best VLC just doesn't give an error, but doesn't display anything.

Somewhat upset having to watch restreams after paying.
Griznah
Profile Joined September 2010
Norway65 Posts
October 19 2010 10:49 GMT
#35
I'm on linux and I'm unable to get it to play in VLC. I have the correct URL and everything.
For those of you getting that "Scrambled" URL:
http://sites.google.com/site/netzreport2/online_tool_for_url_en_decoding.html
Do you feel lucky punk? Well, do ya?
koma
Profile Joined October 2010
2 Posts
Last Edited: 2010-10-19 11:24:38
October 19 2010 11:14 GMT
#36
Hi guys, first post here so I hope it helps someone, I tried to make it a little bit more noob friendly

I followed the instructions posted before, view source on GOM's live link & found the URL for document.location.href='gomcmd:///title%20GOMtvnet%20http://www.gomtv.net/gox/flash_live.php?num=HQ&sn=9999999999999&lid=22'

Pasted the url http://www.gomtv.net/gox/flash_live.php?num=HQ&sn=9999999999999&lid=22' from that string (you don't need the prefix of gomcmd://title blah blah

Copy paste that link in firefox, and you get a blank page saying "GOMtv.net (c) Gretech Corp. All Rights Reserved"

You ALSO need to view the source of that page and you will see an obvious link saying http://211.43.144.999:8902/view.cgi?hid=1&cid=22&nid=902&uno=4161600&uip=121.45.169.999&title=SonyEricssonSTARCRAFTIIOpenSeason2&key=99999999999999999

That is the URL you want to paste in VLC, open network stream and it all should work

*Note, i removed my IP and keys and replaced it with 9's. Yours WILL look different, but you get the idea.

P.S MAKE SURE you don't copy\paste the ' single quotation mark at the end of each URL otherwise you will not go to the correct site.


Cheers guys, hope this helps someone.
Bumblebees
Profile Joined August 2010
United States328 Posts
October 19 2010 11:19 GMT
#37
These 2 posts right before mine got everything working perfectly for me. Thank you.
BurningSera
Profile Blog Joined September 2010
Ireland19621 Posts
Last Edited: 2010-10-19 12:06:48
October 19 2010 12:06 GMT
#38
good stuff, i used the method from koma and change my code by using Griznah's tool, gets it working in vlc. i am using firefox btw. thanks alot guys.
is 2017, stop being lame, fuck's sakes. 'Can't wait for the rise of the cakes and humanity's last stand tbqh.'
Trollment
Profile Joined August 2010
53 Posts
October 19 2010 12:09 GMT
#39
gomp2p://ID=GOMTVSTREAMERLIVE%20CLASS=GomTVStreamerLive%20PARAM=/hide%20"http://127.0.0.1:53535/live.acm?CID=GL_20101019_800_22_0&LiveAddr=http%3a//211.43.144.199%3A8800%2Fview.cgi%3Fhid%3D1%26cid%3D22%26nid%3D800%26uno%3D12212100%26uip%3D90.190.68.42%26title%3DSonyEricssonSTARCRAFTIIOpenSeason2%26key%3D9f7f95d5a402e94a80ad58c5759803f4&Format=OGM&SecSize=45056&FixedHeader=TRUE&PosInData=TRUE"

I only find this shit from source
Trollment
Profile Joined August 2010
53 Posts
October 19 2010 12:14 GMT
#40
Someone should make easy program that would convert these data to easy copy paste link
Trollment
Profile Joined August 2010
53 Posts
Last Edited: 2010-10-19 12:29:34
October 19 2010 12:29 GMT
#41
http://211.43.144.199:8800/view.cgi?hid=1&cid=22&nid=800&uno=12212100&uip=90.190.68.42&title=SonyEricssonSTARCRAFTIIOpenSeason2&key=9f7f95d5a402e94a80ad
Trollment
Profile Joined August 2010
53 Posts
October 19 2010 12:38 GMT
#42
http://211.43.144.184:8800/view.cgi?hid=1&cid=22&nid=800&uno=12212100&uip=90.190.68.42&title=SonyEricssonSTARCRAFTIIOpenSeason2&key=d363fc9d4d85b5dbd21becec2ac132cd&Format=OGM&SecSize=45056&FixedHeader=TRUE&PosInData=TRUE"

This link finally worked so others struggling you need to add all that Fixed header thing to end....
Aim Here
Profile Blog Joined December 2009
Scotland672 Posts
October 19 2010 12:42 GMT
#43
Umm, guys, unless I'm mistaken, isn't the '&key=<whatever>' field in the URL just your GOMTV private key that is attached to your GOMTV.net account? I'm under the impression that if you've paid for the premium stream, that's the key that allows you to watch the HD stream live, so if GOM's net watchdogs are monitoring their site, they might discover too many people watching paid streams off the same account and take action to stop it, so posting these URLs is iffy.

What we need is a method to extract that URL from your own account, like an update to the script in the OP.
tofucake
Profile Blog Joined October 2009
Hyrule19077 Posts
October 19 2010 14:18 GMT
#44
On September 21 2010 01:46 Yurebis wrote:
Good effort but I think people that are smart enough to type into the console can just get the url instead.

[image loading]


It's a common practice to automate things.
And running a script once is FAR easier than nabbing the URL for the VLC stream for every video.
Liquipediaasante sana squash banana
Bumblebees
Profile Joined August 2010
United States328 Posts
October 20 2010 00:29 GMT
#45
On October 19 2010 21:42 Aim Here wrote:
Umm, guys, unless I'm mistaken, isn't the '&key=<whatever>' field in the URL just your GOMTV private key that is attached to your GOMTV.net account? I'm under the impression that if you've paid for the premium stream, that's the key that allows you to watch the HD stream live, so if GOM's net watchdogs are monitoring their site, they might discover too many people watching paid streams off the same account and take action to stop it, so posting these URLs is iffy.

What we need is a method to extract that URL from your own account, like an update to the script in the OP.


They log IPs (as/and the IP is actually in the stream link people have been giving out).

I'm sure they can notice quite easily if a stream is being simultaneously accessed from multiple sites at once.
shmay
Profile Blog Joined July 2004
United States1091 Posts
October 20 2010 06:50 GMT
#46
On October 18 2010 21:34 KraXRipper wrote:
Hey, it looks like a cool way to do it, but I can't get it to work on a mac - it says it needs a gconf module, and I can't find a way to install that (and I don't think it would work on a mac). So I guess I'd like a URL handler on Mac


same error. tried to install gconf via macports but that died. would the url copy/paste thing only work for those with a paid account? god flash frickin ruins my mac.
DJ_Amal
Profile Joined October 2010
New Zealand62 Posts
Last Edited: 2010-10-20 09:52:50
October 20 2010 08:01 GMT
#47
On October 20 2010 15:50 shmay wrote:
Show nested quote +
On October 18 2010 21:34 KraXRipper wrote:
Hey, it looks like a cool way to do it, but I can't get it to work on a mac - it says it needs a gconf module, and I can't find a way to install that (and I don't think it would work on a mac). So I guess I'd like a URL handler on Mac


same error. tried to install gconf via macports but that died. would the url copy/paste thing only work for those with a paid account? god flash frickin ruins my mac.

I'm on a mac and it works fine for me. What you do is after you find this

LiveAddr=http%3a//211.43.144.194%3A8800%2Fview.cgi%3Fhid%3D1%26cid%3D22%26nid%3D800%26uno%3D1947000%26uip%3D124.197.22.13%26title%3DSonyEricssonSTARCRAFTIIOpenSeason2%26key%3D5a8ecae105ace131846a3844e53beb2d&amp;Format=OGM&amp

Take everything after LiveAddr= and before &amp;Format=OGM&amp. Take this and put it on this website http://www.linkedresources.com/tools/unescaper_v0.2b1.html and click unscape and it will give you

http://211.43.144.194:8800/view.cgi?hid=1&cid=22&nid=800&uno=1947000&uip=124.197.22.13&title=SonyEricssonSTARCRAFTIIOpenSeason2&key=5a8ecae105ace131846a3844e53beb2d

Copy that and put it into VLC. If that doesn't work I recommend installing GOM Player through 'Crossover' or 'Darwine'

Edit Note: I'm not a computer scientist or some sort of computer genius (I am actually a building scientist). I just thought of sharing my process of how I got the link to work on VLC and Mac. So please forgive me if my post is ignorant or irrelevant to the thread
volen
Profile Joined August 2010
Germany28 Posts
October 20 2010 11:01 GMT
#48
On October 20 2010 17:01 DJ_Amal wrote:
Show nested quote +
On October 20 2010 15:50 shmay wrote:
On October 18 2010 21:34 KraXRipper wrote:
Hey, it looks like a cool way to do it, but I can't get it to work on a mac - it says it needs a gconf module, and I can't find a way to install that (and I don't think it would work on a mac). So I guess I'd like a URL handler on Mac


same error. tried to install gconf via macports but that died. would the url copy/paste thing only work for those with a paid account? god flash frickin ruins my mac.

I'm on a mac and it works fine for me. What you do is after you find this

LiveAddr=http%3a//211.43.144.194%3A8800%2Fview.cgi%3Fhid%3D1%26cid%3D22%26nid%3D800%26uno%3D1947000%26uip%3D124.197.22.13%26title%3DSonyEricssonSTARCRAFTIIOpenSeason2%26key%3D5a8ecae105ace131846a3844e53beb2d&amp;Format=OGM&amp

Take everything after LiveAddr= and before &amp;Format=OGM&amp. Take this and put it on this website http://www.linkedresources.com/tools/unescaper_v0.2b1.html and click unscape and it will give you

http://211.43.144.194:8800/view.cgi?hid=1&cid=22&nid=800&uno=1947000&uip=124.197.22.13&title=SonyEricssonSTARCRAFTIIOpenSeason2&key=5a8ecae105ace131846a3844e53beb2d

Copy that and put it into VLC. If that doesn't work I recommend installing GOM Player through 'Crossover' or 'Darwine'

Edit Note: I'm not a computer scientist or some sort of computer genius (I am actually a building scientist). I just thought of sharing my process of how I got the link to work on VLC and Mac. So please forgive me if my post is ignorant or irrelevant to the thread



This is the only one that worked for me...Thanks DJ_Amal you saved my ass
Whiteman103
Profile Joined July 2010
United States1070 Posts
October 21 2010 03:59 GMT
#49
On October 20 2010 20:01 volen wrote:
Show nested quote +
On October 20 2010 17:01 DJ_Amal wrote:
On October 20 2010 15:50 shmay wrote:
On October 18 2010 21:34 KraXRipper wrote:
Hey, it looks like a cool way to do it, but I can't get it to work on a mac - it says it needs a gconf module, and I can't find a way to install that (and I don't think it would work on a mac). So I guess I'd like a URL handler on Mac


same error. tried to install gconf via macports but that died. would the url copy/paste thing only work for those with a paid account? god flash frickin ruins my mac.

I'm on a mac and it works fine for me. What you do is after you find this

LiveAddr=http%3a//211.43.144.194%3A8800%2Fview.cgi%3Fhid%3D1%26cid%3D22%26nid%3D800%26uno%3D1947000%26uip%3D124.197.22.13%26title%3DSonyEricssonSTARCRAFTIIOpenSeason2%26key%3D5a8ecae105ace131846a3844e53beb2d&amp;Format=OGM&amp

Take everything after LiveAddr= and before &amp;Format=OGM&amp. Take this and put it on this website http://www.linkedresources.com/tools/unescaper_v0.2b1.html and click unscape and it will give you

http://211.43.144.194:8800/view.cgi?hid=1&cid=22&nid=800&uno=1947000&uip=124.197.22.13&title=SonyEricssonSTARCRAFTIIOpenSeason2&key=5a8ecae105ace131846a3844e53beb2d

Copy that and put it into VLC. If that doesn't work I recommend installing GOM Player through 'Crossover' or 'Darwine'

Edit Note: I'm not a computer scientist or some sort of computer genius (I am actually a building scientist). I just thought of sharing my process of how I got the link to work on VLC and Mac. So please forgive me if my post is ignorant or irrelevant to the thread



This is the only one that worked for me...Thanks DJ_Amal you saved my ass


THANK YOU FOR THIS as this is the only way it works for me too.
Matkap
Profile Blog Joined September 2010
Spain627 Posts
October 21 2010 10:24 GMT
#50
this worked for me, but the quality is quite bad, even though I used the HQ link, anyway to get HQ with this method? (do have season ticket)
A man tells his stories so many times that he becomes the stories. They live on after him, and in that way he becomes immortal.
RedTerror
Profile Blog Joined December 2008
New Zealand742 Posts
October 21 2010 11:47 GMT
#51
Holy crap that was hard to do, I thought it was hard during season 1 ....

Thanks guys for this info
shmay
Profile Blog Joined July 2004
United States1091 Posts
October 22 2010 05:09 GMT
#52
is there a way to do this for livestream.com ?
Jynks
Profile Joined August 2010
38 Posts
November 04 2010 15:08 GMT
#53
This seamed to work... as opening GomTV now opens VLC.. but it still doesn't play... just VLC sits there nothing happening.... anyidea?
leandroqm
Profile Joined June 2008
Netherlands874 Posts
November 11 2010 09:41 GMT
#54
Same here as Jynks described.
What are you tinkering about?
Born)Slippy
Profile Joined October 2002
Norway1904 Posts
Last Edited: 2010-11-11 11:10:07
November 11 2010 10:50 GMT
#55
I got the encoded link from source, decoded it and it works perfectly. Note to all is that I assume you must be logged into your GomTV account from whichever browser you get the source URL from.

Thanks everyone in this thread!

Edit: I'm on a Mac and did it essentially as described a few posts above.
ecdN
Profile Blog Joined July 2010
United States94 Posts
November 11 2010 11:13 GMT
#56
On November 11 2010 18:41 leandroqm wrote:
Same here as Jynks described.

Refer to the posts right above his.
Born)Slippy
Profile Joined October 2002
Norway1904 Posts
November 13 2010 09:12 GMT
#57
Bump due to the finals, and to add another piece of information. I used Chrome to view the source code, and didn't have to decode the link, then. Apparently Chrome does it for you.
supersoft
Profile Joined April 2010
Germany3729 Posts
November 13 2010 09:17 GMT
#58
oh man it doesn't work
so annoying
SkyTheUnknown
Profile Blog Joined May 2007
Germany2065 Posts
November 13 2010 09:47 GMT
#59
even on windows gomtv player tells me the link is broken.
The oldest and strongest emotion of mankind is fear, and the oldest and strongest kind of fear is fear of the unknown - H.P. Lovecraft
RawK
Profile Joined April 2010
United States125 Posts
Last Edited: 2010-11-13 10:08:28
November 13 2010 10:03 GMT
#60
Looks like i'll just have to view the VoDs later. Oh well. And I stayed up till 4am to watch it too =(

Edit: Haha as soon as I said that i get it to work. I forgot i needed to put in the HTTP section. Hey. It's 5 am, give me a break.
Hail to the Thief. RawK > http://bit.ly/b3gS25
LoCaD
Profile Joined August 2010
Germany1634 Posts
November 13 2010 11:38 GMT
#61
thx you for explaining this to clarify

in the above example that is the part you wanna look for http%3a//211.43.144.199%3A8800%2Fview.cgi%3Fhid%3D1%26cid%3D22%26nid%3D800%26uno%3D12212100%26uip%3D90.190.68.42%26title%3DSonyEricssonSTARCRAFTIIOpenSeason2%26key%3D9f7f95d5a402e94a80ad58c5759803f4

now enter that here http://www.sislands.com/coin70/week6/encoder.htm and DECODE vola your VLC Link nicely displayed
I give up, I just don't know what to write here.
Deleted_143
Profile Joined October 2010
Australia256 Posts
Last Edited: 2010-11-22 10:14:20
November 22 2010 10:10 GMT
#62
--- Nuked ---
lowercase
Profile Joined September 2010
Canada1047 Posts
November 22 2010 10:24 GMT
#63
On November 13 2010 20:38 LoCaD wrote:
thx you for explaining this to clarify

in the above example that is the part you wanna look for http%3a//211.43.144.199%3A8800%2Fview.cgi%3Fhid%3D1%26cid%3D22%26nid%3D800%26uno%3D12212100%26uip%3D90.190.68.42%26title%3DSonyEricssonSTARCRAFTIIOpenSeason2%26key%3D9f7f95d5a402e94a80ad58c5759803f4

now enter that here http://www.sislands.com/coin70/week6/encoder.htm and DECODE vola your VLC Link nicely displayed


But where do you get this data? I look at "view page source" and I can't find anything that resembles this there.
That is not dead which can eternal lie...
lowercase
Profile Joined September 2010
Canada1047 Posts
November 22 2010 10:33 GMT
#64
On October 19 2010 20:14 koma wrote:
Hi guys, first post here so I hope it helps someone, I tried to make it a little bit more noob friendly

I followed the instructions posted before, view source on GOM's live link & found the URL for document.location.href='gomcmd:///title%20GOMtvnet%20http://www.gomtv.net/gox/flash_live.php?num=HQ&sn=9999999999999&lid=22'

Pasted the url http://www.gomtv.net/gox/flash_live.php?num=HQ&sn=9999999999999&lid=22' from that string (you don't need the prefix of gomcmd://title blah blah

Copy paste that link in firefox, and you get a blank page saying "GOMtv.net (c) Gretech Corp. All Rights Reserved"

You ALSO need to view the source of that page and you will see an obvious link saying http://211.43.144.999:8902/view.cgi?hid=1&cid=22&nid=902&uno=4161600&uip=121.45.169.999&title=SonyEricssonSTARCRAFTIIOpenSeason2&key=99999999999999999

That is the URL you want to paste in VLC, open network stream and it all should work

*Note, i removed my IP and keys and replaced it with 9's. Yours WILL look different, but you get the idea.

P.S MAKE SURE you don't copy\paste the ' single quotation mark at the end of each URL otherwise you will not go to the correct site.


Cheers guys, hope this helps someone.


You sir are amazing, 5 stars.
That is not dead which can eternal lie...
Deux
Profile Blog Joined August 2009
United States159 Posts
November 22 2010 10:42 GMT
#65
On November 22 2010 19:33 lowercase wrote:
Show nested quote +
On October 19 2010 20:14 koma wrote:
Hi guys, first post here so I hope it helps someone, I tried to make it a little bit more noob friendly

I followed the instructions posted before, view source on GOM's live link & found the URL for document.location.href='gomcmd:///title%20GOMtvnet%20http://www.gomtv.net/gox/flash_live.php?num=HQ&sn=9999999999999&lid=22'

Pasted the url http://www.gomtv.net/gox/flash_live.php?num=HQ&sn=9999999999999&lid=22' from that string (you don't need the prefix of gomcmd://title blah blah

Copy paste that link in firefox, and you get a blank page saying "GOMtv.net (c) Gretech Corp. All Rights Reserved"

You ALSO need to view the source of that page and you will see an obvious link saying http://211.43.144.999:8902/view.cgi?hid=1&cid=22&nid=902&uno=4161600&uip=121.45.169.999&title=SonyEricssonSTARCRAFTIIOpenSeason2&key=99999999999999999

That is the URL you want to paste in VLC, open network stream and it all should work

*Note, i removed my IP and keys and replaced it with 9's. Yours WILL look different, but you get the idea.

P.S MAKE SURE you don't copy\paste the ' single quotation mark at the end of each URL otherwise you will not go to the correct site.


Cheers guys, hope this helps someone.


You sir are amazing, 5 stars.


You just saved my morning, was about to give up and go install windows
Legat0
Profile Joined October 2010
United States318 Posts
November 22 2010 11:58 GMT
#66
Thanks so much! Gom gives me problems occasionally.
machete
Profile Joined November 2010
Germany23 Posts
Last Edited: 2010-11-24 12:56:14
November 24 2010 12:23 GMT
#67
hey guys,
as I encountered many problems with the streams so i decided to write a php-based script which you can install on any linux machine with php (in my case i installed it on my server).

here is the code:
load.php
+ Show Spoiler +

<?php

// change to your working directory
chdir('/var/www/sc2');

if(file_exists('lock'))
die('already running...'."\n");

touch('lock');

// config
$email = "your@email.com";
$password = "yourpassword";

// log me in
$timeout = 30;
$stream = fsockopen('www.gomtv.net', 80, $errno, $errstr, $timeout);
$loginStr = "cmd=login&returl=%252F&mb_username=".$email."&mb_password=".$password."&rememberme=1";
$header = "POST /user/loginCheck.php HTTP/1.1\r\n"
."Host: www.gomtv.net\r\n"
."Connection: Keep-Alive\r\n"
."Content-Type: application/x-www-form-urlencoded\r\n"
."Content-Length: ".strlen($loginStr)."\r\n"
."\r\n"
.$loginStr."\r\n";

if(!$stream){
unlink('lock');
die('network error'."\n");
}

fputs($stream, $header);
$cookiedata = '';
$endHeader = 0;
while(!$endHeader){
$temp = fgets($stream);
if ($temp == "\r\n"){
$endHeader = 1;
break;
} elseif(stristr($temp,'Set-Cookie: ')) {
$exp_temp = explode(';',$temp);
$cookiedata .= str_replace('Set-Cookie: ','',$exp_temp[0]).'; ';
}
}
$cookiedata .= 'setVQ=HQ';

echo $cookiedata;

// get streaming url
fclose($stream);
$stream = fsockopen('www.gomtv.net', 80, $errno, $errstr, $timeout);
$header = "GET /2010gslopens3/live/ HTTP/1.1\r\n"
."Host: www.gomtv.net\r\n"
."Connection: Keep-Alive\r\n"
."Cookie: ".$cookiedata."\r\n"
."\r\n";

if(!$stream){
unlink('lock');
die('network error'."\n");
}

fputs($stream, $header);
$content = '';
while(!feof($stream)){
$content .= fgets($stream);
}
$next_url =
explode("'",stristr($content,"http://www.gomtv.net/gox/flash_live.php?num=HQ&sn="));
$next_url = $next_url[0];

echo $next_url."\n";

if(!$next_url){
unlink('lock');
die("stream is offline atm"."\n");
}

// TEMPORARY
//$next_url =
"/gox/flash_live.php?num=HQ&sn=732bbcdd4b44f514160&lid=23";

fclose($stream);

// get XML INFO
$stream = fsockopen('www.gomtv.net', 80, $errno, $errstr, $timeout);
$header = "GET ".$next_url." HTTP/1.1\r\n"
."Host: www.gomtv.net\r\n"
."Connection: Keep-Alive\r\n"
."Cookie: ".$cookiedata."\r\n"
."\r\n";

if(!$stream){
unlink('lock');lukasaeneas
die('network error'."\n");
}

fputs($stream, $header);
$content = '';
while(!feof($stream)){
$content .= fgets($stream);
}
$next_url = explode('"',stristr($content,'http://'));
$next_url = $next_url[0];
if(!$next_url){
unlink('lock');
die("couldn't find video data"."\n");
}

fclose($stream);
echo $next_url;

// FINALLY LOAD STREAM
$parsed = parse_url($next_url);
echo $parsed['host'].':'. $parsed['port'];
$stream = fsockopen($parsed['host'], $parsed['port'], $errno, $errstr,
$timeout);
$header = "GET ".$parsed['path'].'?'.$parsed['query']." HTTP/1.1\r\n"
."Host: ".$parsed['host']."\r\n"
."Connection: Keep-Alive\r\n"
."Cookie: ".$cookiedata."\r\n"
."\r\n";

if(!$stream){
unlink('lock');
die('network error'."\n");
}

fputs($stream, $header);
$endHeader = 0;
while(!$endHeader){
$temp = fgets($stream);
// echo $temp;
if ($temp == "\r\n" || feof($stream)){
$endHeader = 1;
break;
}
}
$filename = check_fname('stream0', 'stream');
$file = fopen($filename,'w');
if(!$file){
unlink('lock');
die('couldn\'t open file, probably already streaming'."\n");
}
while(!feof($stream)){
$temp = fgets($stream);
//echo $temp;
fputs($file,$temp);
}
fclose($stream);
fclose(file);
if(filesize($filename) == 0)
unlink($filename);
echo "done"."\n";
unlink('lock');

echo "done"."\n";
unlink('lock');


function check_fname($fname, $origfname, $count = 0){
if(file_exists($fname)) {
$count++;
$fname = check_fname($origfname.$count, $origfname,
$count);
}
return $fname;
}
?>


stream.php
+ Show Spoiler +

<?php
header("Content-type: video/flv");


$filename = check_fname('stream0', 'stream', 0, true);

$file = fopen($filename,'r');
while(!feof($file)){
echo fgets($file);
}
fclose($file);


function check_fname($fname, $origfname, $count = 0, $first = false){
if(file_exists($fname)) {
$count++;
$fname = check_fname($origfname.$count, $origfname, $count);
}
if($first) {
$tmp = str_replace('stream','',$fname);
$tmp--;
return $origfname.$tmp;
} else {
return $fname;
}
}
?>


either run it by using: php stream.php or using crontab. my crontab looks like this:
*/5 5-16 24-25 * * php /home/www/sc2/load.php >> /home/www/sc2/log.txt
*/5 11-16 26-31 * * php /home/www/sc2/load.php >> /home/www/sc2/log.txt
*/5 11-16 1-18 * * php /home/www/sc2/load.php >> /home/www/sc2/log.txt

I didn't test the cronjob so far..maybe it doesn't work..you'll need to test a bit around.

to wach the current (or the last) stream, just open the stream.php in vlc and you will see the latest stream. btw, all recorded streams are being archived (scheme: stream0, stream1, stream2, etc.) so you can also download the stream from yesterday for example.

I hope you can use this script

edit:// if you load that stuff from crontab you need to add
chdir('/var/www/sc2');
to the top of load.php. please change the directory to your actual working directory
I transitioned into losing my hole =§%) base
sammler
Profile Blog Joined June 2010
United Kingdom381 Posts
November 24 2010 14:05 GMT
#68
Does anyone happen to know an Android player that will run the stream url, i.e. RealPlayer, RockPlayer. It's for my Galaxy Tab. GSL just ended otherwise I'd try it myself.
"I wish I was good enough to be called bad by IdrA." - Moa
theseraph
Profile Joined September 2010
United States100 Posts
November 25 2010 04:46 GMT
#69
i haven't been able to stream gsl season 3 on vlc, i heard they were cracking down on vlc urls even if you paid for it. any confirmation? suggestions?
Some motherfuckers always tryina skate uphill.
yuzisee
Profile Joined November 2010
Canada10 Posts
November 25 2010 06:13 GMT
#70
I watched both halves live yesterday using VLC and it worked fine. In fact, GomPlayer was the one that wasn't working for me.

(The latest Greasemonkey script can help make sure you aren't making any mistakes getting the URLs)
http://www.teamliquid.net/forum/viewmessage.php?topic_id=151782
http://userscripts.org/scripts/show/91165
nesf
Profile Joined November 2010
Ireland20 Posts
November 25 2010 10:58 GMT
#71
Yeah VLC is working fine for me as well today. Saves me having to use Parallels to run a copy of Windows. :D
Benzaitare
Profile Joined November 2010
Japan9 Posts
November 25 2010 12:06 GMT
#72
Just wanted to add my advice. I'm on a Mac using Safari, and when I clicked on the link at gomtv.net for the video I just got an error that said "Not available for your system". It didn't even give me any link that I could search the source code of.

In order to get the link I changed my User Agent to Safari 5.0.3 Windows from the "Develop" menu, then I was able to get the page to veiw the source and find the link for VLC. If you are using Safari and you don't see the Develop menu for safari in the menu bar, there are different ways to activate it, including using the free (and awesome) Onyx.

Thanks guys! Because of this thread I am able to watch live matches for the first time. Watching SlayersBoxer now in VLC!
"Any sufficiently advanced technology is indistinguishable from magic." Arthur C. Clarke
bassul
Profile Joined November 2010
Romania5 Posts
December 03 2010 13:50 GMT
#73
If it helps, I'm using (in Ubuntu) a modified version of gocmd.py, into which I replaced 'vlc' with 'gomtv.sh' on line 64

gomtv.sh is a simple script that basically does what you suggested, Benzaitaire.

+ Show Spoiler +
#!/bin/bash
wget $1 -O /tmp/gomtv.html
url=`grep -o 'http%3a.*&amp;Format' /tmp/gomtv.html`
if [ -z "$url"]
then
url=`grep -o 'http://.*"' /tmp/gomtv.html`
url="${url%%\"}"
else
url=$(echo -n $url | sed 's/\\/\\\\/g;s/\(%\)\([0-9a-fA-F][0-9a-fA-F]\)/\\x\2/g')
echo "url: $url"
url=`printf $url`
url=${url%%&amp*}
fi
rm /tmp/gomtv.html
echo "opening $url"
xine -S volume=90 "$url"


of course, you can replace the last line with any player of your choosing, like vlc & all.
Ye shall know the truth, and the truth shall make you mad.
PrImItIvLiNg
Profile Joined September 2005
Germany31 Posts
December 15 2010 03:34 GMT
#74
I am trying to watch the A-Class qualifiers right now and ran into some trouble (link doesnt open, but this is the first time I try this too, so I'm not entirely sure I do it right..)

Here's the link to the streams: http://www.gomtv.net/sc2_codeA.php

The URL I found in the source code for sq view is: http://www.gomtv.net/gox/flash_codeA.php?num=SQ&sn=1dee8abb9b5203bc658

and now I tried the link I found there in vlc:

gomp2p://ID=GOMTVSTREAMERLIVE%20CLASS=GomTVStreamerLive%20PARAM=/hide%20"http://127.0.0.1:53535/live.acm?CID=GL_20101215_800_0&LiveAddr=http%3a//211.43.144.197%3A8800%2Fview.cgi%3Fhid%3D1%26cid%3D0%26nid%3D800%26uno%3D5285500%26uip%3D130.58.226.166%26title%3DSTARCRAFTII_GSL_Tour_Code_A_Decision_Matches%26key%3Df4c5b64eb2bb96fd52de8029593a9cdb&Format=OGM&SecSize=49152&FixedHeader=TRUE&PosInData=TRUE

There I get this error msg:

Your input can't be opened:
VLC is unable to open the MRL 'gomp2p://ID=GOMTVSTREAMERLIVE%20CLASS=GomTVStreamerLive%20PARAM=/hide%20&quot;http://127.0.0.1:53535/live.acm?CID=GL_20101215_800_0&amp;LiveAddr=http%3a//211.43.144.197%3A8800%2Fview.cgi%3Fhid%3D1%26cid%3D0%26nid%3D800%26uno%3D5285500%26uip%3D130.58.226.166%26title%3DSTARCRAFTII_GSL_Tour_Code_A_Decision_Matches%26key%3Df4c5b64eb2bb96fd52de8029593a9cdb&amp;Format=OGM&amp;SecSize=49152&amp;FixedHeader=TRUE&amp;PosInData=TRUE&quot;'. Check the log for details.

Does anyone get a different link? What should I do to fix things?
It is not enough to suceed - others must fail!
PrImItIvLiNg
Profile Joined September 2005
Germany31 Posts
December 15 2010 03:38 GMT
#75
Did anyone try running the gomtv player over wine?
It is not enough to suceed - others must fail!
Noev
Profile Blog Joined January 2010
United States1105 Posts
December 15 2010 03:50 GMT
#76
On December 15 2010 12:38 PrImItIvLiNg wrote:
Did anyone try running the gomtv player over wine?


Yeah i gave it a try during GSL 1, but the installer finishes but you are never able to load up the program, it always crashes when it starts to load up. Not sure if anyone else has had any luck with it but from my experience it does not work.
ervante
Profile Joined October 2004
United States2 Posts
December 15 2010 04:43 GMT
#77
You only want this part: http%3a//211.43.144.197%3A8800%2Fview.cgi%3Fhid%3D1%26cid%3D0%26nid%3D800%26uno%3D5285500%26uip%3D130.58.226.166%26title%3DSTARCRAFTII_GSL_Tour_Code_A_Decision_Matches%26key%3Df4c5b64eb2bb96fd52de8029593a9cdb&Format=OGM&SecSize=49152&FixedHeader=TRUE&PosInData=TRUE

You need to then convert the ascii characters :,?,/,=, & in the string (just use find and replace), as the previous posts have already stated.

%3a is :
%2f is /
%3d is =
%26 is &

I've done it for you here: http://211.43.144.197:8800/view.cgi?hid=1&cid=0&nid=800&uno=5285500&uip=130.58.226.166&title=STARCRAFTII_GSL_Tour_Code_A_Decision_Matches&key=f4c5b64eb2bb96fd52de8029593a9cdb&Format=OGM&SecSize=49152&FixedHeader=TRUE&PosInData=TRUE
Clues
Profile Joined April 2010
United States186 Posts
December 18 2010 08:13 GMT
#78
Anyone having trouble tonight? I've done the page source diving before and gotten it to work just fine, but for some reason the finals isn't working right for me.

Am I alone in this?
SooWoop
Profile Joined October 2010
Canada16 Posts
March 11 2011 10:07 GMT
#79
I cant get this shit to work...every time i enter the gom stream link into VLC "Open Network" it comes up with some error line message and when i click show details i get this massive thing of text that i dont know how to read

Just says "Main Debug: " then some other stuff.......what the hell do i do?!!?!??!?

I wanna watch GSL! Why can't Korea accept Macs as computers too and make stuff work for us
To pwn nubs, or not to pwn nubs. That is the question.
Caliber
Profile Joined August 2010
United States598 Posts
Last Edited: 2011-03-12 05:08:03
March 12 2011 05:01 GMT
#80
nvm. problem solved. thanks a bunch, i felt like an outside with my MAC having to watch vods the next day while all my friends watched it live
EZjijy
Profile Blog Joined February 2010
United States1039 Posts
March 12 2011 05:37 GMT
#81
I'm getting a syntax error on line 42, 90, 92, and 94?
machete
Profile Joined November 2010
Germany23 Posts
March 14 2011 10:05 GMT
#82
doesn't work any more. did gom change anything?
I transitioned into losing my hole =§%) base
Plasmid
Profile Joined December 2010
57 Posts
March 14 2011 10:08 GMT
#83
think so, does not work for me either starting today.

pretty frustrating.

i guess we should send a note to apple, so that they can talk to Intel, so that they can help the gomtv people take their head out of a dark place.
machete
Profile Joined November 2010
Germany23 Posts
March 14 2011 11:14 GMT
#84
i lol'd

yeah gomtv is pretty keen on keeping those pirates out, on cost of those who do pay.
I transitioned into losing my hole =§%) base
HenL
Profile Joined February 2010
Norway111 Posts
March 14 2011 11:37 GMT
#85
On March 14 2011 20:14 machete wrote:
i lol'd

yeah gomtv is pretty keen on keeping those pirates out, on cost of those who do pay.


This has nothing to do with "pirates", and everything to do with them wanting to force people to install their media player(because even windows users like me would rather watch the stream in their media player of choice).
Benzaitare
Profile Joined November 2010
Japan9 Posts
March 19 2011 06:09 GMT
#86
I cannot get it to work now..... Anyone else?
"Any sufficiently advanced technology is indistinguishable from magic." Arthur C. Clarke
tsuxiit
Profile Joined July 2010
1305 Posts
March 19 2011 06:21 GMT
#87
This is so frustrating. Gom has made it impossible for Mac users to watch the stream.
TealLurker
Profile Joined June 2008
United States791 Posts
March 19 2011 06:25 GMT
#88
I would even take an Octoshape stream if it streamed the GSL Finals. You know it's bad when I'm begging for an Octoshape stream. I HATE OCTOSHAPE!!! Ugh!
Megabyte
Profile Joined April 2010
United States29 Posts
March 19 2011 06:27 GMT
#89
WTF seriously... we all paid money and now we can't watch the finals Live. What a shame. GOM you have disappointed me.
RBKeys
Profile Blog Joined May 2010
Canada196 Posts
March 19 2011 06:49 GMT
#90
I never thought I would see the day, but it seems that GOM has been able to bring the hammer down on the whole internet. How is SC2 and esports ever supposed to grow if we have companies like GOM who would prefer to stifle viewership instead of promote it? What saddens me the most is that the game is in such a fledgling state -- it is constantly changing. If things don't change, all of us who are on the outside (and it's not just Mac users) are going to miss the growth of the sc2 seed into a sapling. I feel like I've been thrown in prison and don't get to see my kid grow up (that might be a bit melodramatic).
Thanks for the break :D
Benzaitare
Profile Joined November 2010
Japan9 Posts
March 21 2011 06:37 GMT
#91
A response from GOMtv.net support
-----------------------------------------------------
Dear User:

GOM Player for MAC OS is in its beta testing stage for streaming stability issues.
The player will be available soon.

Thank you for your understanding.
GOMtv.net

For a quicker assistance please post your questions on our support forum

From: Benzaitare [mailto:xxxx@xxxx.com]
Sent: Saturday, March 19, 2011 3:22 PM
To: support@gomtv.net
Subject: GOMTV account

PLEASE add Mac support.
We Mac users have been able to watch the live games up until recently with VLC player:
http://www.teamliquid.net/forum/viewmessage.php?topic_id=154485&currentpage=5
but recently that has stopped working.

Either make it work again or allow us Mac users to have a native version of the GOMTV player.
I have paid before for seasons and I will pay again but you need to make a Mac version as there are a lot of Mac StarCraft players out there...
"Any sufficiently advanced technology is indistinguishable from magic." Arthur C. Clarke
kencheeto
Profile Joined April 2010
United States54 Posts
March 21 2011 09:09 GMT
#92
On March 21 2011 15:37 Benzaitare wrote:
A response from GOMtv.net support
-----------------------------------------------------
Dear User:

GOM Player for MAC OS is in its beta testing stage for streaming stability issues.
The player will be available soon.

Thank you for your understanding.
GOMtv.net

For a quicker assistance please post your questions on our support forum

From: Benzaitare [mailto:xxxx@xxxx.com]
Sent: Saturday, March 19, 2011 3:22 PM
To: support@gomtv.net
Subject: GOMTV account

PLEASE add Mac support.
We Mac users have been able to watch the live games up until recently with VLC player:
http://www.teamliquid.net/forum/viewmessage.php?topic_id=154485&currentpage=5
but recently that has stopped working.

Either make it work again or allow us Mac users to have a native version of the GOMTV player.
I have paid before for seasons and I will pay again but you need to make a Mac version as there are a lot of Mac StarCraft players out there...


Well, thank god. Promising at least..

Thanks to those that have made it possible at all for us to watch on OSX so far- hopefully the mac client will be out before the next season.
theKalash
Profile Joined November 2010
Germany15 Posts
March 30 2011 09:48 GMT
#93
I'm getting this Error:

File "./gomcmd.py", line 77, in <module>
import gconf
ImportError: No module named gconf


Anyone knows how to fix it? I'm new to Mac .. don't really know what to do
Benzaitare
Profile Joined November 2010
Japan9 Posts
March 30 2011 15:39 GMT
#94
HA!
Tastosis told everyone that the Mac player was out. Then GOMtv issued this statement:
http://www.gomtv.net/2011championship/news/63959
"Dear GOMTV.net users:

There was a slight error during our live broadcast.
GOM Player for MAC OS is not yet available.

We are currently preparing for the launch of GOM Player for MAC and the player will be available soon for MAC users.
Thank you for your understanding.

GOMTV.net"
"Any sufficiently advanced technology is indistinguishable from magic." Arthur C. Clarke
Benzaitare
Profile Joined November 2010
Japan9 Posts
April 05 2011 10:24 GMT
#95
WOO HOO! IT is available!
http://www.gomtv.net/2011championship/news/64310

Dear GOMTV.net users:

The long wait is now over!
GOM Player is now available for Mac.

Visit GOMTV.net via Safari web browser, click on the Live button and you will see the download link for Mac GOM.

If you experience any problem using our service, contact our support team by using our support forum's QnA section http://www.gomtv.net/qna/index.gom

Thank you.
GOMTV.net
"Any sufficiently advanced technology is indistinguishable from magic." Arthur C. Clarke
Fir3fly
Profile Joined May 2009
Australia251 Posts
April 05 2011 11:02 GMT
#96
well now Linux is next in line...

but they'll never do it, everyone forgets about linux :x.
sgflt
Profile Joined July 2010
10 Posts
May 05 2011 10:19 GMT
#97
Well, I felt guilty, so I fixed the script, see

https://github.com/mbr/gomcmd

for details.

It seems I can't edit the original post anymore, what's up with that?
JWill
Profile Joined December 2010
Canada52 Posts
May 09 2011 08:04 GMT
#98
Sorry about the bump, but if anyone's still having problems watching GSL in linux, I found this script works perfectly (uses vlc, handles all the mucky config).

Oh, if you have a problem launching it you may have to change the path in the play.sh script to an absolute rather than relative one. Other than that it worked out of the box.
Diamond Zerg
r00ter
Profile Joined November 2010
Bulgaria39 Posts
May 09 2011 11:39 GMT
#99
On May 09 2011 17:04 JWill wrote:
Sorry about the bump, but if anyone's still having problems watching GSL in linux, I found this script works perfectly (uses vlc, handles all the mucky config).

Oh, if you have a problem launching it you may have to change the path in the play.sh script to an absolute rather than relative one. Other than that it worked out of the box.


thank you very much!
linuxfan
Profile Joined July 2010
Denmark55 Posts
June 28 2011 05:34 GMT
#100
On May 09 2011 17:04 JWill wrote:
Sorry about the bump, but if anyone's still having problems watching GSL in linux, I found this script works perfectly (uses vlc, handles all the mucky config).

Oh, if you have a problem launching it you may have to change the path in the play.sh script to an absolute rather than relative one. Other than that it worked out of the box.


Thanks a ton! Can't wait to see how Sheth does today! <3
I declare war on the macfags and the faildows users. ENSLAVE THE INFIDELS!
setekh
Profile Joined March 2011
15 Posts
August 13 2011 21:51 GMT
#101
The 'pirate' version may be just a little part of the deal. GOM player uses p2p tech. to re-broadcast using your pc as a node, that's why they want you to use GOM Player that btw is not bad and has a lot in common with VLC . You can request a link once ! bare that in mind when trying or writing a script. I really think that for payed stream they can afford to use other technology for media delivery, but that's me. Also we would be able to write players/scripts for other platforms, i'm not so sure but i think you can not watch on Android and WinMo only on IP.
No quote
Normal
Please log in or register to reply.
Live Events Refresh
Next event in 8h 32m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SpeCial 146
ProTech93
StarCraft: Brood War
ggaemo 58
NaDa 40
Noble 18
Dota 2
monkeys_forever317
capcasts297
NeuroSwarm151
LuMiX1
Counter-Strike
Stewie2K531
Heroes of the Storm
Khaldor134
Other Games
tarik_tv20527
gofns11479
summit1g7220
WinterStarcraft670
JimRising 487
ViBE120
Trikslyr50
Organizations
Other Games
gamesdonequick1148
BasetradeTV100
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota22533
League of Legends
• Doublelift4308
Upcoming Events
Sparkling Tuna Cup
8h 32m
SC Evo League
10h 32m
Chat StarLeague
14h 32m
Replay Cast
22h 32m
Afreeca Starleague
1d 8h
Queen vs HyuN
EffOrt vs Calm
Wardi Open
1d 9h
RotterdaM Event
1d 13h
Replay Cast
1d 22h
Afreeca Starleague
2 days
Rush vs TBD
Jaedong vs Mong
Afreeca Starleague
3 days
herO vs TBD
Royal vs Barracks
[ Show More ]
Replay Cast
3 days
The PondCast
4 days
Replay Cast
4 days
LiuLi Cup
5 days
Cosmonarchy
5 days
OyAji vs Sziky
Sziky vs WolFix
WolFix vs OyAji
BSL Team Wars
5 days
Team Hawk vs Team Dewalt
BSL Team Wars
5 days
Team Hawk vs Team Bonyth
SC Evo League
6 days
[BSL 2025] Weekly
6 days
Liquipedia Results

Completed

Jiahua Invitational
uThermal 2v2 Main Event
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
CSL Season 18: Qualifier 1
Acropolis #4 - TS1
CSLAN 3
SEL Season 2 Championship
WardiTV Summer 2025
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL Season 18: Qualifier 2
CSL 2025 AUTUMN (S18)
LASL Season 20
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
RSL Revival: Season 2
Maestros of the Game
EC S1
Sisters' Call Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
Roobet Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.