#!/bin/sh
# Multimedia Codecs Installer for ubuntu
#
# Use this script to automatically install proprietary multimedia codecs in a regular ubuntu installation
# Please note that installing libdvdcss2 and other proprietary packages included  in medibuntu repositories can be illegal in some countries.
# The autohor decline every responsability for malfunctioning repositories or damages that a bad use of this script could cause. 
# You're the only responsible for your actions, so please don't use this script if you're not sure of what you're doing.
#
#
# Author:	Neffscape >> www.marco.boneff.ch
#			
# Version:	1.0 for intrepid ibex (15-Nov-2008)
#

cp /etc/apt/sources.list /etc/apt/sources.list.intrepid_backup
echo "deb http://packages.medibuntu.org/ intrepid free non-free" >> /etc/apt/sources.list

wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -

apt-get -y update

apt-get -y install totem-xine libxine1-ffmpeg libxine1-gnome libxine1-plugins libxine1
apt-get -y install gstreamer0.10-alsa gstreamer0.10-esd gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mp3 gstreamer0.10-fluendo-mpegdemux gstreamer0.10-pitfdll gstreamer0.10-plugins-bad gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly libgstreamer0.10-0
apt-get -y install mplayer mencoder ffmpeg totem-xine

apt-get -y install libdvdcss2
apt-get -y install w32codecs

