[mythtvnz] Undeletable recordings

Nick Rout nick.rout at gmail.com
Sun Aug 5 00:02:20 BST 2012


On Sun, Aug 5, 2012 at 10:14 AM, Paulgir <paulgir at gmail.com> wrote:
> On Sun, 05 Aug 2012 10:07:51 +1200, Nick Rout <nick.rout at gmail.com> wrote:
>
>> On Sun, Aug 5, 2012 at 7:49 AM, Paulgir <paulgir at gmail.com> wrote:
>>>
>>> On Sat, 04 Aug 2012 13:51:07 +1200, Stephen Worthington
>>> <stephen_agent at jsw.gen.nz> wrote:
>>>
>>>> On Sat, 04 Aug 2012 11:04:48 +1200, you wrote:
>>>>
>>>>> Hi Folks
>>>>>
>>>>> I have found a few of my earliest recordings won't delete using the
>>>>> menu
>>>>> 'Delete Forever" option.I prefer to delete this way for
>>>>>
>>>>> recordings I am done with, rather than wait for expiry.
>>>>>
>>>>> They disappear from the Deleted items view for a minute or so and then
>>>>> reappear.
>>>>>
>>>>> Is it ok to delete the files from the recordings folder manually?
>>>>
>>>>
>>>>
>>>> You can, but you need to fixup the database.  There is a nice script
>>>> here:
>>>>
>>>>   http://www.mythtv.org/wiki/Find_orphans.py
>>>>
>>>> that does the job for 0.24 and 0.25.
>>>>
>>>> But you might like to first check the permissions on the files that
>>>> will not delete.
>>>>
>>>
>>> What exactly does find_orphans.py do?
>>> I have run it in the past and it didn't seem to do anything.
>>
>>
>> It finds lists of orphaned recordings (ie in the database but no
>> corresponding file) and orphaned files (file exists but corresponding
>> db entry) and gives you a chance to delete them,
>
>
> So does it output a list in terminal or create a text file?
> When I ran it'I did not seem to get any response.Maybe there weren't any
> orphans to report

It is entirely command line based. Are you on 0.24 or 0.25? Maybe it
doesn't work with 0.25?

Anyway your problem is likely to be ownership or permissions with the
files concerned. Fix that and you should be able to delete them in the
normal way.



More information about the mythtvnz mailing list