[mythtv-users] How do I remove recordings without files

jarpublic at gmail.com jarpublic at gmail.com
Thu Mar 5 14:23:37 UTC 2009


On Thu, Mar 5, 2009 at 2:25 AM, Bill Williamson <bill at bbqninja.com> wrote:
> On Thu, Mar 5, 2009 at 5:54 PM, Nick Morrott <knowledgejunkie at gmail.com>
> wrote:
>>
>> On 05/03/2009, Henrik Beckman <henrik.list at gmail.com> wrote:
>> > Ie got a bunch of these
>> >
>> >  2009-03-04 13:05:11.587 ERROR when trying to delete file:
>> >
>> >  /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/media/2098_20081123180345.mpg.
>> >  File does
>> >  n't exist.  Database metadata will not be removed.
>> >
>> >  How can I remove them.
>>
>> A common way to remove files that can't be removed through the MythTV
>> interface is to recreate the missing file(s) using touch in your
>> recordings directory.
>>
>> E.g.:
>>
>> $ touch 2098_20081123180345.mpg
>>
>> Then go back to MythTV, and delete the recording(s).
>>
>> Nick
>
> Is this behavior accidental, or to prevent problems if a storage group goes
> offline or the like?
>
> I both love it and hate it.

I wrote a thread about this a week or two ago. You should be able to
delete individual recordings without files from the watch recordings
sections of the frontend, as long as you are running .21 or newer.
Older versions of mythtv didn't allow you to delete recordings with
missing files. If you are trying to delete from mythweb, or if you
have used a playlist to select all of the files, then you won't be
able to delete them if the files are missing. I wanted to do a delete
and allow rerecord in my case so it was a little more involved. Check
out this thread in the archives. They discuss the issue and someone
posted a link to an updated version of the find orphans script that
will allow rerecord.

http://www.gossamer-threads.com/lists/mythtv/users/372455
http://www.gossamer-threads.com/lists/mythtv/users/372477


More information about the mythtv-users mailing list