Skip to content

Spotify Integration for lofi background music #4

@KnextKoder

Description

@KnextKoder

Minimalist Background Music Player (Lo-fi / Spotify Integration)

Add a background audio feature to help users maintain focus. The goal is to provide a low-friction, "set it and forget it" acoustic environment, specifically utilizing lo-fi beats or a Spotify integration.

To prevent the tool itself from becoming a source of procrastination, the player should intentionally lack "active listening" controls (like skip or previous buttons), encouraging a "flow state" rather than active playlist management.

The feature should focus on two potential implementation paths:
Local Lo-fi Player (Priority):
* A built-in player that pulls from a curated library of offline lo-fi tracks.
* Controls: Simple Play/Pause and Stop buttons only.
* Fixed Volume: The audio should play at a consistent, non-adjustable "background" level (e.g., 10-15%) to ensure it stays unobtrusive.
* Anti-Distraction Design: No "Next" or "Previous" buttons to prevent users from constantly hunting for a different song.


User Requirements

  • Minimalist UI: A small, toggleable widget in the middle of the bottom navbar between the font settings and the application settings. The audio player UI should automatically hide when a user begins typing, and animate into view when the mouse is moved.
  • Offline Capability: The local player should function without an internet connection.
  • Persistent State: The player should remember its play/pause state across sessions (optional).

Use Case

"As a user, I want to listen to consistent background music while I work without the temptation to constantly skip tracks or manage a complex music app, so that I can maintain my deep work state."


Implementation Suggestions

  • Audio Library: Use royalty-free lo-fi tracks to avoid licensing issues for the open-source repo.
  • Volume Normalization: Ensure all local tracks are leveled to the same decibel range.
  • Toggle: Add a setting to enable/disable the music module entirely for users who prefer silence.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions