Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Quoted
Original von sigiberlin
hab gestern aus dem svn die Version: 1.1(1224) gezogen. heute fällt mir auf, daß unter Tools keine Autotimer mehr zu sehen sind ?
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
--- lib/XXV/MODULES/RECORDS.pm
+++ lib/XXV/MODULES/RECORDS.pm
@@ -9,7 +9,7 @@
use File::Basename;
use File::stat;
use Locale::gettext;
-use Linux::Inotify2;
+#use Linux::Inotify2;
$SIG{CHLD} = 'IGNORE';
@@ -24,7 +24,7 @@
Prereq => {
'Time::Local' => 'efficiently compute time from local and GMT time ',
'Digest::MD5 qw(md5_hex)' => 'Perl interface to the MD5 Algorithm',
- 'Linux::Inotify2' => 'scalable directory/file change notification'
+ #'Linux::Inotify2' => 'scalable directory/file change notification'
},
Description => gettext('This module manages recordings.'),
Version => (split(/ /, '$Revision$'))[1],
@@ -298,8 +298,8 @@
return 0;
}
- $obj->{inotify} = new Linux::Inotify2
- or panic "Unable to create new inotify object: $!";
+ #$obj->{inotify} = new Linux::Inotify2
+ # or panic "Unable to create new inotify object: $!";
if($obj->{inotify}) {
Event->io(
|
This post has been edited 1 times, last edit by "Hulk" (Dec 2nd 2007, 5:44pm)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 |
--- XXV/trunk/contrib/update-xxv (Revision 1226)
+++ XXV/trunk/contrib/update-xxv (Arbeitskopie)
@@ -140,7 +140,7 @@
showInfo 'Restoring Data'
for table in $tables ; do
savFile="$exportDir/$table.sav"
- if [ -e "$savfile" ]; then
+ if [ -e "$savFile" ]; then
if ! eval mysql $mysqlParams -f -B $database -e \
"\"load data infile '$savFile' into table $table;\"" ; then
showError "Can't load table '$table'"
|
|
|
Source code |
1 2 3 |
#> ls /tmp/xxv-update.* /tmp/xxv-update.3649: AUTOTIMER.sav CHRONICLE.sav MEDIALIB_ACTORS.sav MEDIALIB_VIDEODATA.sav MEDIALIB_VIDEOGENRE.sav USER.sav |
|
|
Source code |
1 2 3 4 5 6 |
mysql -u root xxv -e 'load data infile "/tmp/xxv-update.3649/AUTOTIMER.sav" into table AUTOTIMER;' mysql -u root xxv -e 'load data infile "/tmp/xxv-update.3649/CHRONICLE.sav" into table CHRONICLE;' mysql -u root xxv -e 'load data infile "/tmp/xxv-update.3649/MEDIALIB_ACTORS.sav" into table MEDIALIB_ACTORS;' mysql -u root xxv -e 'load data infile "/tmp/xxv-update.3649/MEDIALIB_VIDEOGENRE.sav" into table MEDIALIB_VIDEOGENRE;' mysql -u root xxv -e 'load data infile "/tmp/xxv-update.3649/MEDIALIB_VIDEODATA.sav" into table MEDIALIB_VIDEODATA;' mysql -u root xxv -e 'load data infile "/tmp/xxv-update.3649/USER.sav" into table USER' |
|
|
Source code |
1 |
update-xxv -b Backup |
|
|
PHP Source code |
1 |
INSERT INTO AUTOTIMER SELECT ID,'n','timer,recording,chronicle',File,'title,subtitle,description',ChannelID,NULL,NULL,NULL,Priority,Lifetime,'','n',NULL,NULL,NULL,NULL,NULL,NULL FROM TIMERS GROUP BY File;
|
This post has been edited 1 times, last edit by "Hulk" (Dec 2nd 2007, 10:26pm)