Do not log when skipped media is set to skip

This commit is contained in:
tcely authored and GitHub committed 2025-02-14 19:34:49 -05:00
1 parent 9045bed509
commit dc9e641a7f
1 file changed
+4 -4
+4 -4
View File
@@ -40,11 +40,11 @@ def filter_media(instance: Media):
skip = True skip = True
# Check if skipping # Check if skipping
if instance.skip != skip: # only allow; False => True changes
# only allow; False => True changes if not instance.skip and False != skip:
instance.skip = instance.skip or skip instance.skip = skip
log.info( 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 return True