[mythtv] Cannot delete a recording

Joel David Elkins jde at elkins.cx
Sat Jun 11 15:54:47 UTC 2005


mv the file to the one myth is looking for?

aaron wrote:

>Hi,
>Back when the time change occurred (Spring Forward), I made a
>recording that crossed over the time change.
>
>I am able to watch the recording with no difficulties.
>
>But I cannot delete it. It can't find the file.
>
>It's like the deletion code is looking for a different filename than
>the playback code.
>
>The database entry has the start and end times as:
>
>mysql> select starttime,endtime from recorded where chanid=1002;
>+---------------------+---------------------+
>| starttime           | endtime             |
>+---------------------+---------------------+
>| 2005-04-03 00:35:00 | 2005-04-03 02:40:00 |
>+---------------------+---------------------+
>1 row in set (0.01 sec)
>
>and the file on disk:
>$ ls 1002*
>1002_20050403003500_20050403024000.nuv
>
>The backend log indicates it's looking for the wrong file:
>
>2005-06-11 10:20:45.326 mythbackend: Delete Recording
>2005-06-11 10:20:58.522 ERROR when trying to delete file:
>/store/1002_20050403003500_20050403034000.nuv. File doesn't exist. 
>Database metadata will not be removed.
>
>This is with current CVS (I just did an update and full recompile
>about an hour ago), but I've been unable to delete the recording since
>it was recorded.
>
>I know that I could "touch" the file, but that will not solve the
>problem. That will allow the metadata to be removed, but will leave
>the file on disk, orphaned.
>
>I'd look into the code, but I'm not familiar with the
>design/layout/structure, so I thought maybe it would be faster to
>post; perhaps someone else can more quickly determine the problem.
>
>I haven't seen anyone else report a problem like this; most other
>"can't delete" problems are due to an actual missing file, not due to
>looking for the wrong filename.
>
>  
>



More information about the mythtv-dev mailing list