movie deletion based on watch status and Imdb score

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
superm4n
Donor
Posts: 19
Joined: 30 Jun 2017, 14:27

movie deletion based on watch status and Imdb score

Post 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?
User avatar
rednoah
The Source
Posts: 23022
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: movie deletion based on watch status and Imdb score

Post 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.
:idea: Please read the FAQ and How to Request Help.
superm4n
Donor
Posts: 19
Joined: 30 Jun 2017, 14:27

Re: movie deletion based on watch status and Imdb score

Post by superm4n »

i dont know lol could it not query the sqlite database or something

thanks ill check out your link
User avatar
rednoah
The Source
Posts: 23022
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: movie deletion based on watch status and Imdb score

Post 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.
:idea: Please read the FAQ and How to Request Help.
Post Reply