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.
EXPERIMENTAL: SVN revision 663: 60fps support READ before UPDATING
Before you update, you should know how to back it out if it doesn't work for you.
Code:
svn -r 662 up
That out of the way, I have incorporated the 60fps support into mlbviewer in the laziest way possible which is why I deem this experimental.
I have hardcoded use_wired_web=1 and I replace the master_wired_web.m3u with the 60fps version for all nexdef requests. This does away with the need for a config file option (two if you count the use_wired_web option.) Both of these changes are marked in the code comments with EXPERIMENTAL in case the hackers among us need to tweak this. Once updated, you can "svn -r 662 diff" to see what I did.
After May 1, if all or most of our streams are still in business, I will cut a new ISO of the virtual machine version. I may be the only who uses it but I just love it so much for my work PC where I can't be bothered to install and configure the cygwin toolchain to support mlbviewer.
After this time period, I will also make the HLS speed selection more natural, more like RTMP. I will also consider deprecating the term nexdef in docs and code in favor of the more accurate HLS.
To answer your problem specifically, if you open the Makefile in your favorite text editor and add -lpthreads to the LIBS= line, you will get past this error.
But you really should be using the new branch (and I really should be updating the documentation.)
I have been having some issues tonight. This is the first night that I have had any issues.
I am using mlbplay to get a base64 URL to pass to mlb-nexdef.
Code:
$ python2 mlbplay.py n=1 nu=1 v=hou
An error occurred locating the media URL:
Requested Media Not Available Yet.
Traceback (most recent call last):
File "mlbplay.py", line 353, in <module>
print mediaUrl
NameError: name 'mediaUrl' is not defined
The media is most certainly available, as I can play it through a browser, though it is very laggy and jumps a lot in the browser (hence, why I use mlbviewer in the first place).
Apologies for the late reply...linuxquestions never emailed me that the thread had been updated. r663 works fine for me.
It would really be great to migrate mlbviewer to github and start using issue tracking and pull requests. This thread has gone way beyond its intended purpose.
Apologies for the late reply...linuxquestions never emailed me that the thread had been updated. r663 works fine for me.
It would really be great to migrate mlbviewer to github and start using issue tracking and pull requests. This thread has gone way beyond its intended purpose.
Agreed. I'm too busy at work these last few weeks. I don't want to deal with any new infrastructure until release deadline at work has come and gone at the end of the month.
I have been having some issues tonight. This is the first night that I have had any issues.
I am using mlbplay to get a base64 URL to pass to mlb-nexdef.
Code:
$ python2 mlbplay.py n=1 nu=1 v=hou
An error occurred locating the media URL:
Requested Media Not Available Yet.
Traceback (most recent call last):
File "mlbplay.py", line 353, in <module>
print mediaUrl
NameError: name 'mediaUrl' is not defined
The media is most certainly available, as I can play it through a browser, though it is very laggy and jumps a lot in the browser (hence, why I use mlbviewer in the first place).
Any help is greatly appreciated.
Are you an international user? Could it be that your local time is a calendar day ahead of game time (e.g. requesting a game on 4/20 while your computer clock reads 4/21)?
I tried the command above for today, and it gives me same as above because hou game hasn't started yet. If I give it, j=04/20/16, it returns a base64 chunk as expected.
I am pretty sure I have some sort of algorithm in place to prevent this all from falling apart right at midnight. However, I don't remember and I already shut down the VM. Try it again with the correct game date as the j= parameter in mm/dd/yy format.
Agreed. I'm too busy at work these last few weeks. I don't want to deal with any new infrastructure until release deadline at work has come and gone at the end of the month.
Let me know if I can help. I can't commit much time as I'm also quite busy (grad student in the final year of my degree), but I appreciate this project and I have quite a bit of experience with git and python so I'll be happy to contribute what I can.
Are you an international user? Could it be that your local time is a calendar day ahead of game time (e.g. requesting a game on 4/20 while your computer clock reads 4/21)?
I tried the command above for today, and it gives me same as above because hou game hasn't started yet. If I give it, j=04/20/16, it returns a base64 chunk as expected.
I am pretty sure I have some sort of algorithm in place to prevent this all from falling apart right at midnight. However, I don't remember and I already shut down the VM. Try it again with the correct game date as the j= parameter in mm/dd/yy format.
Yes. I am based in the Netherlands. This definitely solved my problem. Cheers!
So I heard that Jacoby Ellsbury stole home and of course I wanted to see this for myself, but apparently there are no more "top plays" in mlbviewer. Any chance they could be revived?
Except recent listings no longer contain highlights.xml file. There was a very short-lived r664 which used highlights_es.xml (yay! bilingual highlights!) but that was kludgey. It looks like highlights.xml functionality can be replicated with a couple of modifications using mobile.xml instead. Additionally, and specifically why I'm even talking about this, it now looks like there is HLS support for highlights. It would be a bit of an overhaul to use HLS for highlights. I don't want to tackle that this weekend.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.