Skip to content

Firefox addon to provide an MLB.tv game link on Yahoo! Fantasy Baseball's roster page

License

Notifications You must be signed in to change notification settings

schahal/mlbtvlinks-4-yahoofantasy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add MLB.TV Game Link On Yahoo! Fantasy Baseball Page

Provide a link to MLB.TV live stream of baseball games when viewing roster on Yahoo! Fantasy Baseball. The link will show up on in-progress games when viewing fantasy rosters. A subscription to MLB.TV is required to stream the game.

Why

Too often I'm looking at my fantasy baseball team on Yahoo! only to see that a few of my players are playing. Instead of opening up a new tab, navigating to mlb.tv, finding the game and launching the live stream (yes, you need an MLB.TV premium account to watch), it'd save precious seconds if the links were already on the fantasy roster page.

This simple Firefox add-on provides the link on page: http://addons.mozilla.org/en-US/firefox/addon/mlb-tv-4-yahoo-fantasy-bball/

Good improvements are to be had, e.g., using something like http://gd2.mlb.com/components/game/mlb/year_2016, but this suffices for me so far as all links to "today's" games are there - can improve by using mlb gd2 data to provide specific links to previous days as well

Build

To make an .xpi package, you must have nodejs/npm/jpm installed on your system. You may read docs for doing so online.

If you have it installed, to make the xpi, simply run:

make

If you want to launch firefox to debug your changes:

make degug

If you do not have your system setup to build, you can get around by trying to build within a Docker container. Prereq: Docker is running on your system, and your username is in the 'docker' group:

make withdocker

This should copy the xpi built in the container back to the pwd of your host (and will clean up temp image/container used)

Likewise, to debug with docker:

make withdocker-debug

About

Firefox addon to provide an MLB.tv game link on Yahoo! Fantasy Baseball's roster page

Resources

License

Stars

Watchers

Forks

Packages

No packages published