Debugging the TEN service

This commit is contained in:
2026-05-15 00:00:57 +09:30
parent 887841b901
commit 1cbd080821
4 changed files with 40 additions and 19 deletions
+17 -1
View File
@@ -3,7 +3,22 @@ from pathlib import Path
from abc import ABC, abstractmethod
class BaseService(ABC):
# ... your existing abstract methods ...
@abstractmethod
def name(self):
pass
@abstractmethod
def slugify(self, text):
pass
@abstractmethod
def discover_seasons(self, show_title, source_season=None, source_url=None):
pass
@abstractmethod
def normalize_episode(self, source_title, output_title, entry):
pass
def download_episode(self, episode, entry, download_dir):
"""
@@ -32,3 +47,4 @@ class BaseService(ABC):
result = subprocess.run(cmd)
return result.returncode == 0