Do you mean like this?
Code: Select all
dest = rename(file: files, format: config.format, db: 'TheTVDB', order: 'dvd')
that doesn't seem to work and it looks like the parameter is sortOrder in the source code?
I was just going to simply check the filepath for dvd, bluray or bdrip:
Code: Select all
f.dir.listPath().any{ it.name ==~ /(?i:dvd|bluray|bdrip)/ }
but I haven't messed with that much yet because I'm having problems with passing order to rename
I've hacked up the amc script pretty good with a bunch of other little features that I'll be happy to share but I'm not sure if you'll want all to be merged into amc:
- sonarr api to force a series disk refresh if adding t series to same file path
- couchpotato api to force a disk refresh for movies
- Lookup anime in anidb and map it to tvdb for episode listing
- Use moviedb for anime movies
- skip subtitle download when embedded subs are found
also I'm bug fixing as I use it so the stability of some of the more advanced features aren't 100% tested but it seems to work well for me so far