LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 06-05-2008, 01:23 AM   #661
yes-I
LQ Newbie
 
Registered: May 2008
Distribution: suse 11
Posts: 13

Rep: Reputation: 0

i don't think i'm seeing the condensed games listed - they're supposed to be with the "t"/top plays screen? do you see them for today and yesterday?
 
Old 06-05-2008, 01:36 AM   #662
yes-I
LQ Newbie
 
Registered: May 2008
Distribution: suse 11
Posts: 13

Rep: Reputation: 0
Quote:
Originally Posted by sixsmith View Post
1) There is no INSTALL file in the mlbviewer package from sourceforge,
yes that was in reference to the files from the subversion repository, which you can use to get the latest revisions
Quote:
Originally Posted by sixsmith View Post
2) 'python setup.py' produces a 'usage:' message,
you should say "python setup.py install"
or maybe "sudo python ./setup.py install"

hth!
 
Old 06-05-2008, 07:37 AM   #663
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
Try this: http://www.monopedilos.com/article.p...80407134922418

Here's the short version. You need to do 'sudo python setup.py install'

Then just 'mlbviewer.py' will run it for the first time. Hit 'q' to quit. Then do 'nano -w ~/.mlb/config' and enter your email address and password where it says on the top 2 lines. If you want to make changes in the config file to the commands use to launch the player, go for it, but it will probably work with the default (mplayer). Hit CTL+x to save and quit. Then do 'mlbviewer.py' again and you should be all set!
 
Old 06-05-2008, 07:37 AM   #664
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
Quote:
Originally Posted by yes-I View Post
i don't think i'm seeing the condensed games listed - they're supposed to be with the "t"/top plays screen? do you see them for today and yesterday?
Are you running the latest code?
 
Old 06-05-2008, 09:59 AM   #665
sixsmith
LQ Newbie
 
Registered: Jun 2008
Posts: 4

Rep: Reputation: 0
Simple, seamless, setup... it works!

Quote:
Originally Posted by Theophile View Post
Here's the short version. You need to do 'sudo python setup.py install'

Then just 'mlbviewer.py' will run it for the first time. Hit 'q' to quit. Then do 'nano -w ~/.mlb/config' and enter your email address and password where it says on the top 2 lines. If you want to make changes in the config file to the commands use to launch the player, go for it, but it will probably work with the default (mplayer). Hit CTL+x to save and quit. Then do 'mlbviewer.py' again and you should be all set!
And, 45 seconds later, voila! Didn't get video, but based on that experience, I am 100% confident that the answer to that is in this thread somewhere.

Thanks,

--Sixsmith.
 
Old 06-05-2008, 11:52 AM   #666
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by yes-I View Post
i don't think i'm seeing the condensed games listed - they're supposed to be with the "t"/top plays screen? do you see them for today and yesterday?
It takes awhile for MLB to add Condensed Games to the mlb.tv schedule jsp file we use. Probably on the order of 12 hours, maybe? You will probably only ever see CG's for the previous day's games and before. I have seen morning games where top plays even aren't available until the next day.

I'm (barely) considering pulling our highlights from an alternate XML file which would give us "in progress" highlights aka the highlights you can get from the web page while the game is still in progress. My experience with mlbscores is that XML files can get very hairy to deal with in code, though.
 
Old 06-05-2008, 12:22 PM   #667
jhmiller42
LQ Newbie
 
Registered: May 2008
Posts: 6

Rep: Reputation: 0
Quote:
Originally Posted by daftcat View Post
I've not run setup.py myself because, as a developer on the project, I find it's a much better idea to know the mlbviewer I'm running is the the code I just edited.

But...

If you have run setup, then I'm guessing all you need to do is type mlbviewer.py from the command-line.

What he meant by "go into mlbviewer" is changing to the mlbviewer directory. I think I put quick install steps (e.g just the commands you need to type) in the INSTALL file for the lazy and attention-deficit folks like myself. ;-)
Thanks -- I had run setup, but didn't know how to launch the program. I guess I'm a terminal DOS/Windows user, not knowing what types of files can be "executed" in Linux.

But anyway: Great friggin' job on mlbviewer! I suspect it's partly because of MLBAM's contempt for its captive audience, but you've managed to put together a command-line interface that's easier to use and less buggy than MLB's own online setup.

Incidentally, what's the final word on VLC compatibility? I had been using VLC in Windows to crop the 4:3 streams to fullscreen, and I have no idea how to do that in mplayer. Also, my wife and I mostly watch archived games because we're transplanted New Yorkers now living in California, and I need to be able to skip commercials with the slider bar.
 
Old 06-05-2008, 12:43 PM   #668
yes-I
LQ Newbie
 
Registered: May 2008
Distribution: suse 11
Posts: 13

Rep: Reputation: 0
could we get our own forumlet here so that we could have multiple threads going?
 
Old 06-05-2008, 05:11 PM   #669
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by jhmiller42 View Post
Thanks -- I had run setup, but didn't know how to launch the program. I guess I'm a terminal DOS/Windows user, not knowing what types of files can be "executed" in Linux.

But anyway: Great friggin' job on mlbviewer! I suspect it's partly because of MLBAM's contempt for its captive audience, but you've managed to put together a command-line interface that's easier to use and less buggy than MLB's own online setup.

Incidentally, what's the final word on VLC compatibility? I had been using VLC in Windows to crop the 4:3 streams to fullscreen, and I have no idea how to do that in mplayer. Also, my wife and I mostly watch archived games because we're transplanted New Yorkers now living in California, and I need to be able to skip commercials with the slider bar.
A couple pages back there was something about VLC. The problem with seeking (slider bar) is it only works in the first few seconds. The URL's have a very short lifetime. After about 30 seconds, the URL is no longer valid so seeking wouldn't work.

As for cropping, some games will be in 4:3 and some will be in 16:9. If you crop across the board, you'll lose picture when you crop a 16:9 broadcast. In mplayer, you can use 'e' and 'w' for pan scan (zooming.) For a 16:9 game, you probably shouldn't do anything unless you don't care that you're losing picture when you crop. For a 4:3 game, you would press and hold 'e' until the picture zooms to fill the screen.
 
Old 06-05-2008, 05:15 PM   #670
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by yes-I View Post
could we get our own forumlet here so that we could have multiple threads going?
I don't know. I guess I could look into that. The benefit of having one thread is one place to look. The draw back is 45 pages worth of thread to look through. I guess I always intended to find nuggets in the threads and either bookmark them in a periodic post or incorporate them into a FAQ. My biggest fear of having multiple threads is having to answer the same questions over and over again without an easy way to point someone to the answer. Though, wading through 45 pages isn't an easy way either. Let me stew on that for awhile.
 
Old 06-05-2008, 07:54 PM   #671
jhmiller42
LQ Newbie
 
Registered: May 2008
Posts: 6

Rep: Reputation: 0
Quote:
Originally Posted by daftcat View Post
A couple pages back there was something about VLC. The problem with seeking (slider bar) is it only works in the first few seconds. The URL's have a very short lifetime. After about 30 seconds, the URL is no longer valid so seeking wouldn't work.
Bummer. So there's no way to do commercial-skipping under mlbviewer? In Windows I could skip around to my heart's content using WMP or VLC (though the latter took a little configuring, without which it couldn't seek at all).

Quote:
Originally Posted by daftcat View Post
As for cropping, some games will be in 4:3 and some will be in 16:9. If you crop across the board, you'll lose picture when you crop a 16:9 broadcast. In mplayer, you can use 'e' and 'w' for pan scan (zooming.) For a 16:9 game, you probably shouldn't do anything unless you don't care that you're losing picture when you crop. For a 4:3 game, you would press and hold 'e' until the picture zooms to fill the screen.
Thanks, that should do the trick. I just want to crop the games that MLB.tv insists, for reasons I cannot fathom, on broadcasting in 4:3 with the black border.
 
Old 06-06-2008, 06:32 AM   #672
fang2415
Member
 
Registered: Jan 2007
Posts: 195

Rep: Reputation: 15
Quote:
Originally Posted by jhmiller42 View Post
[...]VLC (though the latter took a little configuring, without which it couldn't seek at all).
I've never been able to seek easily and consistently with any player in Linux (whether I'm using mlbviewer or not). I've always chalked up the minute break each half-inning as the price of Freedom, but of course it'd be great if we can figure out a way around it.

Can I ask what config you did with VLC in Windows? I don't think I've ever used VLC to watch games on Windows, but I'm wondering how the seek could work in Windows but not Linux with the same player? Surely once it's loaded the stream, it should behave the same way regardless of which OS it's running on?
 
Old 06-06-2008, 10:19 AM   #673
jhmiller42
LQ Newbie
 
Registered: May 2008
Posts: 6

Rep: Reputation: 0
Sure. I just used the Media Player Connectivity plugin to pick up the stream, configured according to this guide.

[edit] Should mention that the MPC plugin isn't nominally compatible with Firefox 3 RC1 or RC2, but it works fine if you edit the maxVersion setting in the plugin's install.rdf.[/edit]

Last edited by jhmiller42; 06-06-2008 at 10:22 AM.
 
Old 06-06-2008, 06:05 PM   #674
lephio
Member
 
Registered: Jun 2008
Posts: 46

Rep: Reputation: 15
hi everybody from italy! i found mlbviewer.. great!!

now with condensed game is quite perfect! yes.. i said quite just because using "t" keystroke to access CG you get the final result of game. can you put CG just under another keystroke? ("c")

and another question.. what's the url of xml and jsp file of a game?

thanks in advance.. for this great software!
 
Old 06-07-2008, 05:03 AM   #675
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by lephio View Post
hi everybody from italy! i found mlbviewer.. great!!

now with condensed game is quite perfect! yes.. i said quite just because using "t" keystroke to access CG you get the final result of game. can you put CG just under another keystroke? ("c")

and another question.. what's the url of xml and jsp file of a game?

thanks in advance.. for this great software!
It's not an easy change and it's likely to produce a lot of redundant code.

What if I hide the Rewind Recap (the one that has the scores) and make 'r' show it in the Top Plays listing? Would you be okay with seeing the list of highlights or do you want to go into your condensed game with no spoilers whatsoever?
 
  


Reply

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



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 07:13 PM.

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