Hi there
im running out of space on my nas (Openmediavault (debian))
is there a way to script something that scans my entire moviefolder and delete everything with a imdb-rating less than 6 or so ?
that would be awesome
thanks for any advice
Gutz-Pilz
Delete everything under imdb rating < 6
Re: Delete everything under imdb rating < 6
If you have .nfo files with the rating that'd make things easier. Otherwise you have to look at the amc/htpc script on how to do movie detection and fetch metadata.
Please read the FAQ and How to Request Help.
Re: Delete everything under imdb rating < 6
i could make the nfos with rating information
can u point me in a direction also without nfo ?
can u point me in a direction also without nfo ?
Re: Delete everything under imdb rating < 6
Check amc.groovy how to use detectMovie() and then htpc.groovy how to get the info object from the movie object that you get back from detectMovie(). With the info object you know the rating and you can decide whether to delete the video file.
Please read the FAQ and How to Request Help.
Re: Delete everything under imdb rating < 6
great. i give it a try