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