Skip to content

Commit 588876f

Browse files
authored
Merge pull request #51 from bullmoose20/patch-4
Update walkthrough.md
2 parents 77fa9dd + 6466fd6 commit 588876f

File tree

1 file changed

+37
-31
lines changed

1 file changed

+37
-31
lines changed

walkthrough.md

+37-31
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
## Getting Started
22

3-
1. Make sure to obtain all those api keys, you need them later for the `config.json`.
3+
1. Make sure to obtain all the api keys and tokens as you will need them later on for the `config.json`.
44
- **TMDB API Read Access Token:** [Obtain TMDB API Token](https://www.themoviedb.org/settings/api)
5+
- **NOTE** the **TMDB API Read Access Token** is the really, really long one
56
- **Fanart Personal API Key:** [Obtain Fanart API Key](https://fanart.tv/get-an-api-key)
67
- **TVDB API Key:** [Obtain TVDB API Key](https://thetvdb.com/api-information/signup)
78
- **Do not** use `"Legacy API Key"`, it only works with a Project Api Key.
89
- **Plex Token:** [Optain Plex Token](https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/)
910

10-
1. For Docker please contuine here: [Docker](#docker)
11+
1. For Docker please continue here: [Docker](#docker)
1112

1213
1. Please install Powershell
1314
- [Linux](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-linux?view=powershell-7.4)
@@ -30,11 +31,12 @@
3031
- Clone the Repo:
3132
```bash
3233
git clone https://github.com/fscorrupt/Plex-Poster-Maker.git
34+
```
3335
- After that you can switch into the cloned Repo/Folder
3436
```bash
3537
cd Plex-Poster-Maker
3638
```
37-
- You should see somthing like this:
39+
- You should see something like this:
3840
```
3941
.
4042
├── backgroundoverlay.png
@@ -62,17 +64,17 @@
6264
├── README.md
6365
├── Release.txt
6466
└── Rocky.ttf
65-
1. Copy the `config.example.json` and create a `config.json`
66-
- Enter all the api keys from **step 1** under the `ApiPart` [Detailed Config Description](https://github.com/fscorrupt/Plex-Poster-Maker?tab=readme-ov-file#configuration)
67+
1. Copy the `config.example.json` to `config.json` and adjust the settings.
68+
- Enter all the api keys and tokens from **Getting Started - Step 1** under the `ApiPart` [Detailed Config Description](https://github.com/fscorrupt/Plex-Poster-Maker?tab=readme-ov-file#configuration)
6769
- tvdbapi
6870
- tmdbtoken
6971
- FanartTvAPIKey
7072
- PlexToken
71-
- There is only one setting you have to adjust if you are happy with the defaults, this is the path to asset dir.
72-
- On Linux type it like this: `/PathToAsset/Dir`
73-
- On Windows like this: `C:\\PathToAsset\\Dir`
73+
- If you are happy with the default values, you should still ensure that the AssetPath value is set properly.
74+
- On Linux, like this: `/PathToAsset/Dir`
75+
- On Windows, like this: `C:\\PathToAsset\\Dir`
7476
- **Important** - you have to use double `\\` in Json.
75-
1. Please start the Script **(On first run as Administrator/Sudo, cause it has to install a Powershell Module)**
77+
1. Please start the Script **(On first run, ensure its run as Administrator/Sudo, because it has to install a Powershell Module)**
7678
- Linux:
7779
```
7880
cd /opt/appdata/Plex-Poster-Maker
@@ -85,34 +87,38 @@
8587
cd C:\Github\Plex-Poster-Maker
8688
.\PlexPosterMaker.ps1
8789
```
88-
1. After that it is recommended to run the script in testing Mode.
90+
1. After that it is recommended to run the script in `-Testing` Mode.
8991

90-
*In this Mode the script will create all kind of posters according to the config settings, so you can see how it would look before you mass run it against your lib.*
92+
*In this Mode, the script will create sample posters according to the config settings so you can see how it would look before you mass run it against your libraries. These samples will be created in the `test` directory*
9193

92-
*You can find examples and more infos here:*
94+
*You can find examples and more information here:*
9395

9496
*[Info about Testing mode](https://github.com/fscorrupt/Plex-Poster-Maker?tab=readme-ov-file#testing-mode)*
9597

9698
*[Example Images](https://github.com/fscorrupt/Plex-Poster-Maker?tab=readme-ov-file#images-from-testing-mode)*
9799

98100
- Linux:
99101
```
102+
cd /opt/appdata/Plex-Poster-Maker
100103
pwsh PlexPosterMaker.ps1 -Testing
101104
```
102105
- Windows:
103106
```
107+
cd C:\Github\Plex-Poster-Maker
104108
.\PlexPosterMaker.ps1 -Testing
105109
```
106-
5. You can now fine tune all the `widht,height,color` of `borders,textboxes and text` in config.json
107-
- After each change of a setting just rerun the script in testing mode so you can see how it looks.
108-
6. Final step is to set a schedule and let the script run.
109-
- You can also manually trigger the poster creation with this:
110+
5. You can now fine tune all the `width, height, color` of `borders, text boxes and text` in config.json
111+
- After each change of a setting just rerun the script in `-Testing` mode so you can see how it looks.
112+
6. The final step is to set a schedule and let the script run.
113+
- You can also trigger the poster creation on-demand, like this:
110114
- Linux:
111115
```
116+
cd /opt/appdata/Plex-Poster-Maker
112117
pwsh PlexPosterMaker.ps1
113118
```
114119
- Windows:
115120
```
121+
cd C:\Github\Plex-Poster-Maker
116122
.\PlexPosterMaker.ps1
117123
```
118124
- Configure Scheduled runs:
@@ -132,7 +138,7 @@
132138
- You can create a schedule task -> [How-To](https://www.sharepointdiary.com/2013/03/create-scheduled-task-for-powershell-script.html)
133139
## Docker
134140
1. Adjust the [docker-compose.yml](https://github.com/fscorrupt/Plex-Poster-Maker/raw/main/docker-compose.yml) to fit your environment.
135-
- Required envs and description can be found [here](https://github.com/fscorrupt/Plex-Poster-Maker?tab=readme-ov-file#docker)
141+
- Required environment variables and descriptions can be found [here](https://github.com/fscorrupt/Plex-Poster-Maker?tab=readme-ov-file#docker)
136142
```yml
137143
---
138144
version: "3"
@@ -174,23 +180,23 @@
174180
docker compose -up -d
175181
```
176182
- Now it should download everything and start up your container.
177-
3. On first run the container will download the required files and also create the flder structure for you.
178-
4. Please rename the `config.example.json` to `config.json` and adjust the settings.
179-
- Enter all the api keys from **Getting Started - Step 1** under the `ApiPart` [Detailed Config Description](https://github.com/fscorrupt/Plex-Poster-Maker?tab=readme-ov-file#configuration)
183+
3. On first run the container will download the required files and also create the folder structure for you.
184+
4. Copy the `config.example.json` to `config.json` and adjust the settings.
185+
- Enter all the api keys and tokens from **Getting Started - Step 1** under the `ApiPart` [Detailed Config Description](https://github.com/fscorrupt/Plex-Poster-Maker?tab=readme-ov-file#configuration)
180186
- tvdbapi
181187
- tmdbtoken
182188
- FanartTvAPIKey
183189
- PlexToken
184-
- There is only one setting you have to adjust if you are happy with the defaults, this is the path to asset dir.
185-
- On Linux type it like this: `/PathToAsset/Dir`
186-
- On Docker you have to use the binded volume path you specified in `docker-compose.yml`, if you use `/assets` without an extra volume binding it will create a folder in your scriptroot where all the asset lands.
187-
- On Windows like this: `C:\\PathToAsset\\Dir`
190+
- If you are happy with the default values, you should still ensure that the AssetPath value is set properly.
191+
- On Linux, like this: `/PathToAsset/Dir`
192+
- On Docker you have to use the binded volume path you specified in `docker-compose.yml`. If you use `/assets` without an extra volume binding it will create a folder in your scriptroot where all the artwork lands.
193+
- On Windows, like this: `C:\\PathToAsset\\Dir`
188194
- **Important** - you have to use double `\\` in json.
189-
1. After that it is recommended to run the script in testing Mode.
195+
1. After that it is recommended to run the script in `-Testing` Mode.
190196

191-
*In this Mode the script will create all kind of posters according to the config settings, so you can see how it would look before you mass run it against your lib.*
197+
*In this Mode, the script will create sample posters according to the config settings so you can see how it would look before you mass run it against your libraries. These samples will be created in the `test` directory*
192198

193-
*You can find examples and more infos here:*
199+
*You can find examples and more information here:*
194200

195201
*[Info about Testing mode](https://github.com/fscorrupt/Plex-Poster-Maker?tab=readme-ov-file#testing-mode)*
196202

@@ -202,10 +208,10 @@
202208
```sh
203209
docker exec -it ppm pwsh PlexPosterMaker.ps1 -Testing
204210
```
205-
5. You can now fine tune all the `widht,height,color` of `borders,textboxes and text` in config.json
206-
- After each change of a setting just rerun the script in testing mode so you can see how it looks.
207-
6. Final step is to set a schedule and let the script run.
208-
- You can also manually trigger the poster creation with this:
211+
5. You can now fine tune all the `width, height, color` of `borders, text boxes and text` in config.json
212+
- After each change of a setting just rerun the script in `-Testing` mode so you can see how it looks.
213+
6. The final step is to set a schedule and let the script run.
214+
- You can also trigger the poster creation on-demand, like this:
209215
```sh
210216
docker exec -it ppm pwsh PlexPosterMaker.ps1
211217
```

0 commit comments

Comments
 (0)