From 8842816c89126843de467e3beab90236ee0548c9 Mon Sep 17 00:00:00 2001 From: Killy Date: Sun, 11 Jun 2023 13:34:56 +0200 Subject: [PATCH] Update Extras.bash Add support for Jellyfins clip path and background video. Ignoring teasers as they feel like bloat when there are actual trailers in a collection. Maybe optional or move to trailers instead of other? --- root/scripts/Extras.bash | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/root/scripts/Extras.bash b/root/scripts/Extras.bash index a775353..164b30a 100644 --- a/root/scripts/Extras.bash +++ b/root/scripts/Extras.bash @@ -136,6 +136,14 @@ DownloadExtras () { extraFolderName="trailers" elif [ "$tmdbExtraType" == "Behind the Scenes" ]; then extraFolderName="behind the scenes" + # Maybe make teasers optional? + elif [ "$tmdbExtraType" == "Teaser" ]; then + log "$itemTitle :: $i of $tmdbVideosListDataIdsCount :: $tmdbExtraType :: INFO :: Teasers are ignored in preference of actual trailers." + continue + elif [ "$tmdbExtraType" == "Clip" ]; then + extraFolderName="clips" + elif [ "$tmdbExtraType" == "Opening Credits" ]; then + extraFolderName="backdrops" else extraFolderName="other" log "$itemTitle :: $i of $tmdbVideosListDataIdsCount :: $tmdbExtraType :: ERROR :: Extra Type Not found, placing in \"other\" folder..."