linking titles to collections

All about user-defined episode / movie / file name format expressions
Post Reply
jmgant
Posts: 3
Joined: 21 Apr 2017, 20:22

linking titles to collections

Post by jmgant »

I use this format for movies

Code: Select all

NewMovies/{az}/{any{collection}{plex[1]}}/{plex[2]} [{fn.match(/3D/)+', '}{vf}, {ac}, {af}]
This gives me titles and collections. But I would like to hardlink or reflink the titles which reside in collections to their respective individual, alphabetical listing ie

Code: Select all

NewMovies/{az}/{plex} [{fn.match(/3D/)+', '}{vf}, {ac}, {af}]
[/code]

I'm willing to run the script a second time to do this, but how would I format that second pass?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: linking titles to collections

Post by rednoah »

1.
The first pass is to identify files and to properly organize them.

The second (or nth) pass should be offline with --db xattr so it's fast and doesn't abuse the online database:
viewtopic.php?t=4788


2.
You can use --filter to only select files in certain folders or that belong to certain collections.

e.g. a simple solution might just check if "Collection" is somewhere in the file path:

Code: Select all

--filter "f =~ /Collection/"
:idea: Please read the FAQ and How to Request Help.
Post Reply