[mythtv-users] How to remove reference to deleted recording (the file)?
myth at dermanouelian.com
Mon Sep 1 00:32:27 UTC 2008
On Aug 31, 2008, at 5:17 PM, Jean-Yves Avenard wrote:
> 2008/9/1 Nick Rout <nick.rout at gmail.com>:
>>> What is the best way to automatically remove from the database all
>>> recordings that do not exist anymore ?
> Hum... I ran that script but this isn't doing what I'm after.
> It *added* recordings that weren't in the database but existing in the
> recordings directory.
> What I want to do is *remove* from the database recordings that do not
> exist in the recordings directory.
This is the script you really want:
But the better way is to delete them from the frontend. Always better
to use the GUI tool than a script to modify the DB... just in case. :)
More information about the mythtv-users