fix delete channel tvart

This commit is contained in:
Simon 2025-12-24 14:55:09 +07:00
parent e78a48bf3c
commit fdadcfd48b
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 3 additions and 0 deletions

View File

@ -228,10 +228,13 @@ class ThumbManager(ThumbManagerBase):
"""delete all artwork of channel"""
thumb = os.path.join(self.CHANNEL_DIR, f"{self.item_id}_thumb.jpg")
banner = os.path.join(self.CHANNEL_DIR, f"{self.item_id}_banner.jpg")
tv = os.path.join(self.CHANNEL_DIR, f"{self.item_id}_tvart.jpg")
if os.path.exists(thumb):
os.remove(thumb)
if os.path.exists(banner):
os.remove(banner)
if os.path.exists(tv):
os.remove(tv)
def delete_playlist_thumb(self):
"""delete playlist thumbnail"""