Add configurable TMDB release type priority system
- Added TMDB_TYPE_PRIORITY environment variable for user-configurable release type preferences - Default priority: 4,5,3,2,6,1 (Digital → Physical → Theatrical → Limited → TV → Premiere) - Replaces random first-available selection with intelligent priority-based selection - Enhanced logging shows selected type and full priority order - Users can customize priority based on their preferences (e.g. theatrical first) Version bumped to 0.2.22
This commit is contained in:
@@ -98,6 +98,14 @@ ENABLE_SMART_DATE_VALIDATION=true
|
||||
# If digital/physical is more than this many years after theatrical, prefer theatrical instead
|
||||
MAX_RELEASE_DATE_GAP_YEARS=10
|
||||
|
||||
# TMDB country for regional release date preferences
|
||||
TMDB_COUNTRY=US
|
||||
|
||||
# TMDB release type priority (comma-separated numbers)
|
||||
# 1=Premiere, 2=Limited Theatrical, 3=Theatrical, 4=Digital, 5=Physical, 6=TV Premiere
|
||||
# Default: 4,5,3,2,6,1 (Digital → Physical → Theatrical → Limited → TV → Premiere)
|
||||
TMDB_TYPE_PRIORITY=4,5,3,2,6,1
|
||||
|
||||
# When to query APIs: always, if_missing, never
|
||||
MOVIE_POLL_MODE=always
|
||||
|
||||
|
||||
Reference in New Issue
Block a user