From 2d597021b817e2b8d39f71761162e4dfe8a510de Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Tue, 3 Jan 2023 17:07:05 -0500 Subject: [PATCH] bump to 1.18.2 --- .github/workflows/version.yml | 6 +++--- CHANGELOG | 5 ++++- LICENSE | 2 +- VERSION | 2 +- docs/home/environmental.md | 18 +++++++++++------- docs/home/guides/unraid.md | 24 ++++++++---------------- modules/builder.py | 2 +- 7 files changed, 29 insertions(+), 30 deletions(-) diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index 2c2f775b..775608f2 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -34,7 +34,7 @@ jobs: - name: Get the version id: get_version - run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} + run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT - name: Build and push id: docker_build @@ -88,12 +88,12 @@ jobs: - name: Get Changelog id: notes - run: echo ::set-output name=notes::$(cat CHANGELOG -Raw) + run: echo "NOTES=$(cat CHANGELOG -Raw)" >> $GITHUB_OUTPUT - name: Create release id: create_release uses: softprops/action-gh-release@v1 with: - body: ${{ steps.notes.outputs.notes }} + body: ${{ steps.notes.outputs.NOTES }} token: ${{ secrets.PAT }} tag_name: ${{ steps.get_version.outputs.VERSION }} \ No newline at end of file diff --git a/CHANGELOG b/CHANGELOG index 4787a476..cf959bba 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,6 @@ # Requirements Update (requirements will need to be reinstalled) +Updated arrapi requirement to 1.4.2 +Updated pillow requirement to 9.4.0 # New Features Added new collection_order `custom.desc` ([FR](https://features.metamanager.wiki/features/p/reverse-sort-collectionorder-custom)) @@ -8,4 +10,5 @@ Added Delete Webhooks # Bug Fixes Fixed Italian Defaults Translation -Fixed TMDb Modified Filters \ No newline at end of file +Fixed TMDb Modified Filters +Fixed ValueError from Anime IDs \ No newline at end of file diff --git a/LICENSE b/LICENSE index f7d1e592..4524b875 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 meisnate12 +Copyright (c) 2023 meisnate12 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/VERSION b/VERSION index 5938b44f..b57fc722 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.18.1-develop10 +1.18.2 diff --git a/docs/home/environmental.md b/docs/home/environmental.md index 21dabaf7..8250a2ee 100644 --- a/docs/home/environmental.md +++ b/docs/home/environmental.md @@ -10,7 +10,7 @@ These docs are assuming you have a basic understanding of Docker concepts. One |:------------------------------------------------------|:----------------------------------------------|:-------------------------| | [Config](#config) | `-c` or `--config` | `PMM_CONFIG` | | [Time to Run](#time-to-run) | `-t` or `--time` | `PMM_TIME` | -| [Run](#run) | `-r` or `--run` | `PMM_RUN` | +| [Run Immediately](#run-immediately) | `-r` or `--run` | `PMM_RUN` | | [Run Tests](#run-tests) | `-rt`, `--tests`, or `--run-tests` | `PMM_TEST` | | [Debug](#debug) | `-db` or `--debug` | `PMM_DEBUG` | | [Trace](#trace) | `-tr` or `--trace` | `PMM_TRACE` | @@ -126,7 +126,7 @@ docker run -it -v "X:\Media\Plex Meta Manager\config:/config:rw" meisnate12/plex ``` ```` -### Run +### Run Immediately Perform a run immediately, bypassing the time to run flag. @@ -213,7 +213,7 @@ Run with Debug Logs Reporting to the Command Window. Example --debug - PMM_TIMEOUT=true + PMM_DEBUG=true @@ -241,7 +241,7 @@ Run with extra Trace Debug Logs. Flags -tr or --trace - PMM_TIMEOUT + PMM_TRACE Example @@ -263,7 +263,7 @@ docker run -it -v "X:\Media\Plex Meta Manager\config:/config:rw" meisnate12/plex ### Timeout -Change the main Plex Meta Manager timeout. This timeout is overwritten byt those in your config file for those services. +Change the main Plex Meta Manager timeout. This timeout is overwritten by those in your config file for those services. @@ -281,6 +281,10 @@ Change the main Plex Meta Manager timeout. This timeout is overwritten byt those + + + +
--timeout 360 PMM_TIMEOUT=360
ValuesInteger Number of Seconds
````{tab} Local Environment @@ -361,7 +365,7 @@ docker run -it -v "X:\Media\Plex Meta Manager\config:/config:rw" meisnate12/plex ``` ```` -### Operation Only +### Operations Only Only run library operations skipping collections/metadata, playlists, and overlays. @@ -394,7 +398,7 @@ docker run -it -v "X:\Media\Plex Meta Manager\config:/config:rw" meisnate12/plex ``` ```` -### Overlay Only +### Overlays Only Only run library overlays skipping collections/metadata, playlists, and operations. diff --git a/docs/home/guides/unraid.md b/docs/home/guides/unraid.md index 834d342c..30b4513e 100644 --- a/docs/home/guides/unraid.md +++ b/docs/home/guides/unraid.md @@ -5,29 +5,21 @@ To install a container from docker hub, you will need community applications - a ## Basic Installation -1. Head to the `Apps` tab of unRAID (Community Applications), and search `plex-meta-manager` in the upper right search box. There will be a couple of results shown, but you should ignore them ([Why?](images)) and use the official image, which is on DockerHub. Click `Click Here To Get More Results From DockerHub`. +1. Head to the `Apps` tab of unRAID (Community Applications), and search `plex meta manager` in the upper right search box. There will be a couple of results shown, but you should ignore them ([Why?](images)) and use the official image. -2. Click the download icon on the `plex meta manager` container by `meisnate12`. +2. Click the `Install` button on the Template from Sohjiro's Repository Tools. -3. Create your [Docker values](../../home/environmental) using `Add another Path, Port, Variable, Label or Device`. Example config: +3. Choose which branch you want to run `latest`, `develop`, or `nightly`. -| Config Type | Name | Key | Description | Value | Container Path | Host Path | Access Mode | -|:------------|:--------------------|:--------------|:----------------------------------------------------|:-------|:---------------|:--------------------------------------|:------------| -| Variable | Time to Run | `PMM_TIME` | Time to update each day. Format: HH:MM | `6:00` | N/A | N/A | N/A | -| Variable | Divider Character | `PMM_DIVIDER` | The character that divides the sections | `=` | N/A | N/A | N/A | -| Variable | Screen Width | `PMM_WIDTH` | An integer between 90 and 300 | `100` | N/A | N/A | N/A | -| Path | Config Storage Path | N/A | Translation from docker container path to host path | N/A | `/config` | `/mnt/user/appdata/plex-meta-manager` | Read/Write | +4. Click `Show more settings...` to set any [Environmental Variables](../../home/environmental) you wish to use. **None are required for PMM to work.** - * Full list of docker values can be found on the [Run Commands & Environmental Variables Page](../../home/environmental). - * If you wish to enable one-time [Run]([Run Commands & Environmental Variables Page](../environmental.md#run)), add `-r` to `Post Arguments` by enabling Advanced View in the top right of unRAID. - * The Image below shows the above values in the unRAID WebUI. - ![unRAID WebUI](unraid-webui.png) + * For example if you wish to have the container perform a run immediately and then shut down set `Run Immediately (--run)` to `true`. -4. Hit `Apply`, and allow unRAID to download the docker container. +5. Hit `Apply`, and allow unRAID to download the docker container. -5. Navigate to the `Docker` tab in unRAID, and stop the `plex-meta-manager` container if it has auto-started. +6. Navigate to the `Docker` tab in unRAID, and stop the `plex-meta-manager` container if it has auto-started. -6. Create `config.yml` and `library.yml` files as-per the [documentation](../../config/configuration) in the Host Path you set (/mnt/user/appdata/plex-meta-manager in the example) +6. Create `config.yml` and `library.yml` files as-per the [documentation](../../config/configuration) in the Host Path you set (/mnt/user/appdata/plex-meta-manager by default) 7. Once finished, run the container. Voila! Logs are located in `yourhostpath/logs`. diff --git a/modules/builder.py b/modules/builder.py index db48a600..8e94f651 100644 --- a/modules/builder.py +++ b/modules/builder.py @@ -1231,7 +1231,7 @@ class CollectionBuilder: raise Failed(f"{self.Type} Error: chart: {value} does not work with show libraries") elif value in imdb.show_charts and self.library.is_movie: raise Failed(f"{self.Type} Error: chart: {value} does not work with movie libraries") - elif value in imdb.charts: + elif value in imdb.movie_charts or value in imdb.show_charts: self.builders.append((method_name, value)) else: raise Failed(f"{self.Type} Error: chart: {value} is invalid options are {[i for i in imdb.charts]}")