mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-07 16:32:10 +02:00
123 lines
2.9 KiB
YAML
123 lines
2.9 KiB
YAML
# TULIPROX_HOME should point to /app for docker
|
|
threads: 0
|
|
api:
|
|
host: 0.0.0.0
|
|
port: 8901
|
|
web_root: ${env:TULIPROX_HOME}/web
|
|
working_dir: ${env:TULIPROX_HOME}/data
|
|
backup_dir: ${env:TULIPROX_HOME}/backup
|
|
custom_stream_response_path: ${env:TULIPROX_HOME}/resources
|
|
connect_timeout_secs: 10
|
|
user_access_control: false
|
|
|
|
schedules:
|
|
- schedule: 0 0 4/23 * * *
|
|
targets: []
|
|
|
|
messaging:
|
|
notify_on: []
|
|
|
|
log:
|
|
sanitize_sensitive_info: false
|
|
log_active_user: true
|
|
log_level: debug
|
|
|
|
update_on_boot: false # best not to hammer upstream during testing
|
|
|
|
web_ui:
|
|
enabled: true
|
|
user_ui_enabled: true
|
|
content_security_policy:
|
|
enabled: true
|
|
custom-attributes:
|
|
- "default-src 'self'"
|
|
- "script-src 'self' 'wasm-unsafe-eval' 'nonce-{nonce_b64}'"
|
|
- "frame-ancestors 'none'"
|
|
- "style-src 'self'"
|
|
- "img-src 'self' data:"
|
|
- "font-src 'self' data:"
|
|
- "connect-src 'self' wss:"
|
|
- "object-src 'none'"
|
|
- "base-uri 'self'"
|
|
- "form-action 'self'"
|
|
path:
|
|
auth:
|
|
enabled: true
|
|
issuer: tuliprox
|
|
secret: ef9ab256a8c0abe5de92c2e05ca92baa810472ab702ff1674e9248308ceeec92
|
|
userfile: user.txt
|
|
|
|
video:
|
|
web_search: "https://www.imdb.com/search/title/?title={}"
|
|
extensions:
|
|
- mkv
|
|
- avi
|
|
- mp4
|
|
- mpeg
|
|
- divx
|
|
- mov
|
|
download:
|
|
headers:
|
|
Accept: video/*
|
|
User-Agent: |
|
|
Mozilla/5.0 (AppleTV; U; CPU OS 14_2 like Mac OS X; en-us) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Safari/605.1.15
|
|
directory: ${env:TULIPROX_HOME}/downloads
|
|
organize_into_directories: false
|
|
episode_pattern: .*(?P<episode>[Ss]\d{1,2}(.*?)[Ee]\d{1,2}).*
|
|
|
|
reverse_proxy:
|
|
resource_retry:
|
|
max_attempts: 3
|
|
backoff_millis: 250
|
|
backoff_multiplier: 1.0
|
|
stream:
|
|
shared_burst_buffer_mb: 12 # default 12 MB
|
|
|
|
library:
|
|
enabled: true
|
|
scan_directories:
|
|
- path: "/media/movies"
|
|
enabled: true
|
|
|
|
- path: "/media/tvshows"
|
|
enabled: true
|
|
|
|
# You can add more directories as needed
|
|
# - path: "/mnt/videos"
|
|
# enabled: false
|
|
|
|
supported_extensions:
|
|
- "mp4"
|
|
- "mkv"
|
|
- "avi"
|
|
- "mov"
|
|
- "ts"
|
|
- "m4v"
|
|
- "webm"
|
|
|
|
# Metadata configuration
|
|
metadata:
|
|
# Location to store metadata cache (JSON files)
|
|
path: "${env:TULIPROX_HOME}/library_metadata"
|
|
|
|
# TMDB (The Movie Database) API integration
|
|
tmdb:
|
|
enabled: true
|
|
# api_key: "" # Get your API key from https://www.themoviedb.org/settings/api
|
|
rate_limit_ms: 250 # Milliseconds between API calls (default: 250ms)
|
|
|
|
# Fallback to filename parsing if no metadata found
|
|
fallback_to_filename: true
|
|
|
|
# Metadata output formats
|
|
formats:
|
|
# - "nfo" # Optionally write Kodi-compatible NFO files
|
|
|
|
# Playlist integration
|
|
playlist:
|
|
# Group name for movies in M3U/Xtream playlist
|
|
movie_category: "Local Movies"
|
|
|
|
# Group name for series in M3U/Xtream playlist
|
|
series_category: "Local Series"
|