Ticket #3426: mythrenamefieldpatch

File mythrenamefieldpatch, 466 bytes (added by anonymous, 13 years ago)
Line 
1Index: mythrename.pl
2===================================================================
3--- mythrename.pl       (revision 13315)
4+++ mythrename.pl       (working copy)
5@@ -216,7 +216,7 @@
6 
7 # Only if we're renaming files
8     unless ($dest) {
9-        $q  = 'UPDATE recorded SET basename=? WHERE chanid=? AND starttime=FROM_UNIXTIME(?)';
10+        $q  = 'UPDATE recorded SET basename=? WHERE chanid=? AND progstart=FROM_UNIXTIME(?)';
11         $sh = $dbh->prepare($q);
12     }
13