2011-05-09, 18:33
Ok, now I see I'm not getting the url's for the live games. It's telling me I need a subscription, even for the so called free game ![Stare Stare](https://forum.kodi.tv/images/smilies/frown3qg.gif)
theophile, could you run one of the test scripts from mlbviewer for me?
Assuming your mlbviewer directory is in your home:
The script will try to open mplayer and play the stream, in the console it will print "The game url parsed is: mms://..." and the mplayer command. Then copy the url to a .strm file, make sure not to copy the mplayer command, and see if it will play.
I would also like to try this with a live game. If you let me know ahead of time a game that you can test on I'll get you the game id to pass to mlbgameid.py. I don't think you can get the url until the game starts. Is that the way mlbtv.py works?
![Stare Stare](https://forum.kodi.tv/images/smilies/frown3qg.gif)
theophile, could you run one of the test scripts from mlbviewer for me?
Assuming your mlbviewer directory is in your home:
Code:
$ cd ~/mlbviewer/test/
$ python mlbgameid.py 287385
The script will try to open mplayer and play the stream, in the console it will print "The game url parsed is: mms://..." and the mplayer command. Then copy the url to a .strm file, make sure not to copy the mplayer command, and see if it will play.
I would also like to try this with a live game. If you let me know ahead of time a game that you can test on I'll get you the game id to pass to mlbgameid.py. I don't think you can get the url until the game starts. Is that the way mlbtv.py works?