Stop tracking user-specific files (config, database, logs)

Co-Authored-By: Antti <12547765+kettui@users.noreply.github.com>
This commit is contained in:
Broque Thomas 2026-04-06 09:33:14 -07:00
parent 91f662646b
commit f3f0234628
4 changed files with 10 additions and 75 deletions

10
.gitignore vendored
View file

@ -10,5 +10,15 @@ __pycache__/
# Encryption key (generated per-instance, lives next to database)
.encryption_key
# User-specific files (auto-created by the app if missing)
config/config.json
database/music_library.db
database/music_library.db-shm
database/music_library.db-wal
database/music_library.db.backup_*
database/api_call_history.json
logs/*.log
logs/*.log.*
# Auto-downloaded binaries
bin/

View file

@ -1,65 +0,0 @@
{
"active_media_server": "plex",
"spotify": {
"client_id": "SpotifyClientID",
"client_secret": "SpotifyClientSecret",
"redirect_uri": "http://127.0.0.1:8888/callback"
},
"tidal": {
"client_id": "TidalClientID",
"client_secret": "TidalClientSecret",
"redirect_uri": "http://127.0.0.1:8889/tidal/callback"
},
"plex": {
"base_url": "http://192.168.86.36:32400",
"token": "PLEX_API_TOKEN",
"auto_detect": true
},
"jellyfin": {
"base_url": "http://localhost:8096",
"api_key": "JELLYFIN_API_KEY",
"auto_detect": true
},
"navidrome": {
"base_url": "http://localhost:4533",
"username": "NAVIDROME_USERNAME",
"password": "NAVIDROME_PASSWORD",
"auto_detect": true
},
"soulseek": {
"slskd_url": "http://host.docker.internal:5030",
"api_key": "SoulseekAPIKey",
"download_path": "/app/downloads",
"transfer_path": "/app/Transfer",
"search_timeout": 60,
"search_timeout_buffer": 15
},
"logging": {
"path": "logs/app.log",
"level": "INFO"
},
"database": {
"path": "database/music_library.db",
"max_workers": 5
},
"metadata_enhancement": {
"enabled": true,
"embed_album_art": true
},
"file_organization": {
"enabled": true,
"_template_variables": "Available: $artist, $albumartist, $artistletter, $album, $title, $track, $disc, $year, $playlist, $quality (filename only)",
"templates": {
"album_path": "$albumartist/$albumartist - $album/$track - $title",
"single_path": "$artist/$artist - $title/$title",
"compilation_path": "Compilations/$album/$track - $artist - $title",
"playlist_path": "$playlist/$artist - $title"
}
},
"playlist_sync": {
"create_backup": true
},
"listenbrainz": {
"token": "LISTENBRAINZ_TOKEN"
}
}

View file

View file

@ -1,10 +0,0 @@
2025-07-08 23:06:53 - newmusic - INFO - setup_logging:57 - Logging initialized with level: INFO
2025-07-08 23:06:53 - newmusic.main - INFO - main:259 - Starting NewMusic application
2025-07-08 23:06:53 - newmusic.spotify_client - WARNING - _setup_client:69 - Spotify credentials not configured
2025-07-08 23:06:53 - newmusic.plex_client - WARNING - _setup_client:73 - Plex server URL not configured
2025-07-08 23:06:53 - newmusic.soulseek_client - INFO - _setup_client:88 - Soulseek client configured with slskd at http://localhost:5030
2025-07-09 11:26:03 - newmusic - INFO - setup_logging:57 - Logging initialized with level: INFO
2025-07-09 11:26:03 - newmusic.main - INFO - main:259 - Starting NewMusic application
2025-07-09 11:26:03 - newmusic.spotify_client - WARNING - _setup_client:69 - Spotify credentials not configured
2025-07-09 11:26:03 - newmusic.plex_client - WARNING - _setup_client:73 - Plex server URL not configured
2025-07-09 11:26:03 - newmusic.soulseek_client - INFO - _setup_client:88 - Soulseek client configured with slskd at http://localhost:5030