Page 1 of 1

double folders bdmv AMC Script

Posted: 27 Jul 2014, 16:23
by evilsephiroth
Hi, thanks for the awesome tool.


Lately, I'm struggling to correct some naming problem with amc script.

[COPY] Rename [/home/repo/transmission/remoteSync/movie/movie/The.Secret.Life.of.Walter.Mitty.2013.CEE.BluRay.1080p.AVC.DTS-HD.MA5.1-CHDBits] to [/home/repo/transmission/sorted/Movies/The Secret Life of Walter Mitty (2013)/The Secret Life of Walter Mitty (2013)]

In the original folder, there's a BDMV folder...

The problem is the double folder rename

i.e.
/home/repo/transmission/sorted/Movies/The Secret Life of Walter Mitty (2013)/The Secret Life of Walter Mitty (2013)/BDMV instead of

/home/repo/transmission/sorted/Movies/The Secret Life of Walter Mitty (2013)/BDMV


Any help?

Re: double folders bdmv AMC Script

Posted: 27 Jul 2014, 19:06
by rednoah
Disk Folders are considered files. And the format specified a folder and a file (in your case a BD folder).

Look at it like this and you'll see why it makes sense:

1.
The Secret Life of Walter Mitty (2013)/The Secret Life of Walter Mitty (2013)/BDMV/**
The Secret Life of Walter Mitty (2013)/The Secret Life of Walter Mitty (2013).iso/BDMV/**

2.
The Secret Life of Walter Mitty (2013)/The Secret Life of Walter Mitty (2013) CD1/BDMV/**
The Secret Life of Walter Mitty (2013)/The Secret Life of Walter Mitty (2013) CD2/BDMV/**

If you want anything else you can always pass in your own format. ;)

Re: double folders bdmv AMC Script

Posted: 27 Jul 2014, 19:57
by evilsephiroth

Code: Select all

Movies/{file.isFile() ? "$n ($y)/" : "./"}{n} ({y}){" CD$pi"}{".$lang"}
solved by this in movie format definition :D