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.
larshenric:
If you want to use VLC as your player you need to edit the config file and replace mplayer with vlc. I've used mplayer, vlc and mplayer2 to watch games and while I like being able to control the audio more easily with vlc (I have quiet earbuds that need the extra gain VLC can give me) I ended up going back to mplayer2. You'll want to make sure you have vlc as the player in each of the formats you want to use (video, audio, and top plays), but one thing I did was include lines for video and audio for each player and comment out each line except the one for teh player you want to use. Thant makes it easier to remember the options in case you find you want to change back.
Thank you, fang2415...!
Now that I've got it running I'm trying the "tools". Recording with mlbgamedl.py is great for me, as the games most often are shown in the night (here in Germany), so I record them a day later and watch them on TV in the evening, without having to get connected to the internet...
What I'll also have to figure out are all the options in the config file. Maybe I'll have to return to this thread with some stupid questions...
And concerning an Ubuntu upgrade: I know, that there are newer versions, but the last upgrade from 10.10 (I think it was) to 11.04 caused me some problems with the printer and other stuf. So I'll stay with 11.04 as long as possible...
Last edited by larshenric; 09-05-2012 at 08:44 AM.
It's working again...
I rechanged from flvstreamer back to rtmpdump...
But I've got another question:
Recording games with mlbgamedl.py works fine (as I already wrote), but how do I do to record specific broadcast of a game (home or away)? How can I fix that? I tried by writing "away" at "coverage=" in the config file, but it didn't work. It recorded the home broadcast of the saturday's cubs-pirates game...
You could set video_follow and audio_follow to your team. That should select the coverage from their broadcast team by default. It works great for Dodger games with *_follow=la. You'd just need to use the abbreviation for your team, which isn't always the current abbreviation the league uses.
Thank you so far, BostonPeng!
I did that (putting in chc for Cubs coverage), but it didn't change anything. I still get the Pittsburgh broadcast as download...
Am I right changing the config file? Or do I have to change any other file?
Glad I could help larshenric. I didn't try recording anything so I'm not sure what you could try but hopefully one of the smarter folks will pop their head in and provide the missing info.
Hm...
Now mlbviewer doesn't work anymore... I get this terminal message:
lars@X64V:~/mlbviewer2012$ python mlbviewer.py
Traceback (most recent call last):
File "mlbviewer.py", line 1630, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/usr/lib/python2.7/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 500, in mainloop
+ len(coveragetoggle.get(cfg['coverage'])) + 2
TypeError: object of type 'NoneType' has no len()
lars@X64V:~/mlbviewer2012$
Are you a premium subscriber? I know that away video feeds aren't technically part of the MLB basic package, so you may not be able to get it for that reason. MLB seems to apply this restriction sporadically, though. I'm also a Cubs fan (alas), and I can often get the Cubs feed when they're away even though I'm only a basic subscriber; but I couldn't get Saturday's Cubs feed either, so it may not be available without upgrading.
I've got premium, so this might not be the reason. And before trying to download the cubs feed I managed to see it via mlbviewer. But then I had to stop because I had to leave home, and after coming back I wanted to go on with the downloaded file...
Well, and now: mlbviewer doesn't work anymore...
SH...T!!
I'm speculating here, but from the looks of that stack trace I'd guess that something has gone wrong with your video_follow or audio_follow option, or maybe one of the other options that specifies what kind of coverage you get. (The fact that "coveragetoggle.get(cfg['coverage'])" has no length suggests that the "coverage" option probably isn't valid and therefore the function is returning nothing.)
So maybe try playing around with those options in the config file, or even just reverting to the original config file? (Download a new one if you didn't save it.) Then if it works, you can make any changes you want one at a time, and if it breaks again, you'll know which option is to blame!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.