add sync_to_user

master
meisnate12 2 years ago
parent 607a716a56
commit ff0f2134b1

@ -24,7 +24,7 @@ There are two mappings allowed in the Playlist File's root:
| Name | Attribute | Description |
| :--- | :--- | :--- |
| [Templates](https://github.com/meisnate12/Plex-Meta-Manager/wiki/Template-Attributes) | `templates` | mapping where templates for automatic collections go |
| [Playlists](#playlist-mapping-additional-requirements) | `playlists` | mapping where automatic playlists and playlist metadata go |
| [Playlists](#additional-playlist-attributes) | `playlists` | mapping where automatic playlists and playlist metadata go |
* `playlists` is required in order to run the Playlist File.
* You can find example Playlist Files in the [Plex Meta Manager Configs Repository](https://github.com/meisnate12/Plex-Meta-Manager-Configs)
@ -62,17 +62,22 @@ There are three types of attributes in a collection/playlist
3. **[Filters](https://github.com/meisnate12/Plex-Meta-Manager/wiki/Filters):** attributes that filters items added to all Builders
## Playlist Mapping Additional Requirements
## Additional Playlist Attributes
Each playlist operation requires the `libraries` attribute. Which is how the script knows which libraries to search for items in.
The names can either be a list or comma-separated string of names that match the mapping names defined in your Configuration File.
The names can either be a list or comma-separated string of names that match the mapping names defined in your Configuration File.
Each playlist can also be given the `sync_to_user` which will overrider the global [`playlist_sync_to_user` Setting](https://github.com/meisnate12/Plex-Meta-Manager/wiki/Settings-Attributes#playlist-sync-to-user).
The values can either be `all` or a list or comma-separated string of users you want the playlist synced to in addition to yourself. To Sync a playlist to only yourself leave `sync_to_user` blank.
```yaml
plalists:
Marvel Cinematic Universe:
sync_mode: sync
libraries: Movies, TV Shows
sync_to_user: all
trakt_list: https://trakt.tv/users/donxy/lists/marvel-cinematic-universe?sort=rank,asc
summary: Marvel Cinematic Universe In Chronological Order
```

@ -31,7 +31,7 @@ settings:
ignore_imdb_ids:
```
| Name | Attribute | Allowed Values | Global Level | Library Level | Collection Level |
| Name | Attribute | Allowed Values | Global Level | Library Level | Collection/Playlist Level |
| :--- | :--- | :--- | :---: | :---: | :---: |
| [Cache](#cache) | `cache` | **boolean:** true or false<br>**default: true** | :heavy_check_mark: | :x: | :x: |
| [Cache Expiration](#cache) | `cache_expiration` | **integer**<br>**default: 60** | :heavy_check_mark: | :x: | :x: |
@ -55,7 +55,8 @@ settings:
| [Save Missing](#save-missing) | `save_missing` | **boolean:** true or false<br>**default: true** | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| [TVDb Language](#tvdb-language) | `tvdb_language` | [ISO 639-2 Language Code](https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes) or Blank for original Language<br>**default:** | :heavy_check_mark: | :x: | :x: |
| [Ignore IDs](#ignore-ids) | `ignore_ids` | List or comma-separated String of TMDb/TVDb IDs | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| [Ignore IMDb IDs](#ignore-imdb-ids) | `ignore_imdb_ids` | List or comma-separated String of IMDb IDs | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| [Ignore IMDb IDs](#ignore-imdb-ids) | `ignore_imdb_ids` | List or comma-separated String of IMDb IDs | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| [Playlist Sync to User](#playlist-sync-to-user) | `playlist_sync_to_user` | `all` or List or comma-separated String of Users to sync the playlist to.<br>**default: `all`** | :heavy_check_mark: | :x: | :heavy_check_mark: |
## Cache
Will use a cached database for faster processing. The cache file is created in the same location as your config file.
@ -124,4 +125,7 @@ If no language is specified or the specified language is not found then the orig
List or comma-separated String of TMDb/TVDb IDs to ignore in all collections
## Ignore IMDb IDs
List or comma-separated String of IMDb IDs to ignore in all collections
List or comma-separated String of IMDb IDs to ignore in all collections
## Playlist Sync to User
`all` or List or comma-separated String of Users to sync the playlist to. Defaults to `all`.

Loading…
Cancel
Save