Index: /ipk/source.sh4/mediacenter_mediathek_3_1/CONTROL/control
===================================================================
--- /ipk/source.sh4/mediacenter_mediathek_3_1/CONTROL/control	(revision 7463)
+++ /ipk/source.sh4/mediacenter_mediathek_3_1/CONTROL/control	(revision 7463)
@@ -0,0 +1,10 @@
+Package: enigma2-plugin-mediacenter-multimediathek
+Version: 3.1
+Architecture: sh4
+OE: MultiMediathek
+Section: players
+Priority: optional
+Maintainer: homey@dreambox-plugins.de
+Homepage: http://www.aaf-digital.info
+Source: http://www.aaf-digital.info
+Description: MultiMediathek Plugin to view videos over internet!
Index: /ipk/source.sh4/mediacenter_mediathek_3_1/CONTROL/postinst
===================================================================
--- /ipk/source.sh4/mediacenter_mediathek_3_1/CONTROL/postinst	(revision 7463)
+++ /ipk/source.sh4/mediacenter_mediathek_3_1/CONTROL/postinst	(revision 7463)
@@ -0,0 +1,12 @@
+#!/bin/sh
+TMP=/tmp/.MultiMediathek
+
+echo "successfully installed"
+echo "syncing disk"
+sync
+if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
+	SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
+	FREE=`expr $SPACE - 100`
+	echo new freespace size $FREE kb
+fi
+exit 0
Index: /ipk/source.sh4/mediacenter_mediathek_3_1/CONTROL/postrm
===================================================================
--- /ipk/source.sh4/mediacenter_mediathek_3_1/CONTROL/postrm	(revision 7463)
+++ /ipk/source.sh4/mediacenter_mediathek_3_1/CONTROL/postrm	(revision 7463)
@@ -0,0 +1,14 @@
+#!/bin/sh
+TMP=/tmp/.MultiMediathek
+PLUGINDIR=/usr/lib/enigma2/python/Plugins/Extensions/MultiMediathek
+rm -r $PLUGINDIR > /dev/null 2>&1
+
+echo "successfully removed"
+echo "syncing disk"
+sync
+if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
+	SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
+	FREE=`expr $SPACE - 100`
+	echo new freespace size $FREE kb
+fi
+exit 0
Index: /ipk/source.sh4/mediacenter_mediathek_3_1/CONTROL/preinst
===================================================================
--- /ipk/source.sh4/mediacenter_mediathek_3_1/CONTROL/preinst	(revision 7463)
+++ /ipk/source.sh4/mediacenter_mediathek_3_1/CONTROL/preinst	(revision 7463)
@@ -0,0 +1,49 @@
+#!/bin/sh
+#
+TMP=/tmp/.mytube
+echo "syncing disk"
+sync
+
+model=`cat /etc/model`
+
+echo ""
+echo "Checking your Boxtype...."
+echo "Some Plugins will not work correctly on your $model!"
+echo ""
+if [ "$model" = "" ]; then
+	echo "Sorry! This Plugin is not available for your $model because it will not work correctly!!!"
+	echo "Aborting installation..."
+	exit 1
+else
+	echo "Boxtype: $model OK"
+fi
+
+if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
+	SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
+	FREE=`expr $SPACE - 100`
+	SIZE=110
+	echo "checking freespace"
+	echo packege size $SIZE kb
+	echo freespace size $FREE kb
+	if  [ "$FREE" -lt "$SIZE" ]; then
+		echo "sorry no freespace left on device"
+		exit 1
+	else
+		echo ok
+	fi	
+	
+fi   
+
+echo "installing MultiMediathek plugin ..."
+echo "checking OS"
+if  [ `cat /etc/motd | grep AAF | grep M | grep rev | wc -l` -eq 0 ]; then                      
+	echo ---------------------------
+	echo DONT USE this IPK Package!!
+	echo ---
+	echo Only for AAF Image!!
+	echo ---------------------------
+	exit 1
+fi
+exit 0
+
+ 
Index: /ipk/source.sh4/mediacenter_mediathek_3_1/CONTROL/prerm
===================================================================
--- /ipk/source.sh4/mediacenter_mediathek_3_1/CONTROL/prerm	(revision 7463)
+++ /ipk/source.sh4/mediacenter_mediathek_3_1/CONTROL/prerm	(revision 7463)
@@ -0,0 +1,11 @@
+#!/bin/sh
+TMP=/tmp/.MultiMediathek
+echo "syncing disk"
+sync
+if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
+	SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
+	FREE=`expr $SPACE - 100`
+	echo freespace size $FREE kb
+fi
+echo "removing MultiMediathek plugin..."
+exit 0
Index: /ipk/source.sh4/mediacenter_mediathek_3_1/usr/lib/enigma2/python/Plugins/Extensions/MultiMediathek/LICENSE
===================================================================
--- /ipk/source.sh4/mediacenter_mediathek_3_1/usr/lib/enigma2/python/Plugins/Extensions/MultiMediathek/LICENSE	(revision 7463)
+++ /ipk/source.sh4/mediacenter_mediathek_3_1/usr/lib/enigma2/python/Plugins/Extensions/MultiMediathek/LICENSE	(revision 7463)
@@ -0,0 +1,8 @@
+This plugin is licensed under the Creative Commons 
+Attribution-NonCommercial-ShareAlike 3.0 Unported 
+License. To view a copy of this license, visit
+http://creativecommons.org/licenses/by-nc-sa/3.0/ or send a letter to Creative
+Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
+
+In addition, this plugin may only be distributed and executed on
+hardware which is licensed by Dream Multimedia GmbH.
Index: /ipk/source.sh4/mediacenter_mediathek_3_1/usr/lib/enigma2/python/Plugins/Extensions/MultiMediathek/locale/de/LC_MESSAGES/Mediathek.po
===================================================================
--- /ipk/source.sh4/mediacenter_mediathek_3_1/usr/lib/enigma2/python/Plugins/Extensions/MultiMediathek/locale/de/LC_MESSAGES/Mediathek.po	(revision 7463)
+++ /ipk/source.sh4/mediacenter_mediathek_3_1/usr/lib/enigma2/python/Plugins/Extensions/MultiMediathek/locale/de/LC_MESSAGES/Mediathek.po	(revision 7463)
@@ -0,0 +1,114 @@
+# German translations for MultiMediathek Plugin package.
+# This file is distributed under the same license as the tuxbox-enigma package.
+# Automatically generated, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: pts-enigma 0.0.1\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2011-04-25 12:00+0000\n"
+"PO-Revision-Date: 2011-04-25 11:44+0100\n"
+"Last-Translator: Homey <homey@dreambox-plugins.de>\n"
+"Language-Team: none\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Poedit-Language: German\n"
+"X-Poedit-SourceCharset: iso-8859-15\n"
+"X-Poedit-Country: GERMANY\n"
+
+msgid "Downloading ..."
+msgstr "Download ..."
+
+msgid "Downloading feeds from webserver ..."
+msgstr "Lade Feeds vom Webserver"
+
+msgid "Error: Can not create cache-folders inside flash memory. Check your Cache-Folder Settings!"
+msgstr "Fehler: Cache-Verzeichnis darf nicht im Flash-Speicher angelegt werden. Bitte Einstellungen überprüfen!"
+
+msgid "Parsing XML Feeds ..."
+msgstr "Parsing XML Feeds ..."
+
+msgid "Parsing Bookmarks ..."
+msgstr "Parsing Bookmarks ..."
+
+msgid "Enter Search Term:"
+msgstr "Enter Search Term:"
+
+msgid "Save on HDD"
+msgstr "Save on HDD"
+
+msgid "Direct Play"
+msgstr "Direct Play"
+
+msgid "Cached Play"
+msgstr "Cached Play"
+
+msgid "Bookmark"
+msgstr "Bookmark"
+
+msgid "Bookmark added!"
+msgstr "Bookmark added!"
+
+msgid "Sorry, no supported videos found here."
+msgstr "Sorry, no supported videos found here."
+
+msgid "Select a Movie:"
+msgstr "Select a Movie:"
+
+msgid "No Default Server configured in VLC Settings"
+msgstr "No Default Server configured in VLC Settings"
+
+msgid "Delete selected bookmark"
+msgstr "Delete selected bookmark"
+
+msgid "Bookmark selected movie"
+msgstr "Bookmark selected movie"
+
+msgid "Bookmark selected category"
+msgstr "Bookmark selected category"
+
+msgid "View Bookmarks"
+msgstr "View Bookmarks"
+
+msgid "View Downloads"
+msgstr "View Downloads"
+
+msgid "Mediathek Settings"
+msgstr "Mediathek Settings"
+
+msgid "MultiMediathek for your Dreambox"
+msgstr "MultiMediathek for your Dreambox"
+
+msgid "Finished"
+msgstr "Finished"
+
+msgid ""
+"Sorry, this Video can not get saved on HDD.\n"
+"Only HTTP, FTP and RTMP streams can get saved on HDD!"
+msgstr ""
+"Sorry, this Video can not get saved on HDD.\n"
+"Only HTTP, FTP and RTMP streams can get saved on HDD!"
+
+msgid ""
+"An update is available for Mediathek Plugin!\n"
+"Do you want to download and install now?"
+msgstr ""
+"An update is available for Mediathek Plugin!\n"
+"Do you want to download and install now?"
+
+msgid ""
+"Mediathek-Plugin successfully updated!\n"
+"Do you want to restart Enigma2 GUI now?"
+msgstr ""
+"Mediathek-Plugin successfully updated!\n"
+"Do you want to restart Enigma2 GUI now?"
+
+msgid ""
+"Missing GStreamer-Plugins were installed!\n"
+"Do you want to restart Enigma2 GUI now?"
+msgstr ""
+"Missing GStreamer-Plugins were installed!\n"
+"Do you want to restart Enigma2 GUI now?"
+
Index: /ipk/source.sh4/mediacenter_mediathek_3_1/usr/lib/enigma2/python/Plugins/Extensions/MultiMediathek/maintainer.info
===================================================================
--- /ipk/source.sh4/mediacenter_mediathek_3_1/usr/lib/enigma2/python/Plugins/Extensions/MultiMediathek/maintainer.info	(revision 7463)
+++ /ipk/source.sh4/mediacenter_mediathek_3_1/usr/lib/enigma2/python/Plugins/Extensions/MultiMediathek/maintainer.info	(revision 7463)
@@ -0,0 +1,2 @@
+homey@dreambox-plugins.de
+MultiMediathek Plugin
