defer to get download value

This commit is contained in:
Jesse Bannon 2025-06-18 20:41:33 -07:00
parent cefa5a71f2
commit f9efc65c08
2 changed files with 5 additions and 0 deletions

View file

@ -102,6 +102,9 @@ class Entry(BaseEntry, Scriptable):
v.sponsorblock_chapters.metadata_key, []
),
v.comments: download_entry._kwargs_get(v.comments.metadata_key, []),
# Updates with more accurate value, which may differ from the metadata value
v.height: download_entry._kwargs_get(v.height.metadata_key, 0),
v.width: download_entry._kwargs_get(v.width.metadata_key, 0)
}
)
return self

View file

@ -1151,6 +1151,8 @@ class VariableDefinitions(
self.ytdl_sub_input_url_index,
self.ytdl_sub_input_url_count,
self.ytdl_sub_keep_files_date_eval,
self.width,
self.height,
}
@cache