Sort by Collection an Movie Folder

Any questions? Need some help?
Post Reply
erik
Posts: 6
Joined: 19 Aug 2015, 12:29

Sort by Collection an Movie Folder

Post by erik »

Hello,

I have a simple question for edit formats. I want to sort Folders by Movie Collection and Movies like this:

Image


As you can see in the picture "new names" it works for the folder "movie collection". But the problem is that the normal movies were not moved in the folder "movies" they only have an own folder named by the movie itself. To understand the problem I marked the different file levels in the colours which you can see above (1st level blue, 2nd red, 3rd yellow).
Image


this is my code

Code: Select all

E:{"/Filmkollektion/" + "$collection"}/{n} ({y}) {genres.take(2)} - IMDB {rating}/{n} ({y}) {genres.take(2)} - IMDB {rating}  {'- Part '+pi}
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Sort by Collection an Movie Folder

Post by rednoah »

Nice illustration. Much appreciated.


Here's my solution:

Code: Select all

{any{'Movie Collection/'+collection}{'Movie'}}/{n} ({y})
@see viewtopic.php?f=5&t=1895
:idea: Please read the FAQ and How to Request Help.
erik
Posts: 6
Joined: 19 Aug 2015, 12:29

Re: Sort by Collection an Movie Folder

Post by erik »

perfekt - it´s works !

Code: Select all

{any{'E:/Filmkollektion/'+collection + '/' + n + ' (' + y + ' - ' + info.Genres[0] + ' - IMDB ' + rating  + ')' + any{' - Part '+pi}{''}}{'E:/Filme/'+ n + ' (' + y + ' - ' + info.Genres[0] + ' - IMDB ' + rating  + ')/' + n + ' (' + y + ' - ' + info.Genres[0] + ' - IMDB ' + rating  + ')'}}
Thanks !
garyleecn
Donor
Posts: 114
Joined: 19 Nov 2014, 03:48

Re: Sort by Collection an Movie Folder

Post by garyleecn »

erik wrote:perfekt - it´s works !

Code: Select all

{any{'E:/Filmkollektion/'+collection + '/' + n + ' (' + y + ' - ' + info.Genres[0] + ' - IMDB ' + rating  + ')' + any{' - Part '+pi}{''}}{'E:/Filme/'+ n + ' (' + y + ' - ' + info.Genres[0] + ' - IMDB ' + rating  + ')/' + n + ' (' + y + ' - ' + info.Genres[0] + ' - IMDB ' + rating  + ')'}}
Thanks !

so if put it into amc script, how would it look like?

like


/usr/local/bin/filebot -script fn:amc --output /Volumes/Data/Videos/ --action move --db OpenSubtitles -non-strict /Volumes/Cache/Completed/ --def "seriesFormat=/Volumes/Data/Videos/TV Shows/{n}/Season {s} ({y})/{n} {s00e00} - {t} {(airdate)}" "movieFormat=/Volumes/Data/Videos/Movies/{n}/{n} [{vf}.{ac}.{source}]"

where do i put your codes?
Post Reply