[backend] host = "127.0.0.1" # Backend API bind address (127.0.0.1 = localhost only) port = 26666 # Backend API listening port [rss] urls = [] interval_time = 300 # RSS fetch interval in seconds (default: 5 minutes) [rss.priority] field_order = ["fansub", "quality", "languages"] # Field comparison order, earlier fields take precedence fansub = [] # Fansub group priority, earlier = higher (e.g. ["Fansub_A", "Fansub_B"]) languages = [] # Language priority, earlier = higher (available: "简", "繁", "日", "英") quality = ["2160p", "1080p", "720p", "480p"] # Quality priority, earlier = higher. Set [] to disable [proxy] http = "" # HTTP proxy URL (e.g., "http://127.0.0.1:7890") https = "" # HTTPS proxy URL (e.g., "http://127.0.0.1:7890") [openlist] url = "http://localhost:5244" token = "" download_path = "/" offline_download_tool = "QBITTORRENT" rename_format = "{anime_name} S{season:02d}E{episode:02d} {fansub} {quality} {languages}" [llm] openai_api_key = "" openai_base_url = "https://api.openai.com/v1" openai_model = "gpt-4o" tmdb_api_key = "" tmdb_language = "zh-CN" # TMDB metadata language: zh-CN (Chinese), en-US (English), ja-JP (Japanese), etc. [notification] enabled = false # Enable/disable notification system batch_interval = 300.0 # Batch notifications interval in seconds (default: 300 = 5 minutes, set to 0 to send immediately) # Telegram bot configuration (optional) # [[notification.bots]] # type = "telegram" # enabled = true # config = { bot_token = "your_bot_token", user_id = "your_user_id" } # PushPlus bot configuration (optional) # [[notification.bots]] # type = "pushplus" # enabled = true # config = { user_token = "your_user_token", channel = "wechat" } # channel: wechat, webhook, cp, mail [assistant] enabled = false # Enable/disable assistant module # Telegram assistant configuration (required if assistant is enabled) [assistant.telegram] bot_token = "" # Telegram bot token from @BotFather allowed_users = [] # List of allowed Telegram user IDs (empty = allow all) [bangumi] access_token = "" # Bangumi API Access Token (also supports env var BANGUMI_TOKEN) [mikan] username = "" # Mikan (mikanani.me) account username password = "" # Mikan account password [log] level = "INFO" # Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL rotation = "00:00" # Log rotation: time-based "00:00" (midnight) retention = "1 week" # How long to keep old logs: "1 week", "30 days", "3 months", etc.