Giter VIP home page Giter VIP logo

plex-mlb's Introduction

Plex-MLB

A Plex plugin for mlb.com. Coverage includes video clips, interviews, exclusive stories, as well as live games for MLB.tv subscribers.

Project Status

Development has ceased on this project. (It was a personal project, and I don't have the time to take on the rewrite required for Plex/Nine compatibility.) If someone forks and/or gets a Plex/Nine version working, I'll be happy to direct people to your project instead.

Notes for a Potential New Developer

The current design gets in the way, and may not work at all with the new version of Plex. I don't suggest trying to build on top of it. There's probably some useful lower-level code though, especially if you're still trying to figure out where to look on mlb.com for various bits of data.

On top of changes to the plugin API from Plex 8 -> 9, you'll also be dealing with changes to the front and back ends of mlb.com between the 2010 and 2011 seasons. I'd start by verifying some of the URLs in config.yml. If they seem to work, then the plugin should still be able to fetch data needed for Plex menus. At that point I'd dive into the rewrite for Plex/Nine. Finally, there are probably changes to the MLB media player app, which mean updates to the player.xml "site configuration" file.

There's a passionate bunch of users waiting for you on the Plex forums. They've been great help testing betas and finding bugs.


Changelog

0.3.2

  • new: re-enabled alternate audio streams
  • fix: now using MLB's latest player (v4.1)
  • fix: fixed game highlights search

0.3.1

  • fix: we can now load mlb.com's scoreboard XML, even when it's invalid

0.3

  • new: browse and stream archived games
  • new: watch condensed games
  • new: stream national video broadcasts, if available
  • new: stream audio broadcasts
  • new: stream mlb.tv "basic" video
  • new: watch highlights from a specific game
  • new: if a favorite team is selected, jump straight to that team's game with a main menu shortcut
  • new: now available as a standalone plugin installer (*.plexapp)
  • fix: fixed a number of highlight searching/listing bugs stemming from changes to the mlb.com backend

0.2

  • new: added live game streaming for MLB.tv subscribers
  • new: added shortcuts to some of mlb.com's better daily highlights (FastCast, MLB Network, Plays of the Day)
  • new: added preference for favorite team
  • new: added preference to show/hide spoilers (default: show)
  • change: removed "popular searches", since it is no longer being updated by mlb.com
  • fix: fixed team highlights, broken due to a change on mlb.com

0.1.1

  • fix: team, popular and search pages now display current team, keyword or query instead of the word "Search" in the page title
  • new: added standard search icon

0.1

  • new: initial version
  • new: search/browse video clips from mlb.com

Building From Source

The Plex-MLB plugin bundle is built from files in the bundle/ and templates/ directories. To build the bundle you'll need:

With those tools installed, get a copy of the source and install the plugin:

$ git clone git://github.com/rfletcher/plex-mlb.git
$ cd plex-mlb
$ rake install

If you'd like to remove the plugin later, use:

$ rake uninstall

Or, rake uninstall:hard to get uninstall the plugin and it's preferences and data.

Contributing

Code contributions are welcome! If you'd like to add a feature, just fork the project on GitHub and send me a pull request. Be aware that this is the only thing I've ever written in Python. If you don't know Python well, don't mimic my style. If you do, go easy on me (and please do refactor!).

After you've forked Plex-MLB on GitHub, install the development version of the bundle:

$ rake install:dev

Plex is now watching bundle/ for changes. Any edits you make will be automatically loaded by Plex. Push them up to GitHub and send a pull request.

plex-mlb's People

Contributors

elan avatar rfletcher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

plex-mlb's Issues

Automatically play favorite team's feed

If a user's favorite team is playing in the selected game, that team's audio/video should be selected instead of the default. There should also be a preference to disable this behavior.

Browse archived MLB.tv & Gameday content

MLB.tv and Gameday subscribers have access to archived games. They should be able to browse archived games by date:

MLB.tv/
  Today's Games/
  Yesterday's Games/
  Archive/
      2008/
        April/
        ...
      2007/
        ...

Add support for condensed games

The option should be given to watch the condensed version of a completed game. I've separated this from the stream choice feature (#1) because condensed games do not use the same player.

Some thought needs to be given to the UI for this, and stream choice in general.

List of games should sort with completed games at the bottom

The games list currently sorts by game start time, and doesn't take game status into account. It should sort the same way the various sports sites do, which is in-progress games first, then upcoming games, then completed games, and each of those groups of games sorted by start time.

Display game start time or status in game list

For upcoming games, the start time should be displayed in the right column of the game menu (where duration is displayed in the highlights menu). For games which have already started, the status (in-progress, final, postponed, etc.) should be displayed here.

This is not possible in current versions of Plex.

add fast-forward, rewind

Add support for fast-forward and rewind. At least for archived games, possibly for live games if the player allows.

Requested by sweeptheleg and convergent on the plex forum.

direct selection of an inning

It would be nice to be able to directly select an inning -- any inning for an archived game, or a previous inning for a live game. In the case of a live game we should be able to jump back to live action, too.

Add a "watch my team" menu item

"I would like something like a Watch My team button that just takes the user into their team's broadcast. The fewer remote/mouse clicks the better in an HTPC environment. I would leave the other menu there so users can select games as well, maybe just a shortcut."

(via pdmahaf on the plex forum)

Team logo icons

Show team logos as icons any time there's a list of teams

Watching more than one game at a time

MLB's player supports watching multiple, simultaneous games. It would be nice to somehow support this via the plugin. (Probably by letting the user select two games via Plex menus first, then launching the player, but this is an implementation detail that will be decided on later.)

game status doesn't update

When you stop streaming one of "Today's Games", the status info displayed on the menu screen is the same as when you started the stream. That menu shouldn't be cached, so that game status is up to date whenever it's in view.

video archive menu pops out randomly

Hi developers, congrats on a great app -- amazing use of Plex. I've also though run into a weird problem that I can't get a fix on. When I'm watching mlb games in plex, the mlb video archive menu will pop out of the left hand side of the screen at random times. I can't do anything with it, it won't respond to keyboard commands) and have to exit the mlb app and re-enter it to make the menu go away --- but then it pops out again after a few minutes. any ideas? thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.