[mythtv] Patch to DO deletion when file doesn't exit

Mark irish at irishmark.co.uk
Wed Feb 16 21:37:17 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The current behaviour appears to be if the file of a recording doesn't
exist then the backend will refuse to remove the data from the database.
I can't see any sense in this, what else would you want to do with
useless metadata?
How else do I get rid of these darn empty programs?

Patch attched leaves the "file didn't exist" warning in, but now removes
the metadata too.

It's trivial, but hasn't been tested more than once
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCE70MyPEuXJ2RxGYRAnp+AJwIDn/cCs8CLk/PSRKCv/GaDlDd+wCgkR5w
TzvORLsjTKKYUxg9bhAEo0M=
=Zgto
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: do_delete.patch
Type: text/x-patch
Size: 1840 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050216/ab1d191c/do_delete.bin


More information about the mythtv-dev mailing list