From 9a5ee716cff587fe6e12ac2fd0ea372268c8e481 Mon Sep 17 00:00:00 2001 From: catduckgnaf <129601174+catduckgnaf@users.noreply.github.com> Date: Wed, 12 Apr 2023 12:30:59 -0400 Subject: [PATCH] [BACKEND] Fix Plex MP4 (#586) * Fix Plex MP4 No WebM, Best quality, No AV1 either * 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. * Plex Update Default will get best video in H265 or H264, if neither are available, it will get next best video. All MP4, no limit on resolution. Plex_tv_show_av1 will allow for absolute best possible resolution in any codec as long as its MP4, including Av1 which is not currently supported in Plex. Without AV1 is considered default, for maximum compatibility at this time. * EBUATK Incorrect setting on Av1, fixed. * Removed Av1 Preset --------- Co-authored-by: catduckgnaf <128985786+cellardoor452@users.noreply.github.com> --- src/ytdl_sub/prebuilt_presets/tv_show/tv_show.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 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..2fbd4c9a 100644 --- a/src/ytdl_sub/prebuilt_presets/tv_show/tv_show.yaml +++ b/src/ytdl_sub/prebuilt_presets/tv_show/tv_show.yaml @@ -1,18 +1,17 @@ presets: - _plex_tv_show: + + _plex_tv_show: # Default Highest Resolution, No AV1, which is not currently supported by plex preset: - "_plex_base" - "_episode_base" - "_episode_video_tags" ytdl_options: - format: "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" + format: "(bv*[ext=mp4][vcodec~='^((he|a)vc|h26[45])']+ba[ext=m4a]) / (bv[ext=mp4]*+ba[ext=m4a]/b)" 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: