How to remove a movie in database

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
Post Reply
boyerf
Posts: 46
Joined: 2009-07-20 18:24:33

How to remove a movie in database

Post by boyerf »

I would like to write a script who check my database to find movies which not longer exist on my files folders. Is there any function to delete the current movie I've just checked in database ?
Thank for your help
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

I don't think there is such function (except if soulsnake added it recently) but what you can do is use the SetSelected(Boolean) function to select the movies to delete, and then in the main window delete these.
Or put a special value in an unused field and then you can filter to show (and delete) only the movies that contain that special value.
Post Reply