Page 1 of 1

movie deletion based on watch status and Imdb score

Posted: 24 Apr 2024, 06:28
by superm4n
i use Plex and Filebot with AMC script..

is there a script available, to delete movies that are unwatched after 90 days with a low imdb score but keep unwatched movies witha higher score. is this something filebot could do?

Re: movie deletion based on watch status and Imdb score

Posted: 24 Apr 2024, 06:44
by rednoah
:?: How does FileBot know if a movie is unwatched?


:idea: FileBot can certainly select files that are older (i.e. not modified or not accessed) than 90 days and have a low score. That would require basic command-line skills though. See find -exec for details.

Re: movie deletion based on watch status and Imdb score

Posted: 24 Apr 2024, 17:19
by superm4n
i dont know lol could it not query the sqlite database or something

thanks ill check out your link

Re: movie deletion based on watch status and Imdb score

Posted: 24 Apr 2024, 19:02
by rednoah
Theoretically, yes.

:?: But which database? How to read that database? Which tables? Which columns? That'll be the main challenge.

:arrow: If you could write your own standalone tool that exports the watched / unwatched flag to something easy-to-read (e.g. xattr) then that would make the filebot bit fairly trivial.