How do I get the code and build a player?

Created by Andrew Neale
Keywords:
build player code
Last updated by:
Andrew Neale

To build a player from the source code hosted here on Launchpad, you will need to create your own local code repository, download the code and build the project using development tools, such as Microsoft Visual Studio, Microsoft Visual C# Express, or Mono based tools such as MonoDevelop.

Bazaar is a distributed version control system that is used to fetch code from Launchpad, and maintain it locally on your system.

Example build for Windows Platform
-----------------------------------------

Follow the steps to set up your own local Bazaar repository:
http://doc.bazaar.canonical.com/latest/en/mini-tutorial/

- Create a user account for Launchpad
- Install Bazaar
- Install Tortoise for Bazaar (containing useful Windows Shell extensions) during the Bazaar installation
- Pull (download) the OpenSplash source code from the trunk branch to your local repository folder

Prerequisites:
- You will need .NET 3.0 SP1 at a minimum (included in Vista and Windows 7, will need installing in Windows XP)

How to build

- Open the OpenSplash.sln solutions file provided in the source code to load OpenSplash as a complete solution in Visual Studio.
- Switch the project configuration to DEV/Any CPU
- Build the solution, and make sure it compiles successfully
- Press F5 to run, or Ctrl + F5 to start without debugging

You should see the splash screen launch at start-up, but initially there will be no player output, as there are no media assets or playlists defined, and the player won't know how to fetch any from a content management server.

To manually add to the internal database see the FAQ: How do I get started running a player and seeing some output? - https://answers.launchpad.net/opensplash/+faq/1960