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?
pull/39/head
Killy 11 months ago committed by GitHub
parent 31b46a5f6f
commit 8842816c89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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..."

Loading…
Cancel
Save