Index: /ipk/source/system_permanenttimeshift_3_0/CONTROL/control
===================================================================
--- /ipk/source/system_permanenttimeshift_3_0/CONTROL/control	(revision 3392)
+++ /ipk/source/system_permanenttimeshift_3_0/CONTROL/control	(revision 3392)
@@ -0,0 +1,10 @@
+Package: enigma2-plugin-system-permanenttimeshift
+Version: 3.0
+Architecture: sh4
+OE: This plugin activates permanent timeshifting of the channel you are watching.
+Section: extra
+Priority: optional
+Maintainer: HDF
+Homepage: http://www.hdfreaks.cc
+Description: PermanentTimeshift v3.0
+Source: http://www.hdfreaks.cc
Index: /ipk/source/system_permanenttimeshift_3_0/CONTROL/postinst
===================================================================
--- /ipk/source/system_permanenttimeshift_3_0/CONTROL/postinst	(revision 3392)
+++ /ipk/source/system_permanenttimeshift_3_0/CONTROL/postinst	(revision 3392)
@@ -0,0 +1,13 @@
+#!/bin/sh
+TMP=/tmp/.au
+PLUGINDIR=/usr/lib/enigma2/python/Plugins/Extensions/PermanentTimeshift
+
+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/system_permanenttimeshift_3_0/CONTROL/postrm
===================================================================
--- /ipk/source/system_permanenttimeshift_3_0/CONTROL/postrm	(revision 3392)
+++ /ipk/source/system_permanenttimeshift_3_0/CONTROL/postrm	(revision 3392)
@@ -0,0 +1,14 @@
+#!/bin/sh
+TMP=/tmp/.au
+PLUGINDIR=/usr/lib/enigma2/python/Plugins/Extensions/PermanentTimeshift
+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/system_permanenttimeshift_3_0/CONTROL/preinst
===================================================================
--- /ipk/source/system_permanenttimeshift_3_0/CONTROL/preinst	(revision 3392)
+++ /ipk/source/system_permanenttimeshift_3_0/CONTROL/preinst	(revision 3392)
@@ -0,0 +1,31 @@
+#!/bin/sh
+#
+TMP=/tmp/.au
+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`
+	SIZE=28
+	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 PermanentTimeshift ..."
+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/system_permanenttimeshift_3_0/CONTROL/prerm
===================================================================
--- /ipk/source/system_permanenttimeshift_3_0/CONTROL/prerm	(revision 3392)
+++ /ipk/source/system_permanenttimeshift_3_0/CONTROL/prerm	(revision 3392)
@@ -0,0 +1,11 @@
+#!/bin/sh
+TMP=/tmp/.au
+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 PermanentTimeshift"
+exit 0
Index: /ipk/source/system_permanenttimeshift_3_0/usr/lib/enigma2/python/Plugins/Extensions/PermanentTimeshift/LICENSE
===================================================================
--- /ipk/source/system_permanenttimeshift_3_0/usr/lib/enigma2/python/Plugins/Extensions/PermanentTimeshift/LICENSE	(revision 3392)
+++ /ipk/source/system_permanenttimeshift_3_0/usr/lib/enigma2/python/Plugins/Extensions/PermanentTimeshift/LICENSE	(revision 3392)
@@ -0,0 +1,12 @@
+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.
+
+Alternatively, this plugin may be distributed and executed on hardware which 
+is licensed by Dream Multimedia GmbH.
+
+This plugin is NOT free software. It is open source, you are allowed to
+modify it (if you keep the license and credits), but it may not be commercially 
+distributed other than under the conditions noted above.
Index: /ipk/source/system_permanenttimeshift_3_0/usr/lib/enigma2/python/Plugins/Extensions/PermanentTimeshift/keymap.xml
===================================================================
--- /ipk/source/system_permanenttimeshift_3_0/usr/lib/enigma2/python/Plugins/Extensions/PermanentTimeshift/keymap.xml	(revision 3392)
+++ /ipk/source/system_permanenttimeshift_3_0/usr/lib/enigma2/python/Plugins/Extensions/PermanentTimeshift/keymap.xml	(revision 3392)
@@ -0,0 +1,12 @@
+<keymap>
+	<map context="PTS_InstantRecordActions">
+		<key id="KEY_RECORD" mapto="instantRecord" flags="m" />
+	</map>
+	
+	<map context="PTS_SeekPointerActions">
+		<key id="KEY_OK" mapto="SeekPointerOK" flags="m" />
+		<key id="KEY_STOP" mapto="SeekPointerStop" flags="m" />
+		<key id="KEY_LEFT" mapto="SeekPointerLeft" flags="mr" />
+		<key id="KEY_RIGHT" mapto="SeekPointerRight" flags="mr" />
+	</map>
+</keymap>
Index: /ipk/source/system_permanenttimeshift_3_0/usr/lib/enigma2/python/Plugins/Extensions/PermanentTimeshift/locale/de/LC_MESSAGES/PTSPlugin.po
===================================================================
--- /ipk/source/system_permanenttimeshift_3_0/usr/lib/enigma2/python/Plugins/Extensions/PermanentTimeshift/locale/de/LC_MESSAGES/PTSPlugin.po	(revision 3392)
+++ /ipk/source/system_permanenttimeshift_3_0/usr/lib/enigma2/python/Plugins/Extensions/PermanentTimeshift/locale/de/LC_MESSAGES/PTSPlugin.po	(revision 3392)
@@ -0,0 +1,116 @@
+# German translations for PTS Plugin package.
+# This file is distributed under the same license as the tuxbox-enigma package.
+# Automatically generated, 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: pts-enigma 0.0.1\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-01-28 23:54+0000\n"
+"PO-Revision-Date: 2010-02-19 14:15+0100\n"
+"Last-Translator: Homey <homey@battletracker.com>\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 "Save and stop"
+msgstr "Save and stop"
+
+msgid "Save and record"
+msgstr "Save and record"
+
+msgid "Don't save"
+msgstr "Nicht speichern"
+
+msgid "Timeshift"
+msgstr "Timeshift"
+
+msgid ""
+"OH NO!\n"
+"The timeshift that was marked to save at end of event, was lost because you zapped away!"
+msgstr ""
+"OH NEIN!\n"
+"Die Timeshiftaufnahme wurde noch nicht gespeichert weil du zu früh weggezapped hast!"
+
+msgid "Timeshift saved to your harddisk!"
+msgstr "Timeshiftaufnahme auf Festplatte gespeichert!"
+
+msgid "Timeshift copied to your harddisk!"
+msgstr "Timeshiftaufnahme auf Festplatte kopiert!"
+
+msgid "Timeshift save failed!"
+msgstr "Fehler beim speichern der Timeshiftaufnahme!"
+
+msgid "No Timeshift found to save as recording!"
+msgstr "Keine Timeshift Datei gefunden zum speichern!"
+
+msgid "Permanent Timeshift Settings"
+msgstr "Permanent Timeshift Einstellungen"
+
+msgid ""
+"The Timeshift record was not saved yet!\n"
+"What do you want to do now with the timeshift file?"
+msgstr ""
+"Die Timeshiftaufnahme wurde noch nicht gespeichert!\n"
+"Was möchtest du nun mit der Timeshift aufnahme tun?"
+
+msgid "Which event do you want to save permanently?"
+msgstr "Welche Sendung möchtest du permanent speichern?"
+
+msgid "Save Timeshift as Movie and stop recording"
+msgstr "Timeshiftaufnahme als Film speichern und Aufnahme beenden"
+
+msgid "Save Timeshift as Movie and continue recording"
+msgstr "Timeshiftaufnahme als Film speichern und weiter aufnehmen"
+
+msgid "Don't save Timeshift as Movie"
+msgstr "Timeshiftaufnahme nicht als Film speichern"
+
+msgid "Current Event:"
+msgstr "Aktuelle Sendung:"
+
+msgid "Getting Event Info failed!"
+msgstr "Fehler bei lesen der Event-Infos!"
+
+msgid ""
+"Maximum Timeshift length per Event reached!\n"
+"Restarting Timeshift now ..."
+msgstr ""
+"Maximale länge für eine Timeshiftaufnahme erreicht!\n"
+"Timeshiftaufnahme wird neu gestartet ..."
+
+msgid "Timeshift will get saved at end of event!"
+msgstr "Timeshiftaufnahme wird am Ende dieses Films gespeichert!"
+
+msgid "save recording (stop after current event)"
+msgstr "Aufnahme speichern (Aktuelle Sendung)"
+
+msgid "save recording (Select event)"
+msgstr "Aufnahme speichern (Sendung auswählen)"
+
+msgid "Permanent Timeshift Enable"
+msgstr "Permanent Timeshift aktivieren"
+
+msgid "Permanent Timeshift Max Events"
+msgstr "Permanent Timeshift Max Sendungen"
+
+msgid "Permanent Timeshift Max Length"
+msgstr "Permanent Timeshift Max Länge"
+
+msgid "Permanent Timeshift Start Delay"
+msgstr "Permanent Timeshift Start Verzögerung"
+
+msgid "Timeshift-Save Action on zap"
+msgstr "Timeshift-Save Action on zap"
+
+msgid "Clean Timeshift Buffer on zap?"
+msgstr "Timeshiftbuffer beim zappen löschen?"
+
+msgid "Creating Hardlink to Timeshift file failed!"
+msgstr "Fehler beim erstellen des Hardlinks zur Timeshift Datei!"
+
Index: /ipk/source/system_permanenttimeshift_3_0/usr/lib/enigma2/python/Plugins/Extensions/PermanentTimeshift/maintainer.info
===================================================================
--- /ipk/source/system_permanenttimeshift_3_0/usr/lib/enigma2/python/Plugins/Extensions/PermanentTimeshift/maintainer.info	(revision 3392)
+++ /ipk/source/system_permanenttimeshift_3_0/usr/lib/enigma2/python/Plugins/Extensions/PermanentTimeshift/maintainer.info	(revision 3392)
@@ -0,0 +1,2 @@
+homey@battletracker.com
+Permanent Timeshift Plugin
