diff --git a/.gitignore b/.gitignore index 7a5ffa29..a4e0f72a 100644 --- a/.gitignore +++ b/.gitignore @@ -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/ diff --git a/config/config.json b/config/config.json deleted file mode 100644 index 84779837..00000000 --- a/config/config.json +++ /dev/null @@ -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" - } -} \ No newline at end of file diff --git a/logs/app.log b/logs/app.log deleted file mode 100644 index e69de29b..00000000 diff --git a/logs/newmusic.log b/logs/newmusic.log deleted file mode 100644 index d2293c5b..00000000 --- a/logs/newmusic.log +++ /dev/null @@ -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