LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 05-12-2009, 11:52 AM   #1771
rjwood
Member
 
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130

Rep: Reputation: 16

Quote:
Originally Posted by daftcat View Post
svn revision 202.

Code:
$ svn co https://mlbviewer.svn.sourceforge.net/svnroot/mlbviewer/trunk mlbviewer
Once you've checked out mlbviewer, you can keep it up to date with the "svn up" command from within the mlbviewer directory.

I plan to make another Sourceforge release in a week or two, though.
is this normal?
Quote:
svn: Failed to add directory 'test': an unversioned directory of the same name already exists
What do you mean by "press l instead of enter"
 
Old 05-12-2009, 12:04 PM   #1772
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by rjwood View Post
is this normal? What do you mean by "press l instead of enter"
The error you see, you're trying to check out an svn revision of mlbviewer on top of the "unversioned" official release.

Change the svn checkout command to:

Code:
$ svn co https://mlbviewer.svn.sourceforge.net/svnroot/mlbviewer/trunk mlbviewer-svn
Now your svn revision is in a directory called mlbviewer-svn. Don't mix these up. In fact, you can remove the release directory if you want since this revision is newer. You'll be able to keep it up to date as I check in revisions with the "svn up" command rather than waiting for sourceforge releases.

To activate the jump to innings interface, instead of using "enter" (or "return") to select a highlighted game, you will use the "i" key (i for innings.) This interface follows all the same stream preference logic as "enter" so you'll want to select your preferred home vs. away stream before you select the inning to jump to.
 
Old 05-12-2009, 12:10 PM   #1773
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by poorboywilly View Post
Brilliant! Got to cover up the spoilers. When I watch an archived game, it's most commonly because I want to see the game before I know what happened in the game, as if it were live. I can still remember using the flash player a couple years ago and having to cover up the side of the screen where the scores would show until I got the game full-screened.
Probably next month or later this summer I plan to implement a toggle for spoilers mode where I can display scores in the status bar and show line scores. Sometimes I come home and I already know my teams have lost (or I've already watched their games) and I just want to watch some game with a silly football score or some monster inning like the Bos 12 run inning the other day. So I could enable spoilers mode, scroll down the list and see the scores, open the innings interface and see the line score, and jump to the monster inning.

But for now, "no spoilers" is the norm for mlbviewer.
 
Old 05-12-2009, 12:13 PM   #1774
rjwood
Member
 
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130

Rep: Reputation: 16
updated to rev 202, but "i" command still not working.
 
Old 05-12-2009, 12:18 PM   #1775
rjwood
Member
 
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130

Rep: Reputation: 16
never mind--its working...Thanks
 
Old 05-12-2009, 09:47 PM   #1776
eveostay
LQ Newbie
 
Registered: Apr 2008
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by daftcat View Post
Two things you can try to really get at the root of this.

Option One) Run the gamedayaudio.py test tool and copy the output (all of it!) to pastebin.com.

[...]

Option Two) rebuild your mplayer and perform Option One.
I decided to build mplayer first, and...success. I guess the old version was older than you've seen. Anyway -- thanks for your patience, help and advice. And, of course, all your hard work.
 
Old 05-12-2009, 09:56 PM   #1777
bosox
Member
 
Registered: May 2009
Posts: 53

Rep: Reputation: 15
i am trying to get this set up on macos leopard. i followed the instructions in the install and requirements files. i installed the codecs, and python libraries, downloaded autobahn, and put my email/pass in the .mlb config file. i also built mplayer from the instructions, but haven't used it to see if that is working.

here are the issues i am having so far:

1-- python mlbviewer.py can only be run as root. when i run it as a regular user i get:
Quote:
Traceback (most recent call last):
File "mlbviewer.py", line 1250, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/curses/wrapper.py", line 44, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 382, in mainloop
+ len(coveragetoggle.get(cfg['coverage'])) + 2
TypeError: object of type 'NoneType' has no len()
2-- when i run it as root, it seems to load up fine, but when i try to select a game, i get an authorization error. if i put it in debug, here is the error:
Quote:
Traceback (most recent call last):
File "mlbviewer.py", line 1250, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/curses/wrapper.py", line 44, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 1018, in mainloop
u = g.soapurl()
File "/Users/jason/Downloads/mlbviewer/MLBviewer/mlbtv.py", line 1148, in soapurl
File "/Users/jason/Downloads/mlbviewer/MLBviewer/mlbtv.py", line 1001, in workflow
File "/Users/jason/Downloads/mlbviewer/MLBviewer/mlbtv.py", line 979, in login
MLBviewer.mlbtv.MLBAuthError: Login was unsuccessful.
3-- i cannot get java -jar autobahn.jar to run properly. i get the following:
Quote:
Time to init SSL: 101
22:54:33.127 EVENT Starting Jetty/4.2.x
22:54:33.144 EVENT Started HttpContext[/]
22:54:33.144 EVENT Started HttpContext[/protected]
22:54:33.146 WARN!! Failed to start: SocketListener@127.0.0.1:8001
Exiting in 30 seconds
Exiting
22:55:03.352 EVENT Stopped HttpContext[/]
22:55:03.352 EVENT Stopped HttpContext[/protected]
22:55:03.353 EVENT Stopped org.mortbay.http.HttpServer@c4a5ec
so that is where i am at. i assume i need to get autobahn running, and then once i can select a game without the autho error, i will see if i have mplayer working ok.

i appreciate the help!
 
Old 05-13-2009, 12:26 AM   #1778
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by bosox View Post
i am trying to get this set up on macos leopard. i followed the instructions in the install and requirements files. i installed the codecs, and python libraries, downloaded autobahn, and put my email/pass in the .mlb config file. i also built mplayer from the instructions, but haven't used it to see if that is working.

here are the issues i am having so far:

1-- python mlbviewer.py can only be run as root. when i run it as a regular user i get:
Never heard of this limitation. I suspect that you initially ran it as root and now the config file/directory is owned by root? I'm not sure. Make sure your user has ownership and read/write access to ~/.mlb.


Quote:

2-- when i run it as root, it seems to load up fine, but when i try to select a game, i get an authorization error. if i put it in debug, here is the error:
Auth errors happen more than I'd like and I'm re-working that code. Check the ~/.mlb/log for what the login result page looks like. It appears sometimes I get the "Welcome to your MLB.com page" I was getting last year and other times I get the "My MLB.com" profile page which is actually a successful login but I'm not matching on that...yet. My only suggestion, once you've verified your email and pass are correct is to keep trying until you don't get an auth error.

Quote:
3-- i cannot get java -jar autobahn.jar to run properly. i get the following:
By any chance do you still have autobahn installed from the official MLB.com Mac OS X NexDef installer? If you do, you don't need to run autobahn.jar separately as it is already running as part of the NexDef plugin.

Quote:

so that is where i am at. i assume i need to get autobahn running, and then once i can select a game without the autho error, i will see if i have mplayer working ok.

i appreciate the help!
You'll actually get a different error when NexDef isn't working but I think it's actually already running on your system if you installed NexDef through the Flash player this year.

Another option you can try is to use the tools in the test directory. They produce a whole lot of debug output that might help you figure out if things are really as bad as they seem. I would start with nexdef.py.

Run it as:

Code:
$ cd test
$ nexdef.py 14-244678-2009-05-12
The only problem with nexdef.py is that it defaults to mplayer -dumpstream whereas you probably want the second DEFAULT_PLAYER line in the file to see that your mplayer actually works.
 
Old 05-13-2009, 12:37 AM   #1779
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by eveostay View Post
I decided to build mplayer first, and...success. I guess the old version was older than you've seen. Anyway -- thanks for your patience, help and advice. And, of course, all your hard work.
I told you in the REQUIREMENTS file that you would need to rebuild mplayer. We received a fix only a couple of weeks ago. Plus most distributions bundle a very old mplayer which doesn't even support the h264 or aac even without the fix we received. I should probably add to that section in the REQUIREMENTS that it takes more time to figure out your mplayer is too old than it does to rebuild it.

I know, it can be scary to rebuild mplayer but it's actually a lot less painful than I would have thought (and my target machine for mlbviewer is a 750 MHz laptop with 256 MB RAM.) I actually keep mine up-to-date with svn and rebuild it two or three times a week hoping that one of these weeks they'll fix one issue or another we still have with mplayer and the MLB streams (difficulty seeking, "Consumed only x bytes" errors, non-NexDef live streams aren't playable, and probably others.)
 
Old 05-13-2009, 12:48 AM   #1780
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by bosox View Post

1-- python mlbviewer.py can only be run as root. when i run it as a regular user i get:

Code:
Traceback (most recent call last):
File "mlbviewer.py", line 1250, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/curses/wrapper.py", line 44, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 382, in mainloop
+ len(coveragetoggle.get(cfg['coverage'])) + 2
TypeError: object of type 'NoneType' has no len()
This Traceback is weird. Which version of mlbviewer are you using? Is it the latest svn revision or the sourceforge release?

You can probably fix this in your configuration file with:

Code:
coverage=home
Can you post your configuration file here? You can remove the email/pass. I don't need to see those.
 
Old 05-13-2009, 02:31 AM   #1781
Wolfvorkian
Member
 
Registered: Sep 2007
Distribution: Arch
Posts: 108

Rep: Reputation: 15
I've got a problem trying to get rtmpdump1.5 working. After running Patch.py ( it says everything is okay and then tells me to run make clean prior to make.

Fine, I navigate to rtmpdump and do the make clean command & then make and it doesn't work. I get error messages like below.

Code:
[mike@arch rtmpdump]$ make clean
rm -f *.o
[mike@arch rtmpdump]$ make
g++ -Wall   -c -o bytes.o bytes.cpp
g++ -Wall   -c -o log.o log.cpp
g++ -Wall   -c -o rtmp.o rtmp.cpp
g++ -Wall   -c -o AMFObject.o AMFObject.cpp
In file included from AMFObject.cpp:34:
AMFObject.h:93: error: ‘int16_t’ does not name a type
AMFObject.cpp: In member function ‘int RTMP_LIB::AMFObjectProperty::Decode(const char*, int, bool)’:
AMFObject.cpp:493: error: ‘m_nUTCOffset’ was not declared in this scope
AMFObject.cpp: In member function ‘void RTMP_LIB::AMFObjectProperty::Dump() const’:
AMFObject.cpp:584: error: ‘m_nUTCOffset’ was not declared in this scope
make: *** [AMFObject.o] Error 1
The 'readme' for 1.5 says the command is 'make rtmpdump' instead of just 'make' like in 1.4. I do that and get the exact same error message as the one above.

Wonder what I'm doing wrong?
 
Old 05-13-2009, 06:07 AM   #1782
TheDevilWearsPravda
LQ Newbie
 
Registered: Apr 2009
Posts: 17

Rep: Reputation: 0
Quote:
Originally Posted by bosox View Post
2-- when i run it as root, it seems to load up fine, but when i try to select a game, i get an authorization error. if i put it in debug, here is the error:

I haven't a clue about why it wants you to run as root, but the authorization problem when running as root sounds like a missing config file. If you run as root, I think it would look for the config file in root's home directory rather than yours.
 
Old 05-13-2009, 09:18 AM   #1783
kaput
LQ Newbie
 
Registered: May 2009
Posts: 11

Rep: Reputation: 0
MPlayer stops skipping forward?

I've been experiencing an issue with MPlayer SVN and the MP4 files produced via NexDef.

I can skip forward past the between-inning breaks successfully for about six or seven innings. However, at around the middle of the sixth inning, MPlayer will no longer skip forward, but will actually skip back about 1-2 seconds.

It happens consistently across games and SVN builds. I can certainly open a bug ticket with MPlayer, but wasn't certain if anyone else is seeing this behavior.
 
Old 05-13-2009, 11:23 AM   #1784
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by kaput View Post
I've been experiencing an issue with MPlayer SVN and the MP4 files produced via NexDef.

I can skip forward past the between-inning breaks successfully for about six or seven innings. However, at around the middle of the sixth inning, MPlayer will no longer skip forward, but will actually skip back about 1-2 seconds.

It happens consistently across games and SVN builds. I can certainly open a bug ticket with MPlayer, but wasn't certain if anyone else is seeing this behavior.
Open a ticket with MPlayer. Although you may have to open it with ffmpeg as well since they support the x264 code.

I'm not sure what's the deal with these streams but they are not very well supported with mplayer/ffmpeg. It seems like they are more tolerated than supported.

I can't seek at all. It freezes mplayer.
 
Old 05-13-2009, 11:27 AM   #1785
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by Wolfvorkian View Post
I've got a problem trying to get rtmpdump1.5 working. After running Patch.py ( it says everything is okay and then tells me to run make clean prior to make.

Fine, I navigate to rtmpdump and do the make clean command & then make and it doesn't work. I get error messages like below.

Code:
[mike@arch rtmpdump]$ make clean
rm -f *.o
[mike@arch rtmpdump]$ make
g++ -Wall   -c -o bytes.o bytes.cpp
g++ -Wall   -c -o log.o log.cpp
g++ -Wall   -c -o rtmp.o rtmp.cpp
g++ -Wall   -c -o AMFObject.o AMFObject.cpp
In file included from AMFObject.cpp:34:
AMFObject.h:93: error: ‘int16_t’ does not name a type
AMFObject.cpp: In member function ‘int RTMP_LIB::AMFObjectProperty::Decode(const char*, int, bool)’:
AMFObject.cpp:493: error: ‘m_nUTCOffset’ was not declared in this scope
AMFObject.cpp: In member function ‘void RTMP_LIB::AMFObjectProperty::Dump() const’:
AMFObject.cpp:584: error: ‘m_nUTCOffset’ was not declared in this scope
make: *** [AMFObject.o] Error 1
The 'readme' for 1.5 says the command is 'make rtmpdump' instead of just 'make' like in 1.4. I do that and get the exact same error message as the one above.

Wonder what I'm doing wrong?
Add the following into AMFObject.h:

Code:
#include <stdint.h>
Stick it with the other #include's after the GPL comment block.
 
  


Reply

Tags
help, install, installation, instructions, seek, vlc, windows


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mlb.com gameday audio stream statmobile Linux - Newbie 6 05-06-2008 10:16 PM
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 10:37 PM
triple boot linux/linux/linux No Windows involved toastermaker Linux - Newbie 12 03-02-2006 10:40 PM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration