Skip to content

Commit

Permalink
roll back multiple libraries and allow multiple asset directories
Browse files Browse the repository at this point in the history
  • Loading branch information
meisnate12 committed Dec 13, 2024
1 parent 612f47c commit 8d9363f
Show file tree
Hide file tree
Showing 2 changed files with 168 additions and 172 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@ Each option can be applied in three ways:
|:------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------:|
| Plex URl | Plex URL of the Server you want to connect to.<br>**Shell Command:** `-u` or `--url "http://192.168.1.12:32400"`<br>**Environment Variable:** `PLEX_URL=http://192.168.1.12:32400` | &#9989; |
| Plex Token | Plex Token of the Server you want to connect to.<br>**Shell Command:** `-t` or `--token 123456789`<br>**Environment Variable:** `PLEX_TOKEN=123456789` | &#9989; |
| Plex Library | Plex Library Name you want to reset. Can use a bar-separated (<code>&#124;</code>) list.<br>**Shell Command:** `-l` or <code>--library Movies&#124;TV Shows</code><br>**Environment Variable:** <code>PLEX_LIBRARY=Movies&#124;TV Shows</code> | &#9989; |
| Plex Library | Plex Library Name you want to reset.<br>**Shell Command:** `-l` or `--library Movies`<br>**Environment Variable:** `PLEX_LIBRARY=Movies` | &#9989; |
| Kometa Asset Folder | Kometa Asset Folder to Scan for restoring posters.<br>**Shell Command:** `-a` or `--asset "C:\Kometa\config\assets"`<br>**Environment Variable:** `KOMETA_ASSET=C:\Kometa\config\assets` | &#10060; |
| Kometa Original Folder | Kometa Original Folder to Scan for restoring posters.<br>**Shell Command:** `-o` or `--original "C:\Kometa\config\overlays\Movies Original Posters"`<br>**Environment Variable:** `KOMETA_ORIGINAL=C:\Kometa\config\overlays\Movies Original Posters` | &#10060; |
| TMDb V3 API Key | TMDb V3 API Key for restoring posters from TMDb.<br>**Shell Command:** `-ta` or `--tmdbapi 123456789123456789`<br>**Environment Variable:** `TMDBAPI=123456789123456789` | &#10060; |
| Start From | Plex Item Title to Start restoring posters from.<br>**Shell Command:** `-st` or `--start "Mad Max"`<br>**Environment Variable:** `START=Mad Max` | &#10060; |
| Items | Restore specific Plex Items by Title. Can use a bar-separated (<code>&#124;</code>) list.<br>**Shell Command:** `-it` or <code>--items "Mad Max&#124;Mad Max 2"</code><br>**Environment Variable:** <code>ITEMS=Mad Max&#124;Mad Max 2</code> | &#10060; |
| Labels | Additional labels to remove. Can use a bar-separated (<code>&#124;</code>) list.<br>**Shell Command:** `-lb` or <code>--labels "TCM&#124;Other Label"</code><br>**Environment Variable:** <code>LABELS=TCM&#124;Other Label</code> | &#10060; |
| Items | Restore specific Plex Items by Title. Can use a pipe-separated (<code>&#124;</code>) list.<br>**Shell Command:** `-it` or <code>--items "Mad Max&#124;Mad Max 2"</code><br>**Environment Variable:** <code>ITEMS=Mad Max&#124;Mad Max 2</code> | &#10060; |
| Labels | Additional labels to remove. Can use a pipe-separated (<code>&#124;</code>) list.<br>**Shell Command:** `-lb` or <code>--labels "TCM&#124;Other Label"</code><br>**Environment Variable:** <code>LABELS=TCM&#124;Other Label</code> | &#10060; |
| Timeout | Timeout can be any number greater then 0. **Default:** `600`<br>**Shell Command:** `-ti` or `--timeout 1000`<br>**Environment Variable:** `TIMEOUT=1000` | &#10060; |
| Dry Run | Run as a Dry Run without making changes in Plex.<br>**Shell Command:** `-d` or `--dry`<br>**Environment Variable:** `DRY_RUN=True` | &#10060; |
| Flat Assets | Kometa Asset Folder uses [Flat Assets Image Paths](https://kometa.wiki/en/latest/home/guides/assets.html#asset-naming).<br>**Shell Command:** `-f` or `--flat`<br>**Environment Variable:** `KOMETA_FLAT=True` | &#10060; |
Expand All @@ -140,7 +140,7 @@ Each option can be applied in three ways:
```
PLEX_URL=http://192.168.1.12:32400
PLEX_TOKEN=123456789
PLEX_LIBRARY=Movies|TV Shows
PLEX_LIBRARY=Movies
KOMETA_ASSET=C:\Kometa\config\assets
KOMETA_ORIGINAL=C:\Kometa\config\overlays\Movies Original Posters
TMDBAPI=123456789123456789
Expand Down
Loading

0 comments on commit 8d9363f

Please sign in to comment.