[mythtv-users] find_orphans.py script doesn't delete anything

David Watkins watkinshome at gmail.com
Mon Mar 11 07:22:51 UTC 2024


What MythTV version are you running?

There are pre and post v31 versions of that script.  Are you running the
right one?

I'm no programmer but I'd be having a look at the script and maybe adding a
print statement or two.

On Mon, 11 Mar 2024 at 04:26, Phill Edwards <philledwards at gmail.com> wrote:

> I had some sort of disk crash and all my recording files have gone. But
> that's OK I didn't need them. However, it means I now have thousands of
> records in the database that don't have a matching recording file on disk.
>
> I thought I could clean that up with find_orphans.py but it doesn't delete
> anything. It lists recording and I enter "1" for Delete orphaned recording
> entries and confirm 'yes'. It then thinks for a couple of minutes and then
> says it couldn't delete one of the recordings. It then just presents the
> same recordings list again. And this goes on forever.
>
> Am I doing something wrong? Is there another way I can delete all
> the database recording values without using this script (and without
> manually doing it in Mythweb)?
>
> Regards,
> Phill
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20240311/46338ce7/attachment.htm>


More information about the mythtv-users mailing list