Skip to content

Commit

Permalink
Add a link to Plex and a more explicit example (#2472)
Browse files Browse the repository at this point in the history
  • Loading branch information
chazlarson authored Jan 22, 2025
1 parent e2262f9 commit d894176
Showing 1 changed file with 46 additions and 1 deletion.
47 changes: 46 additions & 1 deletion docs/files/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,49 @@ collections:
- "\\path\\to\\file4"
```

When Kometa adds this to Plex the translated string will be `\\path\\to\\file1;\\path\\to\\file2,\\path\\to\\file3;\\path\\to\\file4`. (Notice that some separators are semicolons `;` and some are commas `,`)
When Kometa adds this to Plex the translated string will be `\\path\\to\\file1;\\path\\to\\file2,\\path\\to\\file3;\\path\\to\\file4`. (Notice that some separators are semicolons `;` and some are commas `,`)

Plex preroll videos and this setting are covered at [Plex Extras](https://support.plex.tv/articles/202920803-extras/).

In a nutshell, this will play **one of** the files in the list before the movie starts:
```yml
collections:
base:
build_collection: false
server_preroll:
- "\\path\\to\\file1"
- "\\path\\to\\file2"
- "\\path\\to\\file3"
- "\\path\\to\\file4"
```

While this will play **all of** the files in the list before the movie starts:
```yml
collections:
base:
build_collection: false
server_preroll:
- - "\\path\\to\\file1"
- "\\path\\to\\file2"
- "\\path\\to\\file3"
- "\\path\\to\\file4"
```

And a mixed example like this:

```yml
collections:
base:
build_collection: false
server_preroll:
- "\\path\\to\\file1"
- - "\\path\\to\\file2"
- "\\path\\to\\file3"
- "\\path\\to\\file4"
```

would play one of these three options before the movie starts:

- `file1`
- both `file2` and `file3`
- `file4`

0 comments on commit d894176

Please sign in to comment.