Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Showtime is a media player intended to be used on HTPC media centers.
C Objective-C Other

This branch is even with andoma:fixwii

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
debian
ext
glwthemes/mono
guresources
man
osx
plugins
resources
src
support
.gitignore
ChangeLog
LICENSE
Makefile
README
configure
configure.linux
configure.osx
configure.wii

README

			 Showtime mediaplayer
			 ====================

		 (c) 2006 - 2010 Andreas Öman, et al.


Settings are stored in ~/.hts/showtime

For more information and latest versions, please visit:
http://www.lonelycoder.com/hts/


How to build for Linux
======================

First you need to configure:

$ ./configure

If any dependencies are missing the configure script will complain.
You then have the option to disable that particular module/subsystem.

$ make

Build the binary, after build the binary resides in 'build.linux/'.
Thus, to start it, just type:

$ build.linux/showtime

If you need/want to build with a recent version of FFmpeg without
installing it on your system:

Create an ffmpeg directory somewhere, perhaps in your home dir:

$ mkdir ffmpeg
$ svn co svn://svn.ffmpeg.org/ffmpeg/trunk src
$ cd src

Configure FFmpeg to install itself one directory up. Note that this
will build static libraries so you don't need to mess around with
LD_LIBRARY_PATH when running the binary. IF you enable shared libraries,
remember to set that up as well.

$ ./configure --prefix=$(cd .. && pwd)

Build and install it in the ffmpeg directory you created in step #1

$ make && make install

Now go back and reconfigure Showtime with PKG_CONFIG_PATH set to the
directories where the .pc files resides from the FFmpeg install:

$ cd showtime 
$ PKG_CONFIG_PATH=/the/path/to/ffmpeg/lib/pkgconfig ./configure
$ make


How to build for Mac OS X
=========================

Install Xcode (http://developer.apple.com/Tools/) which includes Xcode IDE,
gcc toolchain and much more. iPhone SDK also includes Xcode and toolchain.

Install MacPorts (http://www.macports.org)

Install pkg-config using MacPorts
$ sudo port install pkgconfig

Now there are two possible ways to get a build environment, the MacPorts way
or the custome build scripts way. If you dont plan to build for different
architectures or SDKs as you are current running, or dont plan to compile with
fancy extensions, i would recommend the MacPorts way.

If you choose the custome script way, please continue to read osx/README

MacPorts way:

Install freetype using MacPorts:
$ sudo /opt/local/bin/port install freetype ffmpeg

Now run configure
$ ./configure
Or if you build for release
$ ./configure --release

If configured successfully run:
$ make

Run showtime binary from build directory
$ build.osx/Showtime.app/Contents/MacOS/showtime

Run showtime application from build directory
$ open build.osx/Showtime.app

Optionally you can build Showtime.dmg disk image. Note that you should
configure with --release to embed theme files or else the binary will
include paths to your local build tree.
$ make Showtime.dmg

For more information read osx/README

TODO: universal binary, cant be done i one step as ffmpeg does not
build when using multiple arch arguments to gcc


How to build for Nintendo Wii
=============================

For a Wii build you need:

- devkitPro:
    devkitPPC r21
    libogc 1.8.3
    libfat-ogc 1.0.5
- freetype cross-compiled for PPC.

For your convenience there is a script that will download/build all
you need.  To run it just type:

$ support/wiisetup

Do this directly from the showtime root directory. This will download,
unpack, build and install all that's needed into a wiisupport/
directory. By default configure.wii will look into these directories
for devkitPro and freetype, so all you have to do now is:

$ ./configure.wii
$ make

If you have devkitpro and/or freetype someplace else, you can set
the path to them in configure.wii (see ./configure.wii --help for details)

Note: libogc defaults to maximum of 16 threads.
This is on the edge for showtime. Therefore, the wiisetup script will
install a new version of lwp_config.h (see support/lwp_config.h) before
compiling libogc. If you intend to use a stock libogc you need to be aware
of this fact.


Wiiload
=======
If you have wiiload (http://wiibrew.org/wiki/Wiiload) installed and
homebrew channel is running on your wii, you can just type:

$ make run

To start showtime on your wii.

Homebrew package
================
The makefile system can build a homebrew package. To do this, type:

$ make homebrew

The output will reside in "build.wii/bundle/". Both an app directory
and a zip file is generated.
Something went wrong with that request. Please try again.