$ show b4ird/spotify_sync
spotify_sync is a CLI application that downloads Spotify-liked songs and playlists by matching them to Deezer equivalents via ISRC and downloading the matched tracks. It features a modular architecture with separate components for Spotify API interaction, Deezer matching/downloading, persistent data storage, and configuration management. Key features include multi-threaded downloading, scheduling, Pushover notifications, and Plex library scanning via Autoscan. The application supports multiple profiles for different Spotify accounts and includes robust configuration validation with legacy migration capabilities.
The LLM identified 3 files worth highlighting for reuse:
Manages configuration loading, validation, and profile management. Supports multiple profiles, JSON schema validation, automatic legacy format migration, and environment variable overrides. Demonstrates isolated, reusable configuration logic with clear separation of concerns.
Abstracts persistent data operations for Spotify songs, processed songs, playlists, and OAuth tokens. Provides methods to load/save JSON data, manage file paths, and create backups/restores. Shows clean separation of data access layer from business logic.
Implements Spotify-to-Deer matching using ISRC and fuzzy search with concurrent processing. Handles API errors, validates match results, and updates processed song metadata. Exhibits reusable matching logic with proper threading and error resilience.