From 75b8b79ecb06208500b8a49bd36287186f093b42 Mon Sep 17 00:00:00 2001 From: bullmoose20 Date: Mon, 18 Mar 2024 13:19:45 -0400 Subject: [PATCH 1/4] new config to get ready for PlexPosterMaker (#631) * updates to schema (flixpatrol is back in limited fashion) and new version of status made me move some other overlays down a little to accommodate * added a movie metadata_file * updated for 1.20 * updates for 1.20 * updated because some items now require nightly6 * update README.md * add separator_franchise * in preparation for the content_rating_au as a default * minor update * minor tweaks * remove flizpatrol, update mass_*update section, add more seasonal * additional fixes from ruamel checker * new config to get ready for PlexPosterMaker --- bullmoose20/config.yml | 62 ++++++++++++++++++++++++++++++++++++++---- 1 file changed, 57 insertions(+), 5 deletions(-) diff --git a/bullmoose20/config.yml b/bullmoose20/config.yml index 541c3f2..50bb9d1 100644 --- a/bullmoose20/config.yml +++ b/bullmoose20/config.yml @@ -199,6 +199,10 @@ libraries: - pmm: universe # Marvel Cinematic Universe, Wizarding World, etc. overlay_files: # These files contain overlays: attributes - pmm: aspect # Creates overlays based on aspect ratio of media item + template_variables: + horizontal_align: left + vertical_align: top + vertical_offset: 517 - pmm: audio_codec # FLAC, DTS-X, TrueHD, etc. style: standard/compact. compact is default - pmm: language_count # blank means 1 audio language track, dual means 2, multi means > 2 ################### CONTENT RATING SECTION ################### @@ -217,6 +221,10 @@ libraries: # - pmm: content_rating_de # DE FSK content ratings # - pmm: content_rating_uk # UK BBFC content ratings - pmm: content_rating_us_movie # US MPAA content ratings + template_variables: + horizontal_align: left + vertical_align: top + vertical_offset: 637 # - pmm: commonsense # Commonsense content ratings Age 2+, Age 14+, etc. ################### CONTENT RATING SECTION END ############### # - pmm: direct_play # Show direct play only overlay @@ -271,7 +279,15 @@ libraries: template_variables: style: red - pmm: streaming # Streaming on Disney+, Netflix, etc. + template_variables: + horizontal_align: left + vertical_align: top + vertical_offset: 757 - pmm: studio # DreamWorks Studios, Lucasfilm Ltd, etc. + template_variables: + horizontal_align: left + vertical_align: top + vertical_offset: 877 - pmm: versions # Will show duplicates for that media item and works with builder_level show, episode, and season # template_variables: # back_color: "#f5289180" @@ -418,12 +434,22 @@ libraries: - pmm: streaming # Streaming on Disney+, Netflix, etc. - pmm: universe # Marvel Cinematic Universe, Wizarding World, etc. overlay_files: - - pmm: aspect # Creates aspect ratio overlay + - pmm: aspect # Creates aspect ratio overlay + template_variables: + horizontal_align: left + vertical_align: top + vertical_offset: 510 - pmm: aspect template_variables: + horizontal_align: left + vertical_align: top + vertical_offset: 510 builder_level: season - pmm: aspect template_variables: + horizontal_align: left + vertical_align: bottom + vertical_offset: 390 builder_level: episode - pmm: audio_codec # FLAC, DTS-X, TrueHD, etc. style: standard/compact. compact is default template_variables: @@ -464,8 +490,15 @@ libraries: # template_variables: # builder_level: episode - pmm: content_rating_us_show # US MPAA content ratings + template_variables: + horizontal_align: left + vertical_align: top + vertical_offset: 630 - pmm: content_rating_us_show # US MPAA content ratings template_variables: + horizontal_align: left + vertical_align: top + vertical_offset: 630 builder_level: season - pmm: content_rating_us_show # US MPAA content ratings template_variables: @@ -485,14 +518,25 @@ libraries: # - pmm: direct_play # template_variables: # builder_level: episode + - pmm: streaming # Streaming on Disney+, Netflix, etc. + template_variables: + horizontal_align: left + vertical_align: top + vertical_offset: 750 - pmm: studio # DreamWorks Studios, Lucasfilm Ltd, etc. + template_variables: + horizontal_align: left + vertical_align: top + vertical_offset: 870 - pmm: studio template_variables: + horizontal_align: left + vertical_align: top + vertical_offset: 870 builder_level: season - pmm: studio template_variables: builder_level: episode - - pmm: streaming - pmm: episode_info # SE##E## information in bottom right and works with builder_level episode template_variables: builder_level: episode @@ -525,8 +569,15 @@ libraries: template_variables: vertical_offset: 95 - pmm: network # ABC, CBC, NBC, FOX, etc. + template_variables: + horizontal_align: left + vertical_align: top + vertical_offset: 990 - pmm: network template_variables: + horizontal_align: left + vertical_align: top + vertical_offset: 990 builder_level: season - pmm: network template_variables: @@ -582,6 +633,8 @@ libraries: style: red - pmm: runtimes # Runtime information in bottom right and works with builder_level episode template_variables: + back_width: 305 + text: '' builder_level: episode - pmm: status # Airing, Returning, Ended, Canceled and works with builder_level show template_variables: @@ -597,7 +650,6 @@ libraries: back_color_returning: '#81007F' back_color_canceled: '#B52222' back_color_ended: '#000847' - - pmm: streaming # Streaming on Disney+, Netflix, etc. - pmm: versions # Will show duplicates for that media item and works with builder_level show, episode, and season # template_variables: # back_width: 1000 @@ -684,7 +736,7 @@ settings: # Can be individually specif show_missing: false only_filter_missing: false show_missing_assets: false - save_report: false + save_report: true tvdb_language: eng ignore_ids: ignore_imdb_ids: @@ -715,7 +767,7 @@ plex: # Can be individually specif empty_trash: true optimize: true db_cache: 2048 # 2048 MB is 2GB which is what I use. Adjust for your system as 2048 MB (2 GB) is probably a good starting point compared to the default Plex value of 40 MB - verify_ssl: + verify_ssl: true tmdb: # REQUIRED for the script to run apikey: (redacted) language: en From 3559d62c2d69e7132b5670f1e32b86e018351b86 Mon Sep 17 00:00:00 2001 From: FSCorrupt <45659314+fscorrupt@users.noreply.github.com> Date: Mon, 18 Mar 2024 13:13:44 +0100 Subject: [PATCH 2/4] Delete fscorrupt/runtimes.yml --- fscorrupt/runtimes.yml | 72 ------------------------------------------ 1 file changed, 72 deletions(-) delete mode 100644 fscorrupt/runtimes.yml diff --git a/fscorrupt/runtimes.yml b/fscorrupt/runtimes.yml deleted file mode 100644 index 6cb1227..0000000 --- a/fscorrupt/runtimes.yml +++ /dev/null @@ -1,72 +0,0 @@ -############################################################# -# Episodes Runtime Overlay # -# Created by Yozora, Bullmoose20, & Sohjiro # -# Credit to Magic815 for base images # -############################################################# -# Call this from your config.yml (Show): # -# overlay_path: # -# - git: PMM/overlays/runtimes # -# template_variables: # -# # Set episode or season to overlay # -# overlay_level: # -# # Set the horizontal offset for the overlay # -# horizontal_offset: 15 # -# # Set the horizontal align for the overlay # -# horizontal_align: right # -# # Set the vertical offset for the overlay # -# vertical_offset: 30 # -# # Set the vertical align for the overlay # -# vertical_align: bottom # -# # Set the font for the overlay # -# font: fonts/Inter-Medium.ttf # -# # Set the font size for the overlay # -# font_size: 55 # -# # Set the font color for the overlay # -# font_color: "#FFFFFF" # -# # Set the back color for the overlay # -# back_color: "#00000099" # -# # Set the back radius for the overlay # -# back_radius: 30 # -# # Set the back width for the overlay # -# back_width: 600 # -# # Set the back height for the overlay # -# back_height: 105 # -############################################################# - -templates: - text_runtime_info: - optional: - - overlay_level - default: - overlay: <> - horizontal_offset: 40 - horizontal_align: right - vertical_offset: 15 - vertical_align: bottom - font: fonts/Inter-Medium.ttf - font_size: 55 - font_color: "#FFFFFF" - back_color: "#00000099" - back_radius: 30 - back_width: 205 - back_height: 105 - collection_level: <> - overlay: - name: "text(<>h <>m)" - horizontal_offset: <> - horizontal_align: <> - vertical_offset: <> - vertical_align: <> - font: <> - font_size: <> - font_color: <> - back_color: <> - back_radius: <> - back_width: <> - back_height: <> - -overlays: - runtime_info: - template: - - name: text_runtime_info - plex_all: true \ No newline at end of file From cd32ee29ce307f7c1b5c282fe76e330705d8927d Mon Sep 17 00:00:00 2001 From: FSCorrupt <45659314+fscorrupt@users.noreply.github.com> Date: Mon, 18 Mar 2024 13:16:15 +0100 Subject: [PATCH 3/4] Update config.yml --- fscorrupt/config.yml | 208 +++++++++++++++++++++++++++++++++---------- 1 file changed, 160 insertions(+), 48 deletions(-) diff --git a/fscorrupt/config.yml b/fscorrupt/config.yml index 9a34d82..caac772 100644 --- a/fscorrupt/config.yml +++ b/fscorrupt/config.yml @@ -2,7 +2,8 @@ libraries: 4K Movies: - schedule: hourly(11) + schedule: hourly(11),hourly(14),hourly(17),hourly(20) + schedule_overlays: hourly(11),hourly(14),hourly(17),hourly(20) #schedule: hourly(9),hourly(19) collection_files: - file: config/Movies.yml @@ -20,11 +21,15 @@ libraries: vertical_position: bottom style: square back_color: '#00000099' - - file: config/runtimes.yml + text: "" + final_name: <> + - pmm: runtimes template_variables: vertical_offset: 37 horizontal_align: center horizontal_offset: 140 + text: '' + back_width: 205 - remove_overlays: false - file: config/overlays_movies.yml template_variables: @@ -32,10 +37,15 @@ libraries: # Posters 4K_banner: true 4K: false + settings: + asset_directory: /assets/4K Movies + prioritize_assets: true operations: mass_content_rating_update: mdb_commonsense + assets_for_all: true Movies: - schedule: hourly(11) + schedule: hourly(11),hourly(14),hourly(17),hourly(20) + schedule_overlays: hourly(11),hourly(14),hourly(17),hourly(20) #schedule: hourly(9),hourly(19) collection_files: - file: config/Movies.yml @@ -53,11 +63,15 @@ libraries: vertical_position: bottom style: square back_color: '#00000099' - - file: config/runtimes.yml + text: "" + final_name: <> + - pmm: runtimes template_variables: vertical_offset: 37 horizontal_align: center horizontal_offset: 140 + text: '' + back_width: 205 - remove_overlays: false - file: config/overlays_movies.yml template_variables: @@ -65,10 +79,15 @@ libraries: # Posters 4K_banner: false 4K: false + settings: + asset_directory: /assets/Movies + prioritize_assets: true operations: mass_content_rating_update: mdb_commonsense + assets_for_all: true Kids Movies: - schedule: hourly(11) + schedule: hourly(11),hourly(14),hourly(17),hourly(20) + schedule_overlays: hourly(11),hourly(14),hourly(17),hourly(20) collection_files: - file: config/Movies.yml #- file: config/Genre.yml @@ -85,11 +104,15 @@ libraries: vertical_position: bottom style: square back_color: '#00000099' - - file: config/runtimes.yml + text: "" + final_name: <> + - pmm: runtimes template_variables: vertical_offset: 37 horizontal_align: center horizontal_offset: 140 + text: '' + back_width: 205 - remove_overlays: false - file: config/overlays_movies.yml template_variables: @@ -97,10 +120,15 @@ libraries: # Posters 4K_banner: false 4K: false + settings: + asset_directory: /assets/Kids Movies + prioritize_assets: true operations: mass_content_rating_update: mdb_commonsense + assets_for_all: true Anime: - schedule: hourly(11) + schedule: hourly(11),hourly(14),hourly(17),hourly(20) + schedule_overlays: hourly(11),hourly(14),hourly(17),hourly(20) collection_files: - file: config/Movies.yml #- file: config/Genre.yml @@ -117,11 +145,15 @@ libraries: vertical_position: bottom style: square back_color: '#00000099' - - file: config/runtimes.yml + text: "" + final_name: <> + - pmm: runtimes template_variables: vertical_offset: 37 horizontal_align: center horizontal_offset: 140 + text: '' + back_width: 205 - remove_overlays: false - file: config/overlays_movies.yml template_variables: @@ -129,21 +161,38 @@ libraries: # Posters 4K_banner: false 4K: false + settings: + asset_directory: /assets/Anime + prioritize_assets: true operations: mass_content_rating_update: mdb_commonsense + assets_for_all: true TV Shows: - schedule: hourly(11) + schedule: hourly(11),hourly(14),hourly(17),hourly(20) + schedule_overlays: hourly(11),hourly(14),hourly(17),hourly(20) collection_files: - file: config/TVShows.yml #- file: config/Genre.yml overlay_files: #- reapply_overlays: true + - pmm: network + template_variables: + builder_level: season + vertical_position: bottom + horizontal_position: center + horizontal_offset: 30 + vertical_offset: 50 - pmm: languages template_variables: - overlay_level: episode + builder_level: episode overlay_limit: 5 horizontal_position: right vertical_position: bottom + style: square + back_color: '#00000099' + back_width: 102 + text: "" + final_name: <> - pmm: status template_variables: horizontal_align: center @@ -159,10 +208,16 @@ libraries: font_color_canceled: '#ED1F1F' font_color_ended: '#FF0000' back_color: '#FFFFFF' - - file: config/runtimes.yml + - pmm: runtimes template_variables: - overlay_level: episode + builder_level: episode horizontal_align: left + back_color: '#00000099' + back_height: 80 + vertical_offset: 20 + horizontal_offset: 18 + text: '' + back_width: 205 - remove_overlays: false - file: config/overlays_tv.yml template_variables: @@ -170,18 +225,36 @@ libraries: # Posters 4K: false 4K_banner: false + settings: + asset_directory: /assets/TV Shows + prioritize_assets: true + operations: + assets_for_all: true Kids Shows: - schedule: hourly(11) + schedule: hourly(11),hourly(14),hourly(17),hourly(20) + schedule_overlays: hourly(11),hourly(14),hourly(17),hourly(20) collection_files: - file: config/KidsShows.yml overlay_files: #- reapply_overlays: true + - pmm: network + template_variables: + builder_level: season + vertical_position: bottom + horizontal_position: center + horizontal_offset: 30 + vertical_offset: 50 - pmm: languages template_variables: - overlay_level: episode + builder_level: episode overlay_limit: 5 horizontal_position: right vertical_position: bottom + style: square + back_color: '#00000099' + back_width: 102 + text: "" + final_name: <> - pmm: status template_variables: horizontal_align: center @@ -196,11 +269,17 @@ libraries: font_color_returning: '#FFA500' font_color_canceled: '#ED1F1F' font_color_ended: '#FF0000' - back_color: '#FFFFFF' - - file: config/runtimes.yml + back_color: '#FFFFFF' + - pmm: runtimes template_variables: - overlay_level: episode + builder_level: episode horizontal_align: left + back_color: '#00000099' + back_height: 80 + vertical_offset: 20 + horizontal_offset: 18 + text: '' + back_width: 205 - remove_overlays: false - file: config/overlays_tv.yml template_variables: @@ -208,18 +287,36 @@ libraries: # Posters 4K_banner: false 4K: false + settings: + asset_directory: /assets/Kids Shows + prioritize_assets: true + operations: + assets_for_all: true Anime Shows: - schedule: hourly(11) + schedule: hourly(11),hourly(14),hourly(17),hourly(20) + schedule_overlays: hourly(11),hourly(14),hourly(17),hourly(20) collection_files: - file: config/AnimeShows.yml overlay_files: #- reapply_overlays: true + - pmm: network + template_variables: + builder_level: season + vertical_position: bottom + horizontal_position: center + horizontal_offset: 30 + vertical_offset: 50 - pmm: languages template_variables: - overlay_level: episode + builder_level: episode overlay_limit: 5 horizontal_position: right vertical_position: bottom + style: square + back_color: '#00000099' + back_width: 102 + text: "" + final_name: <> - pmm: status template_variables: horizontal_align: center @@ -234,11 +331,17 @@ libraries: font_color_returning: '#FFA500' font_color_canceled: '#ED1F1F' font_color_ended: '#FF0000' - back_color: '#FFFFFF' - - file: config/runtimes.yml + back_color: '#FFFFFF' + - pmm: runtimes template_variables: - overlay_level: episode + builder_level: episode horizontal_align: left + back_color: '#00000099' + back_height: 80 + vertical_offset: 20 + horizontal_offset: 18 + text: '' + back_width: 205 - remove_overlays: false - file: config/overlays_tv.yml template_variables: @@ -246,6 +349,11 @@ libraries: # Posters 4K_banner: false 4K: false + settings: + asset_directory: /assets/Anime Shows + prioritize_assets: true + operations: + assets_for_all: true playlist_files: - file: config/playlist.yml template_variables: @@ -256,41 +364,45 @@ settings: # Can be individually specified cache: true cache_expiration: 60 asset_directory: /assets - asset_folders: false - assets_for_all: true - sync_mode: sync - show_unmanaged: false + asset_folders: true + asset_depth: 1 create_asset_folders: false - delete_below_minimum: false - tvdb_language: default - show_missing_assets: false - minimum_items: 1 - asset_depth: 0 + prioritize_assets: true dimensional_asset_rename: false download_url_assets: false - show_missing_season_assets: false + show_missing_season_assets: true + show_missing_episode_assets: false + show_asset_not_needed: false + sync_mode: sync default_collection_order: + minimum_items: 1 + delete_below_minimum: false delete_not_scheduled: false + run_again_delay: 0 + missing_only_released: true + show_unconfigured: true + show_unmanaged: false + show_filtered: false + show_options: true + show_missing: true only_filter_missing: false - show_options: false + show_missing_assets: true + save_report: false + tvdb_language: ignore_ids: ignore_imdb_ids: - verify_ssl: true - playlist_sync_to_users: all - show_missing_episode_assets: false - show_asset_not_needed: true item_refresh_delay: 0 - custom_repo: - prioritize_assets: false + playlist_sync_to_users: all playlist_report: false + custom_repo: + verify_ssl: true check_nightly: false - show_unconfigured: true - playlist_exclude_users: - run_again_delay: 0 - missing_only_released: false - show_filtered: false - show_missing: true - save_report: false + playlist_exclude_users: Louisa, Peter + run_order: + - operations + - metadata + - collections + - overlays plex: # Can be individually specified per library as well url: http://plex:32400 token: @@ -314,7 +426,7 @@ tautulli: # Can be individually specified url: http://tautulli:8181 apikey: omdb: - apikey: + apikey: 87b972b4 cache_expiration: 60 radarr: # Can be individually specified per library as well url: http://radarr:7878 @@ -360,7 +472,7 @@ trakt: expires_in: 7889237 refresh_token: scope: public - created_at: 1696698036 + created_at: 1704621604 pin: mdblist: apikey: From cbf66963ed5601be366b78f56c05f982e6fb60fa Mon Sep 17 00:00:00 2001 From: FSCorrupt <45659314+fscorrupt@users.noreply.github.com> Date: Mon, 18 Mar 2024 13:18:26 +0100 Subject: [PATCH 4/4] Update config.yml --- fscorrupt/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fscorrupt/config.yml b/fscorrupt/config.yml index caac772..b7b2281 100644 --- a/fscorrupt/config.yml +++ b/fscorrupt/config.yml @@ -426,7 +426,7 @@ tautulli: # Can be individually specified url: http://tautulli:8181 apikey: omdb: - apikey: 87b972b4 + apikey: cache_expiration: 60 radarr: # Can be individually specified per library as well url: http://radarr:7878