By Amar Kota - Hire me
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. ❤️
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.
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#.
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.
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.