Hi,
I'm a full on OMV convert. From using a Win7 PC with some external storage the NAS world looked scary as hell. OMV is making the transition amazingly smooth. I've put in about 20+ hours of config so far and got things tweaked satisfactorily for most of the popular services, but I've run up against something I could do with some help on.
I like to organise my movies by UK age certification as follows:
/video
->/movies
->/u
->/pg
->/12
->/15
->/18
e.g. /video/movies/18/Expendables 2/movie.avi, movie.nfo, etc
This method allows simple access control levels for my kids and their XBMC libraries.
Couchpotato post-processing gives me perfect folder and file naming along with an XBMC compatible nfo file filled with IMDB data including <certification> tag.
Currently CouchPotato dumps the processed folder into /video/movies and I manually sort into the correct rating folder. What would completely automate this process is a perl or python script (along with a cron job) that watches for new movies turning up (perhaps a new folder like /video/movies/couchpotatodrop/), parses the nfo file for the certification value and then moves the movie folder to the appropriate rating folder.
Sadly I don't know Perl or Python and while my PHP experience tells me this isn't a hugely complex script it is still beyond me. Is there any Perl or Python guru on the board who would write a little script to do this job?
nfo file can be named "movie.nfo" or <folder name>/nfo [e.g. Expendables 2 (2012).nfo] soetimes with both files being present.
IMDB certification tag values can be:
"UK:18", "UK:15", "UK:12A", "UK:PG", "UK:U"
Some nfo files have certification data for lots of countires but the UK rating is always in the format above.
Any takers?