Ticket #3426: mythrename.diff

File mythrename.diff, 490 bytes (added by anonymous, 13 years ago)

Second try, wasn't in mythtv root

  • contrib/mythrename.pl

     
    216216
    217217# Only if we're renaming files
    218218    unless ($dest) {
    219         $q  = 'UPDATE recorded SET basename=? WHERE chanid=? AND starttime=FROM_UNIXTIME(?)';
     219        $q  = 'UPDATE recorded SET basename=? WHERE chanid=? AND progstart=FROM_UNIXTIME(?)';
    220220        $sh = $dbh->prepare($q);
    221221    }
    222222