From 5b715a4f50ae9fac848c5a2eddf3cb4dc6cbceff Mon Sep 17 00:00:00 2001 From: catduckgnaf <128985786+cellardoor452@users.noreply.github.com> Date: Tue, 11 Apr 2023 17:11:11 -0400 Subject: [PATCH 1/2] Fix Plex MP4 No WebM, Best quality, No AV1 either --- src/ytdl_sub/prebuilt_presets/tv_show/tv_show.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ytdl_sub/prebuilt_presets/tv_show/tv_show.yaml b/src/ytdl_sub/prebuilt_presets/tv_show/tv_show.yaml index 996d5fa9..5c8a3c12 100644 --- a/src/ytdl_sub/prebuilt_presets/tv_show/tv_show.yaml +++ b/src/ytdl_sub/prebuilt_presets/tv_show/tv_show.yaml @@ -6,13 +6,11 @@ presets: - "_episode_base" - "_episode_video_tags" ytdl_options: - format: "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" + bestvideo: mp4 # Plex currently does not support webm overrides: tv_show_poster_file_name: "poster.jpg" tv_show_fanart_file_name: "fanart.jpg" season_poster_file_name: "Season {season_number_padded}/Season{season_number_padded}.jpg" - file_convert: # Plex currently does not support webm - convert_to: "mp4" _jellyfin_tv_show: preset: From b52e878d9f398af425425dbb16cc988b314d8452 Mon Sep 17 00:00:00 2001 From: catduckgnaf <128985786+cellardoor452@users.noreply.github.com> Date: Tue, 11 Apr 2023 18:08:42 -0400 Subject: [PATCH 2/2] Fixed because I am idiot Forcing Plex to download only MP4 and 1080P. More efficient then downloading Webm and converting. Plex does not direct Play AV1 currently anyway. --- src/ytdl_sub/prebuilt_presets/tv_show/tv_show.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ytdl_sub/prebuilt_presets/tv_show/tv_show.yaml b/src/ytdl_sub/prebuilt_presets/tv_show/tv_show.yaml index 5c8a3c12..fc84f165 100644 --- a/src/ytdl_sub/prebuilt_presets/tv_show/tv_show.yaml +++ b/src/ytdl_sub/prebuilt_presets/tv_show/tv_show.yaml @@ -6,7 +6,7 @@ presets: - "_episode_base" - "_episode_video_tags" ytdl_options: - bestvideo: mp4 # Plex currently does not support webm + format: "bestvideo[ext=mp4][height<=?1080]+bestaudio/best" # Plex currently does not support webm overrides: tv_show_poster_file_name: "poster.jpg" tv_show_fanart_file_name: "fanart.jpg"