summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/myth2ipod/myth2ipod.patch
blob: 95785ab878534e579549e8e67fe7a97272f70438 (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
35
--- myth2ipod.txt	2007-06-01 10:00:02.000000000 -0500
+++ myth2ipod.txt.modified	2007-06-01 11:24:26.000000000 -0500
@@ -12,10 +12,10 @@
 	
 # User variables
 	my $portable = "ipod";
-	my $feedfile = "/myth/ipodfeed/feed.php";
-	my $feedpath = "/myth/ipodfeed/";
-	my $wwwloc = "/var/www/";
-	my $feedurl = "http://hostname/ipodfeed/";
+	my $feedfile = "/data/media/ipodfeed/feed.php";
+	my $feedpath = "/data/media/ipodfeed/";
+	my $wwwloc = "/data/srv/httpd/htdocs/";
+	my $feedurl = "http://REPLACEME/ipodfeed/";
 	my $nuvoptions ="--mode=iPod --nice=19 --cutlist --nodenoise --nodeinterlace --nomultipass";
 	
 # Some variables
@@ -136,7 +136,7 @@
 	# Create cutlist from commercial flagging if -cut was passed to the script
 	if ($cut == 1){
 	printf("Generating cutlist\n"); 
-	$cmd = "/usr/bin/mythcommflag --chanid $chanid --starttime $start --gencutlist";
+	$cmd = "/usr/local/bin/mythcommflag --chanid $chanid --starttime $start --gencutlist";
 	print $cmd."\n"; 
 	if(system($cmd)) { print "It looks like I was not able to generate a cutlist.\n"; } 
 	}
@@ -147,7 +147,7 @@
 	if(system($cmd)) { print "Nuvexport encoding seems to have failed\n"; } 
 	
 	# Now clean up the output so iPods with firmware 1.1 and above can use it
-	$cmd = "/usr/local/bin/MP4Box -add $feedpath$chanid\_$start.temp.mp4 $feedpath$chanid\_$start.$portable.mp4";
+	$cmd = "/usr/bin/MP4Box -add $feedpath$chanid\_$start.temp.mp4 $feedpath$chanid\_$start.$portable.mp4";
 	print $cmd."\n"; 
 	if(system($cmd)) { print "MP4Box cleanup seems to have failed\n"; } 
 	return 0;