-
Notifications
You must be signed in to change notification settings - Fork 1
TMDB Import FAQ
🌐 中文版本
TMDB-Import is a Python tool for scraping episode data from various platforms and importing to TMDB. This document covers common issues and solutions.
ℹ️ TMDB-Import is an independent open-source project (fzlins/TMDB-Import). TMDB-Helper integrates its functionality.
Cause: When rename_csv_on_import = true, the script renames import.csv to import_{tmdb_id}_s{season}_{language}.csv. But if save_user_profile = true is also enabled, Playwright locks the user profile directory, preventing multiple processes from running concurrently.
Solution:
- Open
config.ini - Ensure these settings:
rename_csv_on_import = true save_user_profile = false
- With
save_user_profiledisabled, each task uses an isolated temporary browser profile
⚠️ Note: After disablingsave_user_profile, you'll need to re-login to TMDB each run (if login is required).
Cause: Most likely filtered by filter_words.
Check Steps:
- Open
config.ini - Check the
filter_wordssetting:filter_words = - If it contains filter words, check if normal episodes were accidentally filtered
How Filtering Works:
- Multiple filter words separated by commas
- If an episode name contains any filter word, it gets filtered out
- Example:
filter_words = 预告,花絮filters episodes with "预告" or "花絮" in the name
Solution:
- Clear filter words:
filter_words = - Or set precise filter words to avoid false positives
Solution: Set encoding in config.ini:
encoding = utf-8-sigutf-8-sig adds a BOM marker at the beginning, ensuring Excel correctly识别 Chinese characters.
Check settings:
backdrop_forced_upload = false
backdrop_vote_after_upload = false-
backdrop_forced_upload: Force upload backdrop (even if one exists) -
backdrop_vote_after_upload: Auto-vote after upload
Common Causes:
- Platform page changes: Extractor may need updates
- Network issues: Check connection or proxy settings
- Invalid URL format: Verify the platform link is correct
Supported Platforms:
- Bilibili
- iQiyi
- Tencent Video
- Youku
- CCTV
- And more...
Add verbose parameter when running, or check terminal output. The terminal displays:
- Current scraping URL
- Detected platform type
- Number of episodes found
- Filtered episodes (if any)
- Check TMDB credentials in
config.ini:tmdb_username = your_username tmdb_password = your_password
- Verify username and password are correct
- If 2FA is enabled, you may need to use API Key instead
Edit the generated CSV file, remove rows you don't want to import, then re-run the import command.
Check the setting:
delete_csv_after_import = falseSet to false to keep the CSV file for inspection.
- Ensure
save_user_profile = false - Recommended: enable
rename_csv_on_import = true - Run each task in a separate terminal window
Each Playwright browser instance occupies a debug port. If port conflicts occur:
- Ensure
save_user_profile = false - Or stagger task start times
- Independent Maintenance - Using TMDB-Import in TMDB-Helper
- Settings - Configure TMDB-Import tool
- FAQ - General TMDB-Helper questions