|
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.
|
Good effort but I think people that are smart enough to type into the console can just get the url instead.
|
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.
|
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.
|
Hey thanks man, great work. Can't wait for the GUI version, because we all know GOM will never get around to making one.
|
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.
|
United States12607 Posts
Thanks for the tutorial. I am loathe to install GOM player.
|
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?
|
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.
|
thanks man for this script!
|
thank you very very much for this script, works flawlessly!
|
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
|
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.
|
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)
|
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=222. 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
|
|
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=222. 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
|
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=222. 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...
|
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=222. 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...
|
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=222. 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?
|
|
|
|