Skip to content

Feature Request: Library specific search in a collection #341

@Alaksin

Description

@Alaksin

Is your feature request related to a problem? Please describe.
Having cross-library collections often requires having different specifications of the collection in each library. One issue is that some options are only valid in a movie or a TV show library. You can't put them both into one definition since the script will crash if the option isn't allowed. This adds a lot of extra lines to the yml files and makes it more difficult to keep things tidy.

Describe the solution you'd like
It would be a lot easier to be able to specify a collection in one place. This would require that you can set search criterias for different libraries in the collection or template specification. Here's an example:

templates:

  Director:
    sync_mode: sync
    collection_order: release
    tmdb_person: <<person>>
    sort_title: ΩΩ5 <<collection_name>>
    name_mapping: "- People/<<collection_name>>"
    libraries:
      Movies:
        plex_search:
        any:
          director: tmdb
      Documentary Movies:
        plex_search:
        any:
          director: tmdb
      TV Shows:
       plex_search:
       any:
         title: <<title>>

collections:
  Lars von Trier:
    template:
      name: Director
      person: 42
      title: Riget

  Oliver Stone:
    template:
      name: Director
      person: 1152
      title:
        - Untold History of the United States
        - Putin Interviews

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestpriority:lowLow priority bug or feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions