blob: f96eb97fe0d4218bfca8ae989fa6ab4266d1876e (
plain)
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
32
33
34
|
diff -Naur dvdselect-0.8.orig/config.c dvdselect-0.8/config.c
--- dvdselect-0.8.orig/config.c 2007-01-08 21:18:19.182960859 +0100
+++ dvdselect-0.8/config.c 2007-01-08 21:19:39.191520288 +0100
@@ -24,8 +24,8 @@
strcpy(NameOrgDevice, "/dev/scd0");
strcpy(ImageDir, "/video");
strcpy(DVDOutputDir, "/video/dvd");
- strcpy(DVDReadScript, "/video/config/plugins/dvdselect_readdvd.sh");
- strcpy(DVDWriteScript, "/video/config/plugins/dvdselect_writedvd.sh");
+ strcpy(DVDReadScript, "/usr/share/vdr/dvdchanger/dvdchanger_readdvd.sh");
+ strcpy(DVDWriteScript, "/usr/share/vdr/dvdchanger/dvdchanger_writedvd.sh");
}
bool cDVDSelectSetup::SetupParse(const char *Name, const char *Value)
diff -Naur dvdselect-0.8.orig/menu.c dvdselect-0.8/menu.c
--- dvdselect-0.8.orig/menu.c 2007-01-08 21:18:19.214962682 +0100
+++ dvdselect-0.8/menu.c 2007-01-08 21:23:10.187544264 +0100
@@ -16,11 +16,11 @@
#define TSDIR "video_ts"
#define FINDCMD "cd '%s' && find '%s' -follow -iname '%s' -printf '%%p\n' -o -iname '%s' -printf '%%h\n' 2> /dev/null"
-#define SCRIPT_DVDWRITE_CMD "%s '%s'"
-#define SCRIPT_DVDREAD_CMD "%s '%s' '%s' '%s'"
-#define RMCMD "echo \"rm '%s' 2> /dev/null\" | at now"
-#define MOUNTCMD "ln -nfs '%s' '%s' 2> /dev/null"
-#define RESETCMD "ln -nfs '%s' '%s' 2> /dev/null"
+#define SCRIPT_DVDWRITE_CMD "sudo %s '%s'"
+#define SCRIPT_DVDREAD_CMD "sudo %s '%s' '%s' '%s'"
+#define RMCMD "sudo echo \"rm '%s' 2> /dev/null\" | at now"
+#define MOUNTCMD "sudo ln -nfs '%s' '%s' 2> /dev/null"
+#define RESETCMD "sudo ln -nfs '%s' '%s' 2> /dev/null"
// --- cDVDList -------------------------------------------------------------
|