mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 13:36:35 +00:00
Do not log when skipped media is set to skip
This commit is contained in:
parent
9045bed509
commit
dc9e641a7f
@ -40,11 +40,11 @@ def filter_media(instance: Media):
|
||||
skip = True
|
||||
|
||||
# Check if skipping
|
||||
if instance.skip != skip:
|
||||
# only allow; False => True changes
|
||||
instance.skip = instance.skip or skip
|
||||
# only allow; False => True changes
|
||||
if not instance.skip and False != skip:
|
||||
instance.skip = skip
|
||||
log.info(
|
||||
f"Media: {instance.source} / {instance} has changed skip setting to {instance.skip}"
|
||||
f"Media: {instance.source} / {instance} has changed skip setting to {skip}"
|
||||
)
|
||||
return True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user