Quote:
Which version of mplayer are you using? Just type mplayer with no args and copy that version line to me. I think some idiot at Debian thought it would be a good idea to package a subversion drop instead of an official release. I'm building the official release as we speak. |
Quote:
Who knows what's in the ubuntu patchset? Everything's been working fine. I just tried 400. Works fine. Looks like crap, but works fine. Chances are the official release is the way to go. I seem to remember the mplayer people getting in a fuss about how Debian wasn't packaging their program properly or something... |
Quote:
|
Quote:
I like simplicity, being able to either watch the games or listen to them is just fine afaic.... that is enough. Making an edit to a config file doesn't bother me any.It is none of my business really because this is your baby but I hope whatever time you guys spend in the future is used to make the existing product bullet proof... that is my druthers. |
Hi guys, I've been following this thread with interest for a couple of weeks and just can't seem to get the script to run. I'm sure it is something I've done wrong since I'm still fairly new to GNU/Linux, but perhaps the error 'Name or service not known' has to do with the fact I'm in Canada. It doesn't look like the url's are different here though, so it's just a guess. I've downloaded the tarball from post 334 and installed system-wide, as well as run mlbviewer.py from the directory. I'm using ubuntu 7.10.
>>Traceback (most recent call last): File "mlbviewer.py", line 311, in <module> curses.wrapper(mainloop, mycfg.data) File "curses/wrapper.py", line 44, in wrapper File "mlbviewer.py", line 65, in mainloop available = mysched.getListings(cfg['speed'],cfg['blackout'],cfg['audio_follow']) File "/home/brent/Desktop/mlbviewer-0.1alpha5/MLBviewer/mlbtv.py", line 185, in getListings self.getData() File "/home/brent/Desktop/mlbviewer-0.1alpha5/MLBviewer/mlbtv.py", line 139, in getData self.data = self.__jsonToPython() File "/home/brent/Desktop/mlbviewer-0.1alpha5/MLBviewer/mlbtv.py", line 134, in __jsonToPython return simplejson.loads(self.__scheduleToJson()) File "/home/brent/Desktop/mlbviewer-0.1alpha5/MLBviewer/mlbtv.py", line 116, in __scheduleToJson mystr = re.sub(r'[\t\n]','',self.__getSchedule()) File "/home/brent/Desktop/mlbviewer-0.1alpha5/MLBviewer/mlbtv.py", line 101, in __getSchedule fp = urllib2.urlopen(req) File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen return _opener.open(url, data) File "/usr/lib/python2.5/urllib2.py", line 381, in open response = self._open(req, data) File "/usr/lib/python2.5/urllib2.py", line 399, in _open '_open', req) File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain result = func(*args) File "/usr/lib/python2.5/urllib2.py", line 1107, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib/python2.5/urllib2.py", line 1082, in do_open raise URLError(err) urllib2.URLError: <urlopen error (-2, 'Name or service not known')> My config file, in /.mlb is: user = x pass = x video_player = mplayer speed = 400 Your work is already appreciated, and any help you might have here would be huge for me. The last thing I want to do is resort to Windoze. Thanks in advance. |
recording
as far as worrying about the legality of recording I would like to point out that on the mac you can easily save a stream or export it to your ipod using the blessed tools from mlb - flip4mac and quicktime.
|
Quote:
Code:
"http://mlb.mlb.com/components/game/year_2008/month_04/day_17/gamesbydate.jsp" Code:
>>> import urllib2 |
Quote:
|
Quote:
Python 2.5.1 (r251:54863, Mar 7 2008, 04:10:12) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import urllib2 >>> URL = "http://mlb.mlb.com/components/game/year_2008/month_04/day_17/gamesbydate.jsp" >>> fp = urllib2.urlopen(URL) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen return _opener.open(url, data) File "/usr/lib/python2.5/urllib2.py", line 381, in open response = self._open(req, data) File "/usr/lib/python2.5/urllib2.py", line 399, in _open '_open', req) File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain result = func(*args) File "/usr/lib/python2.5/urllib2.py", line 1107, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib/python2.5/urllib2.py", line 1082, in do_open raise URLError(err) urllib2.URLError: <urlopen error (-2, 'Name or service not known')> |
Am I mistaken here, but I am paying for only the 400k stream, can I still get the 800k with this script?
|
Quote:
|
Quote:
I'd be very surprised and a little disappointed if you found a loophole. It's the stated policy of this project to implement feature parity with Windows users not allow you to get features you didn't pay for. That kind of use (or rather mis-use) is what would get this project shut down really quickly! :( |
Quote:
|
Quote:
For that matter, I hope jkr is in agreement with this, I don't think we would accept any patches that implement recording. Basically, if someone wants to use our software to do that, then they are free to modify it under GPL but it won't ever become an official aspect of our software.* *Unless of course the official clients that you download from mlb.com implement a recording feature. |
Quote:
We're going to dive in even deeper and emulate a web browser from the shell: Code:
matthew@tango:~/mlbtv/svn/mlbviewer/MLBviewer$ telnet mlb.mlb.com 80 Code:
HTTP/1.1 200 OK |
All times are GMT -5. The time now is 05:36 AM. |