| Fedora This forum is for the discussion of the Fedora Project. |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
07-25-2008, 11:51 AM
|
#811
|
|
mlbviewer Maintainer
Registered: Apr 2008
Posts: 1,528
Rep:
|
Quote:
Originally Posted by Theophile
Wanted to stick my head back in here to ask a question. Is there a way to get mlbviewer to automatically begin playing a specified game at startup?
I want to create a cron job to make it begin playing the Sox/Yanks game at 7:05 tonight, with no user intervention. Can this currently be done?
|
Pssst! You still have some forbidden code of mine, right? You can probably hack that into mlbgameid.py.
I didn't tell you that. ;-)
|
|
|
|
07-25-2008, 01:34 PM
|
#812
|
|
Member
Registered: Jan 2003
Posts: 283
Rep:
|
I have no idea what you're talking about. But even if I did, I'm not sure I could learn enough python this afternoon to implement it in time for the game. But that could be a good leaning project for me at some point. If I knew what you were talking about. Which I don't.
|
|
|
|
07-26-2008, 06:08 AM
|
#813
|
|
Member
Registered: Jun 2008
Posts: 46
Rep:
|
ehi daft, do you think is "teorically" possible to add 1.2MB stream implementing mono?
|
|
|
|
07-26-2008, 10:15 AM
|
#814
|
|
Member
Registered: Jan 2003
Posts: 283
Rep:
|
Mono/Silverlight isn't the problem. Receiving the data is the problem. For the 1.2M streams, MLB.com uses packet swarming plugin called NexDef. In order to reliably receive this data, we would have to either port the plugin or write one which accesses the same network. Neither of those are likely to be feasible given the fact that there is likely to be encryption and access restrictions, and there's no way MLB would license a port of the plugin to a platform they evidently don't respect.
|
|
|
|
07-26-2008, 04:04 PM
|
#815
|
|
Member
Registered: Apr 2008
Posts: 115
Rep:
|
Hey everyone,
Just stopping in to say hi. For newcomers, I did some of the early development work on mlbviewer. Then life decided to rear its ugly head and take my free time away. I've been trying to minimize my distractions (getting a few Giants games in all the same) so I've mainly jumped off of development. But it's just fantastic to see all the great work that daftcat and the community have done here. Usually when someone lets a software project slide, they feel a bit of guilt. But lucky for me, there's nothing here to feel guilty about, because the project just continues to get better every week. Pretty awesome. Big shout out to daftcat, big thank you to the community on these forums.
Hope everyone is having a great summer. All the best, and enjoy the games.
Jesse
|
|
|
|
07-27-2008, 02:41 AM
|
#816
|
|
Member
Registered: Apr 2008
Posts: 36
Rep:
|
A link about the nexdef\autobahn linux question.They say that once the osx installer would be ready ( and indeed it is) they would start working on a linux installer.
Keep your finger crossed.
|
|
|
|
07-27-2008, 09:24 PM
|
#817
|
|
mlbviewer Maintainer
Registered: Apr 2008
Posts: 1,528
Rep:
|
About 1.2 mb support...
Sorry to be the bearer of bad news but the listings pages we use to get the stream information only contain listings for 400 and 800 mb streams. I'm not sure where we would get the listing for 1.2 mb stream. I'd probably have to reverse engineer the Mosaic application and I'm not sure that's possible. Mosaic has some secure authentication scheme besides basic password authentication.
Eh, from what I've read in the Mosaic forums, 1.2mb doesn't work all that well. Then again, there could be much more happy customers who don't write in.
If someone wants to figure it out for me, assuming the plugin is ported, I'll look into what it would take to add it to mlbviewer. Honestly, it's not high on my wishlist because it's very unlikely my laptop would support it. It experiences enough media server indigestion on 800K streams.
|
|
|
|
07-28-2008, 07:24 AM
|
#818
|
|
Member
Registered: Jun 2008
Posts: 46
Rep:
|
Quote:
|
Sorry to be the bearer of bad news but the listings pages we use to get the stream information only contain listings for 400 and 800 mb streams
|
in mlb media center 1.2 links appear just during live games. cannot retreive it during ballgames?
|
|
|
|
07-28-2008, 09:05 AM
|
#819
|
|
Member
Registered: Jan 2003
Posts: 283
Rep:
|
Quote:
Originally Posted by lephio
in mlb media center 1.2 links appear just during live games. cannot retreive it during ballgames?
|
The link is not the problem. The problem is that there is no way to get the data in Linux.
|
|
|
|
07-28-2008, 09:53 AM
|
#820
|
|
Member
Registered: Jun 2008
Posts: 46
Rep:
|
ok.. i misunderstood your words..
|
|
|
|
07-28-2008, 11:01 AM
|
#821
|
|
mlbviewer Maintainer
Registered: Apr 2008
Posts: 1,528
Rep:
|
Quote:
Originally Posted by lephio
in mlb media center 1.2 links appear just during live games. cannot retreive it during ballgames?
|
I don't know where MLB media center gets its information but it's not the same source we use.
I generally don't say never, but I'm ready to eat my hat on this one. I will very likely never write code that parses the media center page directly. It's a rat's nest of tables and javascript retrieved from no fewer than seven other javascript pages.
1.2 support is not on my development roadmap. If someone else wants to figure out how to get the listing (besides parsing the media center page), AND the plugin is ported and working, I may reconsider.
|
|
|
|
07-29-2008, 08:36 AM
|
#822
|
|
Member
Registered: Jun 2008
Posts: 46
Rep:
|
|
|
|
|
08-01-2008, 04:42 AM
|
#823
|
|
Member
Registered: Jun 2008
Posts: 46
Rep:
|
keepin this thread up..
the very best feature for mlbviewer would be to permit mplayer to pause the stream without letting "expire" it. i know it's not easy but.. cannot do something like "ping" the stream to keep it alive?
or.. changing everything.. we could record the stream on disk and playing it from disk. when i pause the player, the stream continued to be recorded till end. when i unpause the player continued to play from disk. something like "mysky" decoder ( http://en.wikipedia.org/wiki/My_Sky )
just dreaming?
|
|
|
|
08-02-2008, 12:34 AM
|
#824
|
|
mlbviewer Maintainer
Registered: Apr 2008
Posts: 1,528
Rep:
|
Quote:
Originally Posted by lephio
keepin this thread up..
the very best feature for mlbviewer would be to permit mplayer to pause the stream without letting "expire" it. i know it's not easy but.. cannot do something like "ping" the stream to keep it alive?
or.. changing everything.. we could record the stream on disk and playing it from disk. when i pause the player, the stream continued to be recorded till end. when i unpause the player continued to play from disk. something like "mysky" decoder ( http://en.wikipedia.org/wiki/My_Sky )
just dreaming?
|
I have a few minutes between vacation adventures to respond.
Re: pinging, mlbviewer is not a media player, it's like a middle-man connecting media listings with a media player. As such, we really can't affect how the media is played. So, no, there's nothing we can do to ping the media server.
Re: recording, this is where we could possibly get into problems with mlb.com. I'm inclined to believe that this could violate the terms and conditions. Or at the very least, it might attract cease and desist order.
One way to pause and resume is to make sure your buffer is at least as large as the amount of time you intend to pause. For example, if you use the 800K stream, you'll have to have 100 KB of buffer for every second you intend to pause. In other words, to pause for 5 minutes, you would need to use a 32 mb buffer size. Mplayer will continue to fill the buffer while you have paused playback.
The only trouble you'll get into is if you pause for longer than you have buffer for. In that case, I'm pretty sure, mplayer would flush the buffer and then try to reconnect. At that point, your link has likely expired. The other downside of using large buffers is that mplayer will wait until it has 20% of the buffer filled before beginning playback. So for a 32 mb buffer, you'd have to wait about a minute before playback would begin. If you use a 64 mb buffer, you'll be able to pause up to 10 minutes, but you'll have to wait 2 minutes before playback starts. Just figure for an 800K stream, you'll get five minutes of pause for every 32 mb of buffer while waiting 1 additional minute before playback begins.
|
|
|
|
08-02-2008, 12:38 AM
|
#825
|
|
mlbviewer Maintainer
Registered: Apr 2008
Posts: 1,528
Rep:
|
All that said, there is a way to record mplayer streams but I'll leave that for you to figure out. The only hint I'll give is that mlbviewer will perform string substitution for the url by using %s in the video_player or audio_player commands. I'll offer you no more help on this and I suggest not posting anything here about it...just in case. Better paranoid than to have the project shut down, right? 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:00 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|