Explain when ignoring elements

This commit is contained in:
Mr-Pine 2025-05-28 16:53:42 +02:00
parent b6b94c3d34
commit f510a5b94b
No known key found for this signature in database
GPG key ID: 5481659D1D983422

View file

@ -332,6 +332,10 @@ instance's greatest bottleneck.
# This is symptomatic of no access to the element, for example, because # This is symptomatic of no access to the element, for example, because
# of time availability restrictions. # of time availability restrictions.
if "cmdClass=ilInfoScreenGUI" in element.url and "cmd=showSummary" in element.url: if "cmdClass=ilInfoScreenGUI" in element.url and "cmd=showSummary" in element.url:
log.explain(
"Skipping element as url points to info screen, "
"this should only happen with not-yet-released elements"
)
return None return None
if element.type in _VIDEO_ELEMENTS: if element.type in _VIDEO_ELEMENTS: