Wiki Home arrow MediaPortal Wiki


Getting sources from SVN




Introduction

  • This page describes how to get the source code for MediaPortal on your PC. The MediaPortal source code is stored in a Subversion (SVN) code repository.

  • You can download the source code using a GUI tool like TortoiseSVN or a command line tool like svn.exe. After the sources are downloaded from SVN you are ready to start compiling MediaPortal.

  • See Compiling MediaPortal for more information.

Team MediaPortal SVN

SVN Servers

  • Team MediaPortal uses 2 SVN servers:

    • The powerful Team ?MediaPortals production SVN-Server

    • Sourceforge as backup SVN Server
  • Over the years it became necessary to get our own SVN server, because the performance of sourceforge slowed us down more and more.

SVN Server Connection Details

Production Server

Just a short notice: A normal enduser wont benefit in any way from downloading the source code so if you dont know what you are doing...please save us some traffic and avoid the download, thanks!

  • Type of account: read only

SVN URL's

  • MediaPortal 1:

    • https://sources.team-mediaportal.com/svn/public/trunk/mediaportal
  • TV-Server:

    • https://sources.team-mediaportal.com/svn/public/trunk/TvEngine3
  • MediaPortal and TV-Server's common plugins:

    • https://sources.team-mediaportal.com/svn/public/trunk/Common-MP-TVE3/
  • Tools:

    • https://sources.team-mediaportal.com/svn/public/trunk/Tools
  • DirectShowFilters:

    • https://sources.team-mediaportal.com/svn/public/trunk/DirectShowFilters
  • MediaPortal 2:

    • http://sources.team-mediaportal.com/svn/MP2/
  • MPTagThat:

    • http://sources.team-mediaportal.com/svn/MPTagThat/

additional tools

  • Web-SVN: - simmilar to sourceforge's viewvc, but more powerful

    • http://sources.team-mediaportal.com/websvn/

Sourceforge Backup Server

  • viewvc:

    • http://mediaportal.svn.sourceforge.net/viewvc/mediaportal/
  • MediaPortal 1:

    • https://mediaportal.svn.sourceforge.net/svnroot/mediaportal/trunk/mediaportal
  • TV-Server:

    • https://mediaportal.svn.sourceforge.net/svnroot/mediaportal/trunk/TvEngine3
  • Tools:

    • https://mediaportal.svn.sourceforge.net/svnroot/mediaportal/trunk/Tools
  • DirectShowFilters:

    • https://mediaportal.svn.sourceforge.net/svnroot/mediaportal/trunk/DirectShowFilters
  • MediaPortal 2:

    • [None yet]

  • MPTagThat:

    • [None yet]

Plugin Repository

  • MP plugins and skins:

    • https://mp-plugins.svn.sourceforge.net/svnroot/mp-plugins/trunk/

Downloading SVN

TortoiseSVN

  • These instructions show how to use TortoiseSVN to obtain the latest source of MediaPortal from SourceForge.net.

    1. Download the latest version of TortoiseSVN.

    2. Create a new folder where you want to store the source files then right click on the folder and select the SVN Checkout option.
    3. To avoid any issue when using batch files created by Team MediaPortal to compile MediaPortal please use a folder structure like this:

      • X:\svnroot\mediaportal\trunk\mediaportal (where "X "is your root drive) for MediaPortal SVN Checkout

      • and X:\svnroot\mediaportal\trunk\?TvEngine3 for TVEngine3 SVN Checkout

    4. Enter the URL of the SVN repository you want to checkout (as listed earlier on this page) and click OK.

    5. Wait until the download is finished (this can take some time, it is large)

    6. Now you are ready to start compiling MediaPortal. See Compiling MediaPortal for more information.

    7. To update the sourcecode later, right click on the folder you created and select the SVN Update option.
    8. Note: Latest sources are located in the /trunk/mediaportal folder. All other files are old and only stored as reference.

Commandline client

  • Download the commandline client for SVN svn.exe or download the installer.

  • Now open a commandprompt and navigate to the folder where you want your MediaPortal sourcecode to be downloaded. Then type the following commands (you could make a batch file out of it).

  • svn co https://sources.team-mediaportal.com/svn/public/trunk/mediaportal
  • A mediaportal folder will be created, in the folder where the svn.exe is located, and the sourcecode will be downloaded into it. This will take a while.
  • You can update the sourcecode later with this command.
  • svn update


MediaPortal Wiki: MediaPortalDevelopment/MediaPortalSVN (last edited 2010-07-14 16:15:29 by ?chefkoch)



by team-mediaportal.com - 2008 SourceForge.net Logo