LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 03-24-2014, 05:18 PM   #4351
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,749

Rep: Reputation: 76

Quote:
Originally Posted by WaltH View Post
When I tried to install mlbhls, I got the following:
Code:
gcc -O2 mlb.c utils.c output.c -lm -lcrypto -lpthread -lconfig -lcurl -o mlbhls
mlb.c:16:23: fatal error: libconfig.h: No such file or directory
 #include <libconfig.h>
                       ^
compilation terminated.
make: *** [mlb] Error 1
I stopped there for fear of making things worse.

In addition, when I tried to check for any updates to mlbviewer, I got the following:
Code:
svn up
Skipped '.'
Summary of conflicts:
  Skipped paths: 1
It didn't seem to matter which directory of mlbviewer I was in. Also, this is with a fresh install. Any suggestions? Thanks.
Find libconfig in YaST and install the development package (libconfig-dev or maybe libconfig-devel, libconfig8-dev, or libconfig9-dev, or something along those lines.) Once that is installed, you will also need libcurl-dev and libssl-dev. Find those in YaST and install them too. libcurl-dev may be hiding as libcurl4-openssl-dev. Once you have all of these prerequisites installed, run make in the mlbhls directory again. If it completes without errors, copy mlbhls to /usr/local/bin (sudo cp mlbhls /usr/local/bin).
 
Old 03-25-2014, 07:46 AM   #4352
WaltH
LQ Newbie
 
Registered: Sep 2013
Posts: 24

Rep: Reputation: Disabled
Quote:
Originally Posted by daftcat View Post
Find libconfig in YaST and install the development package (libconfig-dev or maybe libconfig-devel, libconfig8-dev, or libconfig9-dev, or something along those lines.) Once that is installed, you will also need libcurl-dev and libssl-dev. Find those in YaST and install them too. libcurl-dev may be hiding as libcurl4-openssl-dev. Once you have all of these prerequisites installed, run make in the mlbhls directory again. If it completes without errors, copy mlbhls to /usr/local/bin (sudo cp mlbhls /usr/local/bin).
Thanks. It looks like that took care of my problem installing mlbhls, but I am still having trouble with getting the latest version of mlbviewer - unless sf-8 is the latest. When I run the 'svn up' command, I still get the following:
Code:
svn up
Skipped '.'
Summary of conflicts:
  Skipped paths: 1
Any thoughts or suggestions? Thanks.
 
Old 03-26-2014, 11:47 AM   #4353
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,749

Rep: Reputation: 76
Quote:
Originally Posted by WaltH View Post
Thanks. It looks like that took care of my problem installing mlbhls, but I am still having trouble with getting the latest version of mlbviewer - unless sf-8 is the latest. When I run the 'svn up' command, I still get the following:
Code:
svn up
Skipped '.'
Summary of conflicts:
  Skipped paths: 1
Any thoughts or suggestions? Thanks.
I answered this here before the page break. You might have missed it.
 
Old 03-26-2014, 03:20 PM   #4354
WaltH
LQ Newbie
 
Registered: Sep 2013
Posts: 24

Rep: Reputation: Disabled
Quote:
Originally Posted by daftcat View Post
I answered this here before the page break. You might have missed it.
I did miss it. Sorry about that.
 
Old 03-27-2014, 09:27 AM   #4355
WaltH
LQ Newbie
 
Registered: Sep 2013
Posts: 24

Rep: Reputation: Disabled
Quote:
Originally Posted by daftcat View Post
I answered this here before the page break. You might have missed it.
Looks like I am back up and running the latest version. Thanks for the assist.
 
1 members found this post helpful.
Old 03-27-2014, 06:33 PM   #4356
dovf
LQ Newbie
 
Registered: Jul 2010
Posts: 13

Rep: Reputation: 1
Hi!

I'm getting ready for the start of the season, and decided to venture into mlbplay.py for the first time... Turns out that condensed games don't work. Here's a small fix for that (condensed games were missed in the change made in http://sourceforge.net/p/mlbviewer/code/473):

Code:
diff -r 748f0dbacf61 mlbplay.py
--- a/mlbplay.py        Tue Mar 25 03:02:14 2014 +0000
+++ b/mlbplay.py        Fri Mar 28 01:54:36 2014 +0200
@@ -209,7 +209,7 @@
             if streamtype ==  'video':
                 media.append(available[n][2])
             elif streamtype == 'condensed':
-                media = available[n][2]
+                media.append(available[n][2])
                 condensed_media = available[n][4]
             else:
                 media.append(available[n][3])
Thanks!
Dov
 
Old 03-27-2014, 11:19 PM   #4357
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,749

Rep: Reputation: 76
Good catch!

I've tested and checked in your patch. I also checked in a few other minor fixes.
 
Old 03-28-2014, 07:54 PM   #4358
WaltH
LQ Newbie
 
Registered: Sep 2013
Posts: 24

Rep: Reputation: Disabled
For those without a paid subscription, this weekend is a free preview weekend for MLB.TV
 
Old 03-29-2014, 05:17 AM   #4359
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,749

Rep: Reputation: 76
Quote:
Originally Posted by WaltH View Post
For those without a paid subscription, this weekend is a free preview weekend for MLB.TV
Also, late last season I added "Free Game Of The Day" support. So all season long, whenever you see "[FREE]", that means you don't need an MLB.TV subscription to watch it. Just make sure you have your mlb.com (free registration) user= and pass= in your config.
 
Old 03-29-2014, 02:24 PM   #4360
WaltH
LQ Newbie
 
Registered: Sep 2013
Posts: 24

Rep: Reputation: Disabled
Quote:
Originally Posted by daftcat View Post
Also, late last season I added "Free Game Of The Day" support. So all season long, whenever you see "[FREE]", that means you don't need an MLB.TV subscription to watch it. Just make sure you have your mlb.com (free registration) user= and pass= in your config.
Yes, I remember that. Great feature! This weekend, all games (or at least those with telecasts) are free.
 
Old 03-30-2014, 05:40 PM   #4361
sruchris
LQ Newbie
 
Registered: Apr 2009
Posts: 17

Rep: Reputation: 0
When trying to play the audio feeds, I'm getting this error:

Requesting media: ('KIRO', u'136', '31666365', '14-396259-2014-03-29')File "-" not found.

Is this a mplayer issue?
 
Old 03-30-2014, 11:39 PM   #4362
dapperdan
LQ Newbie
 
Registered: Mar 2014
Posts: 3

Rep: Reputation: Disabled
revisiting the mlbhls -f vs -F issue

Recent adopter of MLBviewer. Not sure how many kin Iíll have here, but Iím running Mac OS X 10.9.2 with MLBviewer revision 590 and mlbhls revision 67 with the video player mpv v0.3.6--which, as I understand it, is the successor to mplayer2--built with ffmpeg 2.2. I quite like the setup overall, but Iím having the seeking problems that others have described. When watching nexdef streams using MLBviewer, Iím unable to seek. But using the following options; which daftcat offered in response to kermitfan22 last August (on page 279); I can get a stream that is seekable by mpv and vlc (I canít get mplayer2 to build):


python mlbplay.py v=team j=mm/dd/yy n=1 nu=1

[aHR0...]

mlbhls -B [aHR0...] -L -s 4500000 -f 1 -o video.ts

mpv video.ts


Iíd like to get a seekable stream from MLBviewer even if that means using -f instead of -F in the mlbhls options and losing support for inning selection. Alternatively, Iíve looked at fang2415ís patch to mlb.c in mlbhls, but I donít know how it works, or Iím implementing it incorrectly (I donít code) because the streams from MLBviewer remain unseekable. Though I am able to seek (using mpv or vlc) in the following file:

mlbhls -B [aHR0...] -L -s 4500000 -F "hh:mm:ss" -o video.ts

I'd greatly appreciate any pointers, especially re fang2415's patch to -F and the way that MLBviewer uses -F
I'm also curious about the extent of adoption of mpv.
 
Old 03-31-2014, 01:11 AM   #4363
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,749

Rep: Reputation: 76
Quote:
Originally Posted by sruchris View Post
When trying to play the audio feeds, I'm getting this error:

Requesting media: ('KIRO', u'136', '31666365', '14-396259-2014-03-29')File "-" not found.

Is this a mplayer issue?
What is your audio_player= setting?

Code:
$ grep audio_player ~/.mlb/config
Also, make sure you have rtmpdump installed.
 
Old 03-31-2014, 08:31 AM   #4364
mosi76
LQ Newbie
 
Registered: Mar 2014
Posts: 1

Rep: Reputation: Disabled
Hello everyone.

I have been reading through the forum and looking online and was wondering if anyone could point me to a post or an article that could help a relative linux noob set this up for the upcoming season. I am not completely helpless but am relatively new to linux.

I am currently running Linux Mint and have mlb.tv premium.

If the articles from 2012 are still accurate I can follow those but I am not sure if they are still applicable.

Thanks in advance.

Mosi
 
Old 03-31-2014, 12:18 PM   #4365
BostonPeng
Member
 
Registered: Jul 2009
Location: Boston, MA
Distribution: SolydK Testing + KDE 4.9.5
Posts: 88

Rep: Reputation: Disabled
@mosi76:
I wrote an article about setting mlbviewer last year but my site was closed last fall. Luckily the Internet Archive has it for their Wayback Machine: http://wayback.archive.org/web/20130...mlbviewer-2013
 
  


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


All times are GMT -5. The time now is 11:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration