ytdl-sub 2025.11.27__py3-none-any.whl → 2025.11.28.post1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ytdl_sub/__init__.py +1 -1
- ytdl_sub/config/overrides.py +5 -0
- ytdl_sub/prebuilt_presets/tv_show/tv_show_collection.yaml +5206 -644
- ytdl_sub/script/parser.py +1 -1
- ytdl_sub/script/script.py +8 -3
- ytdl_sub/script/types/function.py +11 -6
- ytdl_sub/script/types/syntax_tree.py +28 -2
- ytdl_sub/script/types/variable_dependency.py +4 -4
- ytdl_sub/validators/string_formatter_validators.py +1 -0
- {ytdl_sub-2025.11.27.dist-info → ytdl_sub-2025.11.28.post1.dist-info}/METADATA +1 -1
- {ytdl_sub-2025.11.27.dist-info → ytdl_sub-2025.11.28.post1.dist-info}/RECORD +15 -15
- {ytdl_sub-2025.11.27.dist-info → ytdl_sub-2025.11.28.post1.dist-info}/WHEEL +0 -0
- {ytdl_sub-2025.11.27.dist-info → ytdl_sub-2025.11.28.post1.dist-info}/entry_points.txt +0 -0
- {ytdl_sub-2025.11.27.dist-info → ytdl_sub-2025.11.28.post1.dist-info}/licenses/LICENSE +0 -0
- {ytdl_sub-2025.11.27.dist-info → ytdl_sub-2025.11.28.post1.dist-info}/top_level.txt +0 -0
ytdl_sub/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__pypi_version__ = "2025.11.
|
|
1
|
+
__pypi_version__ = "2025.11.28.post1";__local_version__ = "2025.11.28+8d5d2be"
|
ytdl_sub/config/overrides.py
CHANGED
|
@@ -158,10 +158,15 @@ class Overrides(UnstructuredDictFormatterValidator, Scriptable):
|
|
|
158
158
|
script = entry.script
|
|
159
159
|
unresolvable = entry.unresolvable
|
|
160
160
|
|
|
161
|
+
# Update the script internally so long as we are not supplying overrides
|
|
162
|
+
# that could alter the script with one-off state
|
|
163
|
+
update = function_overrides is None
|
|
164
|
+
|
|
161
165
|
try:
|
|
162
166
|
return script.resolve_once(
|
|
163
167
|
dict({"tmp_var": formatter.format_string}, **(function_overrides or {})),
|
|
164
168
|
unresolvable=unresolvable,
|
|
169
|
+
update=update,
|
|
165
170
|
)["tmp_var"]
|
|
166
171
|
except ScriptVariableNotResolved as exc:
|
|
167
172
|
raise StringFormattingException(
|