Installation on sarge
Contents |
Description
author: Roman Müllenschläder
translation and small changes: Julian Flake
Installation on Debian
For problems with the packages please post in this forum
Repositories
Update your /etc/apt/sources.list or synaptic with following.
Sid
deb http://www.prodeia.de/mms/sid binary/
Lenny
deb http://www.prodeia.de/mms/lenny binary/
Etch
deb http://www.prodeia.de/mms/etch binary/
Sources
deb-src http://www.prodeia.de/mms source/
After that do:
sudo apt-get update
Installation
Basic Set
To install a basic set of packages, do:
sudo apt-get install mms
This installs: mms, mms-theme-standard, mms-output-sdl, mms-input-keyboard (No Plugins are installed per default, for to let you choose freely ;)
Additional Packages
Choose from the Plugins below, what you need and what you want. If a Plugin needs a Player (like mms-plugin-audio does), a standard Player is installed, if not choosen otherwise
Example
sudo apt-get install mms-plugin-audio
installs:
mms-plugin-audio, mms-audio-alsaplayer
If you want xine-audio as audio player, do:
sudo apt-get install mms-audio-xine
or
sudo apt-get install mms-plugin-audio mms-audio-xine
If you want both, alsaplayer & xine-audio, do:
sudo apt-get install mms-audio-xine mms-audio-alsaplayer
Available Packages/Plugins
These are the packages available:
MMS
mms - My Media System (MMS) - a complete Mediasuite mms-dbg - Debugging Symbols (needed when want to use with gdb for debugging)
Themes
mms-theme-standard - Standard theme for MMS mms-theme-midnight - Additional themes for MMS mms-theme-ocean - Additional themes for MMS mms-theme-darkmix - Additional themes for MMS mms-theme-tenebrous - Additional themes for MMS mms-theme-greensmoke - Additional themes for MMS
Inputs
mms-input-evdev - MMS-Plugin to use any evdev device as input (gamepad) mms-input-keyboard - MMS-Plugin that provides keyboard input mms-input-lirc - MMS-Plugin that provides input with lirc mms-input-replay - MMS-Plugin that replays saved inputs
Audio
mms-plugin-audio - MMS-Plugin that provides Audio-playback
Audio-Players
mms-audio-alsaplayer - MMS-Plugin that uses alsaplayer for Audio mms-audio-gstreamer - MMS-Plugin that uses gstreamer for Audio mms-audio-xine - MMS-Plugin that uses libxine for Audio
Movie
mms-plugin-movie - MMS-Plugin that provides Movie-playback
Movie-Players
mms-movie-cxfe - MMS-Plugin that uses cxfe (xine frontend) for movies mms-movie-generic - MMS-Plugin for to use whatever player for movies mms-movie-mplayer - MMS-Plugin that uses mplayer for movies
Outputs
mms-output-dvb - MMS-Plugin to use FF-DVB cards as output mms-output-dxr3 - MMS-Plugin to use DXR3 cards as output mms-output-lcd - MMS-Plugin to use LCD displays as output mms-output-mpeg - MMS-Plugin to record output to Mpeg-file mms-output-opengl - MMS-Plugin to use OpenGL as output mms-output-sdl - MMS-Plugin to use SDL (X11/Framebuffer) as output
Additional Plugins
mms-plugin-epg - MMS-Plugin that shows off EPG-infos mms-plugin-game - MMS-Plugin to use game-emulators or scripts mms-plugin-picture - MMS-Plugin that provides Picture-slideshow mms-plugin-python - MMS-Plugin that enable usage of python scripts mms-plugin-tv - MMS-Plugin that provides TV mms-plugin-weather - MMS-Plugin to show weather forecast mms-plugin-clock - MMS-Plugin to show current date & time in notification-area mms-plugin-vbox - MMS-Plugin to connect to vbox daemon
Addons
mms-addon-python-pyglets - All available Pyglets combined in one package
Other available packages
cxfe - Console Xine FrontEnd (a libxine based player for console used in mms-movie-xine
uatschitchun 19:00, 09 March 2009 (CET)
Howto do it yourself
I wrote a small tutorial... for those who are interested :-)
This tutorial relates to debian sarge with marillat repository in /etc/apt/sources.list
Required packages
through dependencies, some more will be needed, than those we are listing here
aptitude install libimlib2-dev libsdl1.2-dev autoconf bzr build-essential libxine-dev mplayer-nogui pkg-config
and
aptitude install w32codecs libtag1-dev libsqlite0-dev libpcre3-dev liblircclient-dev libtool gettext libalsaplayer-dev
Note:
If you get the following error, apt was not able to verify the public gpg key of ftp.nerim.net. To fix this read the little howto on Linux Weblog.
The error message looks like:
"GPG error: ftp://ftp.nerim.net sid Release: The following signatures couldn't be verified because the public key [..] "
installation of MMS
preparations
first, create a folder, where the sources will be downloaded, for example:
cd /usr/local/src/ mkdir mms cd mms
download sources
we get the latest development version of mms with:
bzr get http://people.iola.dk/anders/mms-1.1.0.tar.bz2
this may take a while.
change to the latest version with
cd mms-1.1.0
compilation
The parts of mms, which should be enabled at compile time have to be applied to ./configure for example:
./configure --enable-fancy-audio --disable-xidle --enable-xine-audio --enable-fancy-movie --enable-picture-epg --enable-sdl --enable-eject-tray
that means:
- fancy-audio
- audio mode with cover display
- xidle
- Xidle for fancy audio
- xine-audio
- xine as audioplayer
- fancy-movie
- movie mode with cover display
- picture-epg
- tv listings with pictures
- sdl
- compile mms with SDL as additional output device besides DXR3
- eject-tray
- enables a menu item with which you can open and close your CD/DVD-drive
If you do not have a dxr3 installed you also have to apply
--disable-dxr3
For all possible options try
./configure --help
finally type:
make
installation
If everything went fine, and no errors occured, type
make install
as superuser.
annotations on Debian
The way described above doesn't use debian's excellent package management. This is necessary, because there is no official debian package available until now (12/05).
To create your own debian package, type:
apt-get install checkinstall
and instead of
make install
just type
checkinstall -D make install
this creates a debian package (.deb), which you can install with
dpkg -i mms.....deb
an uninstall with
aptitude remove mms....
configuration files
main configuration file is
/etc/mms/config
here you have to set the locations, where your media files are stored.
keyboard bindings can be found in
/etc/mms/input-keyboard
lirc bindings can be found and edited in
/etc/mms/input-keyboard
runnning
type
mms --help
to see which input and output devices are compiled in your mms then type
mms -i <input> -o <output>
for output on a desktop and controlling via keyboard, type:
mms -o sdl -i keyboard
for output on framebuffer device, type:
export SDL_NOMOUSE="1" mms -o sdl -i keyboard
for output on dxr3 just type: (this may change in 1.1.0)
mms
init Script
#!/bin/sh
#
# /etc/rc.d/mms: start/stop mms
#
if [ "$1" = "start" ]; then
LANG="de_DE.UTF-8" /usr/local/bin/mms >/dev/null 2>&1 & echo "mms starting ..."
elif [ "$1" = "stop" ]; then
killall -9 /usr/local/bin/mms
echo "mms stopped (kill) ..."
else
echo "usage: $0 {start|stop}"
fi
# End of file
copy to
/etc/init.d/mms
and make executable:
chmod +x /etc/init.d/mms