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 05-05-2009, 11:25 PM   #1666
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86

Quote:
Originally Posted by rjwood View Post
It is so nice to be able to watch theses games now on my 47 inch HD monitor without needing flash player and all the freezing and jumping that comes with it. If MLB were smart, they'd hire a couple of you guys in order to present their product to us. Their loss and our gain.

Thanks for what you've done and for putting up with me so patiently, all of you.

I told you most Linux people are sophisticated, didn't I?
I don't know about sophisticated. I think many of us are just damn stubborn.

Glad you're finally on-board.
 
Old 05-06-2009, 12:11 AM   #1667
linuxphan
LQ Newbie
 
Registered: Apr 2009
Posts: 8

Rep: Reputation: 0
re: mlblistings.py

Quote:
Originally Posted by Theophile View Post
I like the sounds of this.

Is it possible to simply use mlblistings.py as a prerequisite for an XBMC plugin? I know most XBMC plugins are "standalone" and I have no idea how they're written, but I was thinking that since mlbviewer is already in python, it might be possible to "piggyback" on it, and have a working installation of mlbviewer as a prereq for the XBMC plugin.
yes, I'm about done with that part and have a working xbmc/boxee plugin. however, a large number of users on boxee are using appletv (stripped down MacOS) which would create quite a few hoops to jump through to get the additional python libraries installed. i was asking about other forms of broadcasting listings that might not have the same pre-reqs, maybe something out of the box from xbmc's set of libs + basic python.

if they don't have other methods, i'll just document ways to get the additional python libs added, but it won't be a "quick install" app like most other boxee apps are in their repository.
 
Old 05-06-2009, 01:36 AM   #1668
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by linuxphan View Post
yes, I'm about done with that part and have a working xbmc/boxee plugin. however, a large number of users on boxee are using appletv (stripped down MacOS) which would create quite a few hoops to jump through to get the additional python libraries installed. i was asking about other forms of broadcasting listings that might not have the same pre-reqs, maybe something out of the box from xbmc's set of libs + basic python.

if they don't have other methods, i'll just document ways to get the additional python libs added, but it won't be a "quick install" app like most other boxee apps are in their repository.
There's a user here by the handle CubsFanUK who was working on a java MLB.TV client. I don't think he has much time to support it, but if you know java, it might be easier to distribute a java jar version of something like the get_mlb_basic script I described above.

If I could make things simpler, I would. But anything short of a java jar or statically linked c/c++ code is going to require, at a minimum, XML and SOAP. I could certainly, "ifdef" out the json requirement as the json code isn't used for this season with the understanding that you would lose the ability to view games from before 2009 (including most of this year's WBC.) Even still, mplayer patches are required to view the H.264 streams. rtmpdump/libRTMP patches are required for non-NexDef operation, as well.

I'm sure there are a few people here or in your boxee/xbmc community who would jump the hoops to get it working and the rest we have to hope that distributions keep up with the latest changes in mplayer svn (and that we can issue 1040 resolved eventually for live non-NexDef video.)
 
Old 05-06-2009, 01:50 AM   #1669
JackRubysDog
Member
 
Registered: Feb 2009
Posts: 40

Rep: Reputation: 15


My pet project to get mlbviewer running on a PS3 has bitten the dust. In short, I've given up.

The final kick in the teeth, after jumping through so many hoops to get a working version of JRE for YDL to get autobahn, then a working version of mplayer and compiling it for YDL and getting all the codecs working, and then FINALLY getting mlbviewer working and showing baseball in a tiny window was the inability to go full screen (or even expand the screen to watchable dimensions).

Reading up on this, it appears that a PS3 will not allow a second operating system to have access to the video hardware, meaning that any picture scaling and acceleration has to be done by software. Even if I could find a way of achieving this (and sdl should do it but when I use sdl with mplayer it crashes) the PS3 processor would not be able to cope with running autobahn and mplayer and expanding the stream, making the video unwatchable.

Humph.

Ah well, I least I can rid myself of YDL on the PS3 and claw back 10GB!

Thanks to anyone and everyone who tried to help me and I'm sorry some time had been wasted. I can still use mlbviewer on my Ubuntu PC in the kitchen and for the time being my wife's laptop on the HDTV, but it would have been nice to have switched on the PS3 and loaded up mlbviewer without all the cables streaming everywhere!

Bye!
 
Old 05-06-2009, 06:30 AM   #1670
itshardertotell
Member
 
Registered: Aug 2008
Posts: 38

Rep: Reputation: 15
hi hi,

i have been using the stoopid flash player for the last couple of weeks and now finally updated to today's new version, followed all the requirements, started autobahn.jar and...

it all works.

this is so exciting! thanks so much for all the hard, hard work! i really appreciate it. gotta stay up all night tonight to catch some games.

markus
 
Old 05-06-2009, 10:03 AM   #1671
chomiak
LQ Newbie
 
Registered: Apr 2009
Posts: 28

Rep: Reputation: 15
Got trapped in stream selection screen

Removing cokies and session key worked. I should have realized this because what I did was buy mlb.tv premium using a different email address so that if I got locked out of that account at some point I'd still have the old gameday audio account. So far I know for sure archived games work; not sure about live games because one I tried last night just before it ended didn't seem to work but will check on that again today when live games are available.

I discovered that if I run mlbviewer in text console without xsterm -e I still need some kind of -vo option; so far -vo fbdev or cvidix or null work but apparently if I put nothing in it tries to go to fbdev and can't. of course null is pointless if I have anybody here that wants to see the screen; not sure what cvidix or fbdev do since i haven't had a sighted person here yet watching; for me personally it's no big deal as I just sometimes like the sound of the tv broadcasts better but my goal is to have working video.

If I run mlbviewer with xterm -e in terminal, however, no -vo option is needed but I ran into a different problem.At one point last night I got the stream selection stream but there didn't seem to be any way for me to enter a choice; pressing number keys did nothing though I could find the number that went with each choice; I couldn't seem to exit the screen either. I don't know if this was something I was doing wrong or something with accessibility in Orca or some other issue.

At any rate I'm making progress here. I think "stubborn" is the secret of success for most linux users!!!
 
Old 05-06-2009, 10:07 AM   #1672
chomiak
LQ Newbie
 
Registered: Apr 2009
Posts: 28

Rep: Reputation: 15
mlbviewer version

Forgot to say that I am using the svn of mlbviewer and I try to keep it up-to-date; was at 192 when I posted yseterday and am now at 196.
 
Old 05-06-2009, 10:14 AM   #1673
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
Quote:
Originally Posted by linuxphan View Post
yes, I'm about done with that part and have a working xbmc/boxee plugin. however, a large number of users on boxee are using appletv (stripped down MacOS) which would create quite a few hoops to jump through to get the additional python libraries installed. i was asking about other forms of broadcasting listings that might not have the same pre-reqs, maybe something out of the box from xbmc's set of libs + basic python.

if they don't have other methods, i'll just document ways to get the additional python libs added, but it won't be a "quick install" app like most other boxee apps are in their repository.
Mind sharing??
 
Old 05-06-2009, 11:24 AM   #1674
linuxphan
LQ Newbie
 
Registered: Apr 2009
Posts: 8

Rep: Reputation: 0
xbmc/boxee almost there

Quote:
Originally Posted by Theophile View Post
Mind sharing??
sure, when i get it finally working. looking into mlbtv.py i found i can use the grid.xml or epg.xml rather than the gamesbydate.jsp url. parsing that xml should be easier and not have to add any additional requirements to using the app.

mlblistings.py and mlbtv.py are still very useful for getting everything together like the workflow authentication and getting the right date format passed to the url.

maybe someday i'll get enough time to publish a webservice that wraps their scheduler into rss format so that it's easier for people to include the videos into whatever usage they want.
 
Old 05-06-2009, 11:42 AM   #1675
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by linuxphan View Post
sure, when i get it finally working. looking into mlbtv.py i found i can use the grid.xml or epg.xml rather than the gamesbydate.jsp url. parsing that xml should be easier and not have to add any additional requirements to using the app.

mlblistings.py and mlbtv.py are still very useful for getting everything together like the workflow authentication and getting the right date format passed to the url.

maybe someday i'll get enough time to publish a webservice that wraps their scheduler into rss format so that it's easier for people to include the videos into whatever usage they want.
Yeah, I don't know what mlb.com would think of this idea. They are pretty touchy about reproduction of their material.

Sorry that mlbtv.py is such a mess after this year's changes. When all the features are finished and the dust has settled some, I plan to go back and actually use the object oriented features (class inheritance!!!) of python instead of using if/else statements and wrapper functions. You can ignore all the json code and I can "ifndef" it out or move the json import statements into the JSON code so they only get executed when needed. For now, you can safely comment out the import simplejson statement in mlbtv.py, if you're not going to access any games before 3/30/09.

grid.xml is better than epg.xml. It has content-id's which doesn't save you on any network requests but it does allow you to present your users stream information like media coverage before they make any SOAP requests to the network.
 
Old 05-06-2009, 12:01 PM   #1676
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by itshardertotell View Post
hi hi,

i have been using the stoopid flash player for the last couple of weeks and now finally updated to today's new version, followed all the requirements, started autobahn.jar and...

it all works.

this is so exciting! thanks so much for all the hard, hard work! i really appreciate it. gotta stay up all night tonight to catch some games.

markus
Awesome! I love to hear to when it all works.

Most of the time, I only hear about it when it doesn't work.
 
Old 05-06-2009, 12:05 PM   #1677
linuxphan
LQ Newbie
 
Registered: Apr 2009
Posts: 8

Rep: Reputation: 0
Quote:
Originally Posted by daftcat View Post
Yeah, I don't know what mlb.com would think of this idea. They are pretty touchy about reproduction of their material.

Sorry that mlbtv.py is such a mess after this year's changes. When all the features are finished and the dust has settled some, I plan to go back and actually use the object oriented features (class inheritance!!!) of python instead of using if/else statements and wrapper functions. You can ignore all the json code and I can "ifndef" it out or move the json import statements into the JSON code so they only get executed when needed. For now, you can safely comment out the import simplejson statement in mlbtv.py, if you're not going to access any games before 3/30/09.

grid.xml is better than epg.xml. It has content-id's which doesn't save you on any network requests but it does allow you to present your users stream information like media coverage before they make any SOAP requests to the network.
i'd guess mlb.tv would want more people linking to their games and driving up usage/subscriptions, but you're probably right. though they do publish with yahoo sports i see, maybe put myself 2 layers removed from them - heh

thx for the tip on the cleanup of mlbtv.py, i'll go with grid.xml and get started on it this afternoon. i'm looking for basic acct level access over flash, so really all i needed was a way to establish auth and an easy way to build a menu with the game-id and push it to their mediaplayer url.

i've been a user of mlbviewer since you guys first published it, so glad to help contribute anything if it's of any use.
 
Old 05-06-2009, 12:20 PM   #1678
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
linuxphan,

Have you managed to get XBMC/Boxee to play directly off autobahn.jar?
 
Old 05-06-2009, 12:54 PM   #1679
linuxphan
LQ Newbie
 
Registered: Apr 2009
Posts: 8

Rep: Reputation: 0
Quote:
Originally Posted by Theophile View Post
linuxphan,

Have you managed to get XBMC/Boxee to play directly off autobahn.jar?
no, though i'm guessing the different platforms would need their own way of calling those features. it would be pretty easy to do on linux since xbmc would just be a wrapper for mlbviewer but i'm not really sure how nextdef(or whatever that's called) works on mac or atv.
 
Old 05-06-2009, 01:34 PM   #1680
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
Quote:
Originally Posted by linuxphan View Post
no, though i'm guessing the different platforms would need their own way of calling those features. it would be pretty easy to do on linux since xbmc would just be a wrapper for mlbviewer but i'm not really sure how nextdef(or whatever that's called) works on mac or atv.
Actually, it works exactly the same. The autobahn.jar file we're using is actually taken from the Mac NexDef plugin.
 
  


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 09:03 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