Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.
This repository was archived by the owner on Dec 10, 2025. It is now read-only.

🎵 Spotify: Background playback without active browser tab #7

Description

@jordanpartridge

Problem

Safari requires tab to be active/focused for Spotify Web Player to continue playback. This negates memory savings vs Electron app.

Solution

Add spotify:background command to THE SHIT that maintains playback in background process

Quick Win

💩 spotify:background start  # Starts hidden Safari/Chrome instance
💩 spotify:background stop   # Kills background process
💩 spotify:background status # Shows if running

Implementation

  • Use caffeinate to prevent macOS audio sleep
  • Minimized Safari window or headless Chromium
  • PID tracking for process management
  • < 500MB memory usage (vs 1GB+ for Electron app)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions