diff --git a/VERSION b/VERSION index 31317335..da0cc57d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.19.0-develop41 +1.19.0-develop42 diff --git a/defaults/chart/tautulli.yml b/defaults/chart/tautulli.yml index 8de9e9e8..41798fb4 100644 --- a/defaults/chart/tautulli.yml +++ b/defaults/chart/tautulli.yml @@ -21,7 +21,6 @@ templates: tautulli_<>: list_days: <>>> list_size: <>>> - list_buffer: 20 collections: Plex Popular: diff --git a/docs/metadata/builders/tautulli.md b/docs/metadata/builders/tautulli.md index c5526309..81e2c37f 100644 --- a/docs/metadata/builders/tautulli.md +++ b/docs/metadata/builders/tautulli.md @@ -15,18 +15,11 @@ It has watch analytics that can show the most watched or most popular Movies/Sho Both Tautulli Popular and Tautulli Watched have the same sub-attributes detailed below. -| Attribute | Description | Required | Default | -|:---------------|:-------------------------------------------------------------------------------------|:--------:|:-------:| -| `list_days` | Number of Days to look back of the list | ❌ | 30 | -| `list_minimum` | Minimum Number of Users Watching/Plays to add to the list | ❌ | 30 | -| `list_size` | Number of Movies/Shows to add to this list | ❌ | 10 | -| `list_buffer` | Number of extra Movies/Shows to grab in case you have multiple show/movie Libraries. | ❌ | 10 | - -If you have multiple movie Libraries or multiple show Libraries Tautulli combines those in the popular/watched lists so there might not be 10 movies/shows from the library to make your `list_size`. - -In order to get around that, you can use the `list_buffer` attribute that defaults to 10. This will get that number more movies from Tautulli but only add to the collection until the size reaches the number in `list_size`. - -So if your collection doesn't have as many movies/shows as your `list_size` attribute increase the number in the `list_buffer` attribute. +| Attribute | Description | Required | Default | +|:---------------|:-----------------------------------------------------------|:--------:|:-------:| +| `list_days` | Number of Days to look back of the list. | ❌ | `30` | +| `list_minimum` | Minimum Number of Users Watching/Plays to add to the list. | ❌ | `0` | +| `list_size` | Number of Movies/Shows to add to this list. | ❌ | `10` | The `sync_mode: sync` and `collection_order: custom` Details are recommended since the lists are continuously updated and in a specific order. @@ -47,7 +40,6 @@ collections: tautulli_watched: list_days: 30 list_size: 10 - list_buffer: 20 ``` ```yaml collections: @@ -55,11 +47,9 @@ collections: tautulli_popular: list_days: 30 list_size: 20 - list_buffer: 20 tautulli_watched: list_days: 30 list_size: 20 - list_buffer: 20 sync_mode: sync summary: Movies Popular on Plex collection_order: alpha @@ -71,7 +61,6 @@ playlists: tautulli_popular: list_days: 30 list_size: 20 - list_buffer: 20 sync_mode: sync summary: Movies Popular on Plex ``` diff --git a/docs/metadata/metadata/movie.md b/docs/metadata/metadata/movie.md index 6020f9d3..008c46b0 100644 --- a/docs/metadata/metadata/movie.md +++ b/docs/metadata/metadata/movie.md @@ -3,6 +3,7 @@ You can have the script edit the metadata of Movies by adding them to the `metadata` mapping of a Metadata File. An example of multiple metadata edits in a movie library is below: + ```yaml metadata: Godzilla (1954): @@ -210,7 +211,7 @@ The available attributes for editing movies are as follows |:-----------------------|:---------------------------------------------------------------| | `title` | Text to change Title. | | `sort_title` | Text to change Sort Title. | -| `edition` | Text to change Edition. | +| `edition`1 | Text to change Edition. | | `original_title` | Text to change Original Title. | | `originally_available` | Date to change Originally Available.
**Format:** YYYY-MM-DD | | `content_rating` | Text to change Content Rating. | @@ -221,6 +222,8 @@ The available attributes for editing movies are as follows | `tagline` | Text to change Tagline. | | `summary` | Text to change Summary. | +1. Requires Plex Pass + ### Tag Attributes You can add `.remove` to any tag attribute to only remove those tags i.e. `genre.remove`. diff --git a/docs/metadata/metadata/music.md b/docs/metadata/metadata/music.md index dc382356..8f02e905 100644 --- a/docs/metadata/metadata/music.md +++ b/docs/metadata/metadata/music.md @@ -49,13 +49,13 @@ The below example shows how `title` can be used to match artists. ```yaml metadata: - artist1: # Matches via the title "Game of Thrones" + artist1: # Matches via the title "Ke$ha" match: - title: Game of Thrones + title: Ke$ha edits... - artist2: # Matches via the title "24" + artist2: # Matches via the title "311" match: - title: 24 + title: 311 edits... ``` @@ -63,14 +63,12 @@ The Mapping Name can also be used to reduce line-count, as shown here: ```yaml metadata: - Ke$ha: # Matches via the Name "Game of Thrones" + Ke$ha: # Matches via the Name "Ke$ha" edits... "311": # Matches via the Name "311" edits... ``` -**Note:** to search for an artist titled with a number from the mapping name you must surround the number in quotes like in the example below. Otherwise, it will look for the artist associated with that TVDb ID. - ## Metadata Edits The available attributes for editing artists, albums, and tracks are as follows diff --git a/modules/meta.py b/modules/meta.py index a9210923..b31eed7e 100644 --- a/modules/meta.py +++ b/modules/meta.py @@ -1512,7 +1512,7 @@ class MetadataFile(DataFile): titles.extend(util.parse(self.type_str, "title", value, datatype="strlist")) if not titles: - titles.append(mapping_name) + titles.append(str(mapping_name)) if "alt_title" in methods: logger.debug("")