Skip to content

feature: endless playback #13

Description

@s9swata

Feature Request: Endless Playback Feature

Description

As a user of the ethos, I would like to have an endless playback feature that automatically queues related songs or playlists once the current queue ends. This feature ensures uninterrupted music playback and enhances the overall listening experience.

Proposed Implementation

  1. Algorithm for Queueing:

    • Fetch related songs based on the current song’s genre, artist, or user preferences using Spotify’s Recommendations API.
    • Alternatively, auto-play a specified playlist when the queue is empty.
  2. Settings Toggle:

    • Add a user-configurable option in the app’s settings to enable or disable endless playback.
    • Default state: Disabled.
  3. Integration:

    • Monitor the queue and trigger the endless playback logic when the queue is about to end.
    • Notify the user (e.g., via terminal message) that endless playback has been activated.

Potential Challenges

  • Managing API rate limits when fetching recommendations.
  • Handling edge cases where recommendations may not be available.
  • Ensuring a smooth transition between queues.

Additional Context

  • This feature could work similarly to Spotify’s built-in Autoplay function.
  • Example scenario: If a user listens to a single song or a short playlist, the endless playback feature would queue related tracks to maintain the flow.

References

Acceptance Criteria

  • Endless playback feature is implemented and functional.
  • Users can enable or disable the feature via the settings.
  • A message is displayed when endless playback is activated.
  • Relevant tracks are queued seamlessly without interrupting playback.

Priority

  • Future

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions