mirror of
https://github.com/MrSleeps/jellyfin-scene-search.git
synced 2026-11-14 22:11:27 +00:00
56 lines
1.8 KiB
Bash
56 lines
1.8 KiB
Bash
MEILI_URL=http://127.0.0.1:7700
|
|
MEILI_MASTER_KEY=change-me-now
|
|
MEILI_INDEX=jellyfin_scenes
|
|
HYBRID_SEMANTIC_RATIO=0.80
|
|
|
|
MODEL_ID=google/siglip2-base-patch16-224
|
|
DEVICE=cuda
|
|
DATA_DIR=./data
|
|
BATCH_SIZE=8
|
|
|
|
OLLAMA_URL=http://127.0.0.1:11434
|
|
CAPTION_GENERAL_MODEL=huihui_ai/qwen3-vl-abliterated:4b-instruct-q4_K_M
|
|
CAPTION_SPECIALIST_MODEL=aha2025/llama-joycaption-beta-one-hf-llava:Q4_K_M
|
|
CAPTION_TIMEOUT_SECONDS=180
|
|
CAPTION_MAX_TOKENS=120
|
|
CAPTION_PROMPT_FILE=./data/caption_prompt.txt
|
|
CAPTION_SPECIALIST_PROMPT_FILE=./data/caption_prompt_specialist.txt
|
|
|
|
CAPTION_ROUTER_ENABLED=true
|
|
CAPTION_ROUTER_MODEL=Falconsai/nsfw_image_detection
|
|
CAPTION_ROUTER_DEVICE=cuda
|
|
CAPTION_ROUTER_BATCH_SIZE=32
|
|
CAPTION_ROUTER_THRESHOLD=0.50
|
|
CAPTION_ROUTER_CONTEXT_SECONDS=6
|
|
|
|
# Jellyfin ingestion
|
|
JELLYFIN_URL=http://127.0.0.1:8096
|
|
JELLYFIN_API_KEY=
|
|
# Preferred: comma-separated list of libraries to index by default.
|
|
JELLYFIN_LIBRARIES=
|
|
# Optional libraries to leave out, including when --all-libraries is used.
|
|
JELLYFIN_EXCLUDE_LIBRARIES=
|
|
# Backward-compatible single-library setting. Used only when JELLYFIN_LIBRARIES is empty.
|
|
JELLYFIN_LIBRARY=
|
|
JELLYFIN_TRICKPLAY_WIDTH=320
|
|
JELLYFIN_FALLBACK_INTERVAL_SECONDS=10
|
|
JELLYFIN_TIMEOUT_SECONDS=60
|
|
|
|
# Ordinary Jellyfin tags are passed to the captioner as context hints.
|
|
JELLYFIN_TAG_CONTEXT=true
|
|
|
|
# Optional comma-separated tags that should always use the specialist captioner.
|
|
JELLYFIN_SPECIALIST_TAGS=
|
|
|
|
# Reserved control tags. Add these directly to a Jellyfin item when needed.
|
|
JELLYFIN_FORCE_SPECIALIST_TAG=scene-search:specialist
|
|
JELLYFIN_FORCE_GENERAL_TAG=scene-search:general
|
|
JELLYFIN_SKIP_TAG=scene-search:skip
|
|
|
|
# HTTP search API used by the Jellyfin plugin
|
|
SCENE_API_HOST=127.0.0.1
|
|
SCENE_API_PORT=8097
|
|
# Optional but recommended. When set, /api/search and thumbnails require
|
|
# Authorization: Bearer <key> or X-Scene-Search-Key: <key>.
|
|
SCENE_API_KEY=
|