mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2025-02-16 22:08:25 +00:00
[91] fix metadata docs
This commit is contained in:
parent
318dbdfc7c
commit
bbe13d7c5b
3 changed files with 15 additions and 11 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
1.18.3-develop90
|
1.18.3-develop91
|
||||||
|
|
|
@ -104,15 +104,18 @@ The available attributes for editing movies are as follows
|
||||||
### Special Attributes
|
### Special Attributes
|
||||||
|
|
||||||
| Attribute | Allowed Values |
|
| Attribute | Allowed Values |
|
||||||
|:-------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:-------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `title` | Title if different from the mapping value useful when you have multiple movies with the same name. See the [Metadata Page](../metadata.md#metadata-attributes) for how searching for files works. |
|
| `title` | Title if different from the mapping value useful when you have multiple movies with the same name. See the [Metadata Page](../metadata.md#metadata-attributes) for how searching for files works. |
|
||||||
| `alt_title` | Alternative title to look for and then change to the mapping name. See the [Metadata Page](../metadata.md#metadata-attributes) for how searching for files works. |
|
| `alt_title` | Alternative title to look for and then change to the mapping name. See the [Metadata Page](../metadata.md#metadata-attributes) for how searching for files works. |
|
||||||
| `year` | Year of movie for better identification. See the [Metadata Page](../metadata.md#metadata-attributes) for how searching for files works. |
|
| `year` | Year of movie for better identification. See the [Metadata Page](../metadata.md#metadata-attributes) for how searching for files works. |
|
||||||
| `edition_filter` | Edition of movie for better identification. Can be a list (only one needs to match). See the [Metadata Page](../metadata.md#metadata-attributes) for how searching for files works. |
|
| `blank_edition`<sup>1</sup> | Movie has no Edition. See the [Metadata Page](../metadata.md#metadata-attributes) for how searching for files works. |
|
||||||
| `edition_contains` | Edition of movie must contain the given string for better identification. Can be a list (only one needs to match). See the [Metadata Page](../metadata.md#metadata-attributes) for how searching for files works. |
|
| `edition_filter`<sup>1</sup> | Edition of movie for better identification. Can be a list (only one needs to match). See the [Metadata Page](../metadata.md#metadata-attributes) for how searching for files works. |
|
||||||
|
| `edition_contains`<sup>1</sup> | Edition of movie must contain the given string for better identification. Can be a list (only one needs to match). See the [Metadata Page](../metadata.md#metadata-attributes) for how searching for files works. |
|
||||||
| `tmdb_show` | TMDb Show ID to use for metadata useful for miniseries that have been compiled into a movie. **This is not used to say this show is the given ID.** |
|
| `tmdb_show` | TMDb Show ID to use for metadata useful for miniseries that have been compiled into a movie. **This is not used to say this show is the given ID.** |
|
||||||
| `tmdb_movie` | TMDb Movie ID to use for metadata useful for movies that have been split into segments **This is not used to say this show is the given ID.** |
|
| `tmdb_movie` | TMDb Movie ID to use for metadata useful for movies that have been split into segments **This is not used to say this show is the given ID.** |
|
||||||
|
|
||||||
|
1. If the server does not have a Plex Pass then the Edition Field is not accessible. In this case PMM will check the movies filepath for `{edition-MOVIES EDITION}` to determine what the edition is.
|
||||||
|
|
||||||
### General Attributes
|
### General Attributes
|
||||||
|
|
||||||
| Attribute | Allowed Values |
|
| Attribute | Allowed Values |
|
||||||
|
|
|
@ -1244,12 +1244,13 @@ class MetadataFile(DataFile):
|
||||||
new_item = []
|
new_item = []
|
||||||
logger.trace("")
|
logger.trace("")
|
||||||
logger.trace("Edition Filtering: ")
|
logger.trace("Edition Filtering: ")
|
||||||
|
if not self.library.plex_pass:
|
||||||
|
logger.warning("Plex Warning: Plex Pass is required to use the Edition Field scanning filenames instead")
|
||||||
for i in item:
|
for i in item:
|
||||||
self.library.reload(i)
|
self.library.reload(i)
|
||||||
if self.library.plex_pass:
|
if self.library.plex_pass:
|
||||||
check = i.editionTitle if i.editionTitle else ""
|
check = i.editionTitle if i.editionTitle else ""
|
||||||
else:
|
else:
|
||||||
logger.warning("Plex Warning: Plex Pass is required to use the Edition Field scanning filenames instead")
|
|
||||||
values = [loc for loc in i.locations if loc]
|
values = [loc for loc in i.locations if loc]
|
||||||
if not values:
|
if not values:
|
||||||
raise Failed(f"Plex Error: No Filepaths found for {i.title}")
|
raise Failed(f"Plex Error: No Filepaths found for {i.title}")
|
||||||
|
|
Loading…
Add table
Reference in a new issue