Ticket #2627: mythrename.patch

File mythrename.patch, 451 bytes (added by wseltzer, 14 years ago)

1-line patch

  • mythrename.pl

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