Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.
/ ESPN3WMC Public archive

Windows Media Center plugin for watching sporting events on ESPN3

License

Notifications You must be signed in to change notification settings

hbcondo/ESPN3WMC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

ESPN3WMC

By Amar Kota - Hire me

espn3

I wrote ESPN3WMC back in 2012 when I used Windows Media Center (WMC)1 to watch live TV and videos on my television using an HTPC2 I built. Sadly, WMC has been discontinued by Microsoft and the sports data is no longer available but I all of the sudden remembered by old SVN instance3 and finally got around to publishing the plugin's source code. This repo is now archived. ❤️

Overview

Using a format similar to the Fox Sports On Later section of media center, this application displays an extensive list of sporting events available to watch on-demand. The application consumes a web service which returns the espn3 listing data and is rendered in the Media Center Markup Language (MCML)4. A windows installer application was also developed so users can run a MSI file on the computer to get the application to install within Media Center easily.

espn3_1|

Web Service

The web service obtains sporting event videos on-demand from ESPN3 and serializes the data into a XML format for easy consumption by the media center application. The data includes both live and replayed sporting events that aired on ESPN. The web service was developed using the .NET Framework written in C#.

espn3_2

Loading Page

When the ESPN3 add-in is launched, a loading screen is presented to the user while in the background the add-in obtains the sporting event data from the web service. When the data has been retrieved, the loading screen disappears and the user is presented with a selection of sporting events to watch. The loading screen was implemented by using MCML's HistoryOrientedPageSession class which is derived from the PageSession class. This class has a LoadPage method that is used to display a MCML page that will not be added to Media Center's back stack. This in turns prevents the loading screen being presented again if the user navigates back.

espn3_3

Class Library

A class library with business objects that encapsulates all the data and business behavior associated with the ESPN3 application. Written in C# with Visual Studio and used within the web service and ESPN3 media center application.

Class Diagram

Additional / Related Info

Footnotes

  1. https://en.wikipedia.org/wiki/Windows_Media_Center

  2. https://www.reddit.com/r/htpc/

  3. https://assembla.com/

  4. https://learn.microsoft.com/en-us/previous-versions/windows/desktop/windows-media-center-sdk/bb189388(v=msdn.10)