[44] asset update

pull/935/head
meisnate12 3 years ago
parent c95ec69d86
commit e41e3e7280

@ -1 +1 @@
1.17.0-develop43 1.17.0-develop44

@ -45,7 +45,8 @@ extensions = [
'sphinx.ext.todo', 'sphinx.ext.todo',
'myst_parser', 'myst_parser',
'sphinx_inline_tabs', 'sphinx_inline_tabs',
'sphinx_copybutton' 'sphinx_copybutton',
'sphinx_reredirects'
] ]
source_suffix = ['.rst', '.md'] source_suffix = ['.rst', '.md']
@ -94,6 +95,12 @@ html_favicon = "_static/favicon.png"
html_copy_source = False html_copy_source = False
html_show_sourcelink = False html_show_sourcelink = False
# Redirect URLs
# "<source>": "<target>"
redirects = {
"redact": "https://regex101.com/r/DMo1DQ/latest"
}
# Theme options are theme-specific and customize the look and feel of a # Theme options are theme-specific and customize the look and feel of a
# theme further. # theme further.
@ -142,6 +149,7 @@ html_theme_options = {
]), ]),
("_menu", "Config", [ ("_menu", "Config", [
("Configuration File", "config/configuration"), ("Configuration File", "config/configuration"),
("Redacting Your Config", "redact"),
("_divider", ), ("_divider", ),
("Libraries/Playlists", "config/libraries"), ("Libraries/Playlists", "config/libraries"),
("Path Types", "config/paths"), ("Path Types", "config/paths"),

@ -30,18 +30,21 @@ String filters can take multiple values **only as a list**.
### Attribute ### Attribute
| String Filter | Description | Movies | Shows | Seasons | Episodes | Artists | Albums | Track | | String Filter | Description | Movies | Shows | Seasons | Episodes | Artists | Albums | Track |
|:--------------------|:-----------------------------------------|:--------:|:-------------------:|:-------------------:|:--------:|:-------------------:|:-------------------:|:--------:| |:-------------------------|:-----------------------------------------|:--------:|:-------------------:|:-------------------:|:--------:|:-------------------:|:-------------------:|:--------:|
| `title` | Uses the title attribute to match | &#9989; | &#9989; | &#9989; | &#9989; | &#9989; | &#9989; | &#9989; | | `title` | Uses the title attribute to match | &#9989; | &#9989; | &#9989; | &#9989; | &#9989; | &#9989; | &#9989; |
| `summary` | Uses the summary attribute to match | &#9989; | &#9989; | &#9989; | &#9989; | &#9989; | &#9989; | &#9989; | | `tmdb_title`<sup>2</sup> | Uses the title from TMDb to match | &#9989; | &#9989; | &#10060; | &#10060; | &#10060; | &#10060; | &#10060; |
| `studio` | Uses the studio attribute to match | &#9989; | &#9989; | &#10060; | &#10060; | &#10060; | &#10060; | &#10060; | | `summary` | Uses the summary attribute to match | &#9989; | &#9989; | &#9989; | &#9989; | &#9989; | &#9989; | &#9989; |
| `record_label` | Uses the record label attribute to match | &#10060; | &#10060; | &#10060; | &#10060; | &#10060; | &#9989; | &#10060; | | `studio` | Uses the studio attribute to match | &#9989; | &#9989; | &#10060; | &#10060; | &#10060; | &#10060; | &#10060; |
| `folder` | Uses the item's folder to match | &#10060; | &#9989; | &#10060; | &#10060; | &#9989; | &#10060; | &#10060; | | `record_label` | Uses the record label attribute to match | &#10060; | &#10060; | &#10060; | &#10060; | &#10060; | &#9989; | &#10060; |
| `filepath` | Uses the item's filepath to match | &#9989; | &#9989;<sup>1</sup> | &#9989;<sup>1</sup> | &#9989; | &#9989;<sup>1</sup> | &#9989;<sup>1</sup> | &#9989; | | `folder` | Uses the item's folder to match | &#10060; | &#9989; | &#10060; | &#10060; | &#9989; | &#10060; | &#10060; |
| `audio_track_title` | Uses the audio track titles to match | &#9989; | &#9989;<sup>1</sup> | &#9989;<sup>1</sup> | &#9989; | &#9989;<sup>1</sup> | &#9989;<sup>1</sup> | &#9989; | | `filepath` | Uses the item's filepath to match | &#9989; | &#9989;<sup>1</sup> | &#9989;<sup>1</sup> | &#9989; | &#9989;<sup>1</sup> | &#9989;<sup>1</sup> | &#9989; |
| `audio_track_title` | Uses the audio track titles to match | &#9989; | &#9989;<sup>1</sup> | &#9989;<sup>1</sup> | &#9989; | &#9989;<sup>1</sup> | &#9989;<sup>1</sup> | &#9989; |
<sup>1</sup> Filters using the special `episodes`/`tracks` [filter](#special-filters) with the [default percent](details/setting). <sup>1</sup> Filters using the special `episodes`/`tracks` [filter](#special-filters) with the [default percent](details/setting).
<sup>2</sup> Also filters out missing movies/shows from being added to Radarr/Sonarr. These Values also cannot use the `count` modifiers.
## Tag Filters ## Tag Filters
Tag filters can be used with either no modifier or with `.not`. Tag filters can be used with either no modifier or with `.not`.

@ -1,4 +1,5 @@
myst-parser myst-parser
sphinx_bootstrap_theme sphinx_bootstrap_theme
sphinx_inline_tabs sphinx_inline_tabs
sphinx-copybutton sphinx-copybutton
sphinx-reredirects

@ -948,12 +948,12 @@ class Plex(Library):
self.upload_images(item, poster=poster, background=background) self.upload_images(item, poster=poster, background=background)
elif self.show_missing_assets and self.asset_folders: elif self.show_missing_assets and self.asset_folders:
logger.warning(f"Asset Warning: No poster or background found in the assets folder '{item_dir}'") logger.warning(f"Asset Warning: No poster or background found in the assets folder '{item_dir}'")
else: elif self.show_missing_assets:
logger.warning(f"Asset Warning: {name} has an Overlay and will be updated when overlays are run") logger.warning(f"Asset Warning: {name} has an Overlay and will be updated when overlays are run")
except Failed as e: except Failed as e:
if self.show_missing_assets: if self.show_missing_assets:
logger.warning(e) logger.warning(e)
if isinstance(item, Show): if isinstance(item, Show) and ((self.asset_folders and item_dir) or not self.asset_folders):
missing_seasons = "" missing_seasons = ""
missing_episodes = "" missing_episodes = ""
found_season = False found_season = False

Loading…
Cancel
Save