initial commit
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I4a6b498153eccd5407510dd541b7f4816a6a6964
This commit is contained in:
commit
6a73d11c4b
124 changed files with 34856 additions and 0 deletions
46
pinakes.toml.example
Normal file
46
pinakes.toml.example
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Pinakes Configuration
|
||||
# Copy this file to pinakes.toml and adjust values as needed.
|
||||
|
||||
[storage]
|
||||
# Storage backend: "sqlite" or "postgres"
|
||||
backend = "sqlite"
|
||||
|
||||
[storage.sqlite]
|
||||
# Path to the SQLite database file
|
||||
path = "pinakes.db"
|
||||
|
||||
# Uncomment and configure for PostgreSQL backend:
|
||||
# [storage.postgres]
|
||||
# host = "localhost"
|
||||
# port = 5432
|
||||
# database = "pinakes"
|
||||
# username = "pinakes"
|
||||
# password = "secret"
|
||||
# max_connections = 10
|
||||
|
||||
[directories]
|
||||
# Root directories to scan for media files
|
||||
roots = [
|
||||
"/home/user/Music",
|
||||
"/home/user/Documents",
|
||||
"/home/user/Videos",
|
||||
]
|
||||
|
||||
[scanning]
|
||||
# Watch directories for changes
|
||||
watch = true
|
||||
# Polling interval in seconds (used as fallback when native fs events unavailable)
|
||||
poll_interval_secs = 300
|
||||
# File patterns to ignore during scanning
|
||||
ignore_patterns = [
|
||||
".*",
|
||||
"node_modules",
|
||||
"target",
|
||||
".git",
|
||||
]
|
||||
|
||||
[server]
|
||||
# Server bind address
|
||||
host = "127.0.0.1"
|
||||
# Server port
|
||||
port = 3000
|
||||
Loading…
Add table
Add a link
Reference in a new issue