From fc8c258407e7f2db3910b2dc8f1023e052081c5e Mon Sep 17 00:00:00 2001 From: Chaz Larson Date: Wed, 13 Mar 2024 16:55:29 -0500 Subject: [PATCH 1/3] Update assets.md Add more to the media path examples --- docs/pmm/guides/assets.md | 44 +++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/docs/pmm/guides/assets.md b/docs/pmm/guides/assets.md index 6dd96a12..2cf4a2b7 100644 --- a/docs/pmm/guides/assets.md +++ b/docs/pmm/guides/assets.md @@ -98,84 +98,84 @@ Assets can be stored anywhere on the host system that PMM has visibility of (i.e For example, given this movie: ``` - /path/to/media/movies/Star Wars (1977)/Star Wars (1977) [1080p].mp4 - ^^^^^^^^^^^^^^^^ -- THIS IS ASSET_NAME + /path/to/media/movies/Star Wars (1977) {imdb-tt0076759} {tmdb-11}/Star Wars (1977) [1080p].mp4 + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- THIS IS ASSET_NAME ``` The asset names that PMM will look for are: ASSET_FOLDERS=True: ``` - config/assets/Star Wars (1977)/poster.ext - config/assets/Star Wars (1977)/background.ext + config/assets/Star Wars (1977) {imdb-tt0076759} {tmdb-11}/poster.ext + config/assets/Star Wars (1977) {imdb-tt0076759} {tmdb-11}/background.ext ``` ASSET_FOLDERS=False: ``` - config/assets/Star Wars (1977).ext - config/assets/Star Wars (1977)_background.ext + config/assets/Star Wars (1977) {imdb-tt0076759} {tmdb-11}.ext + config/assets/Star Wars (1977) {imdb-tt0076759} {tmdb-11}_background.ext ``` * For **Shows**, **Seasons**, and **Episodes** replace `ASSET_NAME` with the exact name of the folder for the show as a whole. For example, given this show: ``` - /path/to/media/tv/The Expanse (2015)/Season 01/The Expanse (2015) - S01E01 - Dulcinea.mkv - ^^^^^^^^^^^^^^^^^^ -- THIS IS ASSET_NAME + /path/to/media/tv/The Expanse (2015) {tvdb-280619}/Season 01/The Expanse (2015) - S01E01 - Dulcinea.mkv + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- THIS IS ASSET_NAME ``` The asset names that PMM will look for are: ASSET_FOLDERS=True: ``` - config/assets/The Expanse (2015)/poster.ext - config/assets/The Expanse (2015)/background.ext + config/assets/The Expanse (2015) {tvdb-280619}/poster.ext + config/assets/The Expanse (2015) {tvdb-280619}/background.ext ``` ASSET_FOLDERS=False: ``` - config/assets/The Expanse (2015).ext - config/assets/The Expanse (2015)_background.ext + config/assets/The Expanse (2015) {tvdb-280619}.ext + config/assets/The Expanse (2015) {tvdb-280619}_background.ext ``` * For **Seasons** replace `##` with the zero padded season number (00 for specials) For example, given this show: ``` - /path/to/media/tv/The Expanse (2015)/Season 01/The Expanse (2015) - S01E01 - Dulcinea.mkv + /path/to/media/tv/The Expanse (2015) {tvdb-280619}/Season 01/The Expanse (2015) - S01E01 - Dulcinea.mkv ``` The asset names that PMM will look for are: ASSET_FOLDERS=True: ``` - config/assets/The Expanse (2015)/Season01.ext - config/assets/The Expanse (2015)/Season01_background.ext + config/assets/The Expanse (2015) {tvdb-280619}/Season01.ext + config/assets/The Expanse (2015) {tvdb-280619}/Season01_background.ext ``` ASSET_FOLDERS=False: ``` - config/assets/The Expanse (2015)_Season01.ext - config/assets/The Expanse (2015)_Season01_background.ext + config/assets/The Expanse (2015) {tvdb-280619}_Season01.ext + config/assets/The Expanse (2015) {tvdb-280619}_Season01_background.ext ``` * For **Episodes** replacing the first `##` with the zero padded season number (00 for specials), the second `##` with the zero padded episode number For example, given this show: ``` - /path/to/media/tv/The Expanse (2015)/Season 01/The Expanse (2015) - S01E01 - Dulcinea.mkv + /path/to/media/tv/The Expanse (2015) {tvdb-280619}/Season 01/The Expanse (2015) - S01E01 - Dulcinea.mkv ``` The asset names that PMM will look for are: ASSET_FOLDERS=True: ``` - config/assets/The Expanse (2015)/S01E01.ext - config/assets/The Expanse (2015)/S01E01_background.ext + config/assets/The Expanse (2015) {tvdb-280619}/S01E01.ext + config/assets/The Expanse (2015) {tvdb-280619}/S01E01_background.ext ``` ASSET_FOLDERS=False: ``` - config/assets/The Expanse (2015)_S01E01.ext - config/assets/The Expanse (2015)_S01E01_background.ext + config/assets/The Expanse (2015) {tvdb-280619}_S01E01.ext + config/assets/The Expanse (2015) {tvdb-280619}_S01E01_background.ext ``` * Replace `.ext` with the image extension From c0e8bf267784d1182d13104716a40adf7ccf5084 Mon Sep 17 00:00:00 2001 From: Chaz Larson Date: Wed, 13 Mar 2024 16:58:08 -0500 Subject: [PATCH 2/3] Update assets.md Add a generic example --- docs/pmm/guides/assets.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/pmm/guides/assets.md b/docs/pmm/guides/assets.md index 2cf4a2b7..8819e09f 100644 --- a/docs/pmm/guides/assets.md +++ b/docs/pmm/guides/assets.md @@ -95,7 +95,13 @@ Assets can be stored anywhere on the host system that PMM has visibility of (i.e `ASSET_NAME` is "crazy-punctuation-collection" * For **Movies** replace `ASSET_NAME` with the exact name of the folder the video file is stored in. - + + That means the folder name exactly as it appears in the file system. + ``` + /path/to/media/movies/THE NAME OF THE FOLDER HOWEVER LONG IT IS AND WHATEVER IT CONTAINS/MOVIE_NAME.mp4 + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- THIS IS ASSET_NAME + ``` + For example, given this movie: ``` /path/to/media/movies/Star Wars (1977) {imdb-tt0076759} {tmdb-11}/Star Wars (1977) [1080p].mp4 From 038c703294e7d9b483ae3a72892d596921fc527c Mon Sep 17 00:00:00 2001 From: Chaz Larson Date: Wed, 13 Mar 2024 16:59:31 -0500 Subject: [PATCH 3/3] Update assets.md add generic TV example --- docs/pmm/guides/assets.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/pmm/guides/assets.md b/docs/pmm/guides/assets.md index 8819e09f..a85990c3 100644 --- a/docs/pmm/guides/assets.md +++ b/docs/pmm/guides/assets.md @@ -123,6 +123,12 @@ Assets can be stored anywhere on the host system that PMM has visibility of (i.e * For **Shows**, **Seasons**, and **Episodes** replace `ASSET_NAME` with the exact name of the folder for the show as a whole. + That means the folder name exactly as it appears in the file system. + ``` + /path/to/media/tv/THE NAME OF THE FOLDER HOWEVER LONG IT IS AND WHATEVER IT CONTAINS/Season 01/EPISODE_FILE.mkv + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- THIS IS ASSET_NAME + ``` + For example, given this show: ``` /path/to/media/tv/The Expanse (2015) {tvdb-280619}/Season 01/The Expanse (2015) - S01E01 - Dulcinea.mkv