double folders bdmv AMC Script

Any questions? Need some help?
Post Reply
evilsephiroth
Power User
Posts: 7
Joined: 27 Jul 2014, 16:21

double folders bdmv AMC Script

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

Re: double folders bdmv AMC Script

Post 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. ;)
:idea: Please read the FAQ and How to Request Help.
evilsephiroth
Power User
Posts: 7
Joined: 27 Jul 2014, 16:21

Re: double folders bdmv AMC Script

Post by evilsephiroth »

Code: Select all

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