Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a link to Plex and a more explicit example #2472

Merged
merged 1 commit into from
Jan 22, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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`
Loading