Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hey I just noticed I'm getting errors on all my machines when trying condensed games:
Traceback (most recent call last):
File "mlbviewer.py", line 1482, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/usr/lib/python2.5/curses/wrapper.py", line 44, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 1155, in mainloop
g = GameStream(stream, cfg['user'], cfg['pass'],
UnboundLocalError: local variable 'stream' referenced before assignment
it does the same thing on both of my comps, any idea if MLB changed something?
the old revision does play the streams with mplayer, but the revision that switched to rtmpdump doesnt work for some reason
hey I just noticed I'm getting errors on all my machines when trying condensed games:
Traceback (most recent call last):
File "mlbviewer.py", line 1482, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/usr/lib/python2.5/curses/wrapper.py", line 44, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 1155, in mainloop
g = GameStream(stream, cfg['user'], cfg['pass'],
UnboundLocalError: local variable 'stream' referenced before assignment
it does the same thing on both of my comps, any idea if MLB changed something?
the old revision does play the streams with mplayer, but the revision that switched to rtmpdump doesnt work for some reason
Pretty sure I tested that code before I committed it. But there's no way it can work the way it is written.
I'll have it fixed by tonight. I have a treat coming in tonight's revision.
I'm getting distortion in the Orioles/Red Sox game going on right now. I'm seeing some sort of grid in the picture and the audio sounds tinny and poorly compressed. I'm seeing this in both the NexDef and 1800k RTMP streams. The Marlins game seems fine. Anyone else noticing this?
I'm getting distortion in the Orioles/Red Sox game going on right now. I'm seeing some sort of grid in the picture and the audio sounds tinny and poorly compressed. I'm seeing this in both the NexDef and 1800k RTMP streams. The Marlins game seems fine. Anyone else noticing this?
Revision 248: Condensed Games fixed and Nexdef stream selection
First off, I had to make a major change to get condensed games to use rtmpdump. I've tried to test all the places I could have screwed things up but I probably missed one or two.
So before you update, it's good to know how to revert (in case I broke something you really want NOW):
To revert to revision 247:
Code:
$ svn -r 247 up
Now that that's out of the way, here's what's in 248:
+ Stream selection is back along with the status screen. Please note that the status screen will appear before the player window opens. Just be patient. If the player fails, the status screen will revert back to the listings. Also stream selection may occur quicker than the status screen updates. Again, be patient.
+ Like last year, max_bps configuration file parameter can limit the streams it attempts to connect to. For example, if you only want the 1800 and below streams, your ~/.mlb/config should contain:
Quote:
max_bps=1800000
+ Condensed games now use rtmpdump. Really, they do. I tested it this time.
I'm still working on the start_time parameter for nexdef which would enable archives and jump to inning for nexdef.
Honestly, though, I think MLBAM is still working on this from there end. Using java debug flags, I can see that autobahn.jar is getting the start time and it looks correct (well, the xml files are off by an hour so I compensate for that), but the stream always starts at the end.
So, Big Papi is up to .161, last I checked. It's possible MLBAM still has a bit more to go as well.
Any problems you encounter with revision 248, if it fails to produce a stack trace (crash), run the operation again with debug enabled ('d' key) and post the complete stack trace here.
I saw that daftcat just released version 248, so I went to upgrade my version of mlbviewer. I cd'd to my mlbviewer directory and ran "svn up" and got "At revision 249." No files were updated - it was as if I was already at the latest version already. Am I doing something wrong?
I saw that daftcat just released version 248, so I went to upgrade my version of mlbviewer. I cd'd to my mlbviewer directory and ran "svn up" and got "At revision 249." No files were updated - it was as if I was already at the latest version already. Am I doing something wrong?
All modifications I'm making are on a different branch.
Please change out of your mlbviewer directory and check out the nexdef2010 branch:
Code:
$ cd ~/
$ svn co https://mlbviewer.svn.sourceforge.net/svnroot/mlbviewer/branches/nexdef2010 nexdef2010
I did this because I am doing some major re-working of code trying to get nexdef fully working as well as some much needed code cleanup. As such, mlbviewer (the trunk) will remain rather quiet until the code in the nexdef2010 branch has stabilized. Condensed game fix should go into mlbviewer but it's too big a change right now. Likewise nexdef features. Revision 249 is on the nexdef2010 branch. Perform a check out as above to get the most recent (and possibly buggy) code. Or if condensed games are working for you on mlbviewer (rebuilt mplayer to support rtmp) and you don't care about nexdef, then stay with mlbviewer if you don't want to deal with possibly buggy code.
Hello - I think I'm probably making a very basic error, but I can't get the command 'make posix' to run:
debian:/usr/bin/rtmpdump# ls
ChangeLog Makefile rtmpdump.1.html rtmpgw.8.html rtmpsuck.c
COPYING README rtmpdump.c rtmpgw.c thread.c
librtmp rtmpdump.1 rtmpgw.8 rtmpsrv.c thread.h
debian:/usr/bin/rtmpdump# make posix
bash: make: command not found
debian:/usr/bin/rtmpdump#
I had originally put rtmpdump in the wrong directory - and copied it over to usr/bin. However, I don't think this is make th make posix command to fail. Any idea what I'm doing wrong.
I've tried to get this installed and running a couple of times with Fedora, but didn't even get close - I think I'm pretty close now with Debian and would like to get it to work.
Hello - I think I'm probably making a very basic error, but I can't get the command 'make posix' to run:
debian:/usr/bin/rtmpdump# ls
ChangeLog Makefile rtmpdump.1.html rtmpgw.8.html rtmpsuck.c
COPYING README rtmpdump.c rtmpgw.c thread.c
librtmp rtmpdump.1 rtmpgw.8 rtmpsrv.c thread.h
debian:/usr/bin/rtmpdump# make posix
bash: make: command not found
debian:/usr/bin/rtmpdump#
I had originally put rtmpdump in the wrong directory - and copied it over to usr/bin. However, I don't think this is make th make posix command to fail. Any idea what I'm doing wrong.
I've tried to get this installed and running a couple of times with Fedora, but didn't even get close - I think I'm pretty close now with Debian and would like to get it to work.
Any help is greatly appreciated. Thanks.
Code:
$ sudo apt-get install make
You may also have to run these since it seems like Debian was stupid about what to include in the default distribution:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.