Spotify IPC Handler Module

Establishes communication channels between renderer and main processes for all Spotify-related operations including authentication, playback, and library management.

Core functionality:

  • Authentication flow management (login, token refresh, logout)
  • Playback controls (play, pause, skip)
  • Token management and persistent storage
  • Current playback information retrieval
  • Skip tracking data management
  • Statistics collection and retrieval

This module creates a bridge between the UI and the Spotify API services, handling all IPC communication for Spotify-related functionality.

Functions

setupSpotifyIPC