mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-25 06:26:37 +00:00
Do not log when the skip state remains unchanged
This commit is contained in:
parent
f88df0d4e6
commit
abfa8ca042
@ -122,6 +122,8 @@ def filter_max_cap(instance: Media):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
if instance.published <= max_cap_age:
|
if instance.published <= max_cap_age:
|
||||||
|
# log new media instances, not every media instance every time
|
||||||
|
if not instance.skip:
|
||||||
log.info(
|
log.info(
|
||||||
f"Media: {instance.source} / {instance} is too old for "
|
f"Media: {instance.source} / {instance} is too old for "
|
||||||
f"the download cap date, marking to be skipped"
|
f"the download cap date, marking to be skipped"
|
||||||
|
Loading…
Reference in New Issue
Block a user