mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-22 12:33:10 +00:00
Merge remote-tracking branch 'meisnate12/nightly' into nightly
This commit is contained in:
commit
a36c7cecda
6 changed files with 29 additions and 6 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.19.1-develop5
|
||||
1.19.1-develop7
|
||||
|
|
|
@ -59,6 +59,11 @@ templates:
|
|||
- dynamic: true
|
||||
key.not: other
|
||||
value: <<summary_format>>
|
||||
url_poster_<<key>>:
|
||||
conditions:
|
||||
- file_poster_<<key>>.exists: false
|
||||
file_poster.exists: false
|
||||
value: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/<<image>>.jpg
|
||||
default:
|
||||
collection_section: "00"
|
||||
key: <<mapping_name>>
|
||||
|
@ -96,6 +101,7 @@ templates:
|
|||
- name_format
|
||||
- key_name
|
||||
- translation_key
|
||||
- url_poster
|
||||
- file_poster
|
||||
- url_background
|
||||
- file_background
|
||||
|
|
|
@ -98,7 +98,7 @@ The available styles available are:
|
|||
| Amethyst | `amethyst` |
|
||||
| Aqua | `aqua` |
|
||||
| Blue | `blue` |
|
||||
| Forest | `green` |
|
||||
| Forest | `forest` |
|
||||
| Fuchsia | `fuchsia` |
|
||||
| Gold | `gold` |
|
||||
| Gray | `gray` |
|
||||
|
|
|
@ -165,6 +165,23 @@ IMPORTANT: If you are running this in Docker, remember that these settings are b
|
|||
|
||||
The only required Option is the `Plex Path` Option which is the Plex Config Folder containing the servers Metadata including `Cache`, `Metadata`, and `Plug-in Support`.
|
||||
|
||||
IMPORTANT: This path has to be valid in the context where the script is running. If you are running it on the host, it will be a direct path like `/opt/plex/Library/Application\ Support/Plex\ Media\ Server` or `X:\Plex Media Server`. If you are running the script in docker, the script cannot see anything on the host, so you will have to map that path into the the container and then enter the mapped path into the env file.
|
||||
|
||||
For instance, in the example above:
|
||||
```
|
||||
docker run -v "X:\Media\Plex Image Cleanup\config:/config:rw" -v "X:\Plex Media Server:/plex:rw" meisnate12/plex-image-cleanup
|
||||
```
|
||||
The `.env` would contain:
|
||||
```
|
||||
PLEX_PATH=/plex # pointing to mapped path *inside the container*
|
||||
```
|
||||
NOT
|
||||
```
|
||||
PLEX_PATH=X:\Plex Media Server # wrong because the script cannot see *outside the container*
|
||||
```
|
||||
|
||||
This is not specific to Plex Image Cleanup; it's standard Docker behavior.
|
||||
|
||||
To set the `Plex Path` for the run:
|
||||
* **Environment Variable:** `PLEX_PATH=C:\Plex Media Server`
|
||||
* **Shell Command:** `-p "C:\Plex Media Server"` or `--plex "C:\Plex Media Server"`
|
||||
|
|
|
@ -1121,7 +1121,7 @@ class CollectionBuilder:
|
|||
if self.obj and check_url != self.library.smart_filter(self.obj):
|
||||
self.library.update_smart_collection(self.obj, check_url)
|
||||
logger.info(f"Detail: Smart Collection updated to {check_url}")
|
||||
self.beginning_count = len(self.library.fetchItems(check_url))
|
||||
self.beginning_count = len(self.library.fetchItems(check_url))
|
||||
if self.obj:
|
||||
self.exists = True
|
||||
if self.sync or self.playlist:
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
arrapi==1.4.3
|
||||
GitPython==3.1.36
|
||||
GitPython==3.1.37
|
||||
lxml==4.9.3
|
||||
num2words==0.5.12
|
||||
pathvalidate==3.2.0
|
||||
pillow==10.0.1
|
||||
PlexAPI==4.15.3
|
||||
PlexAPI==4.15.4
|
||||
psutil==5.9.5
|
||||
python-dotenv==1.0.0
|
||||
requests==2.31.0
|
||||
retrying==1.3.4
|
||||
ruamel.yaml==0.17.33
|
||||
ruamel.yaml==0.17.35
|
||||
schedule==1.2.1
|
||||
tmdbapis==1.2.0
|
Loading…
Reference in a new issue