[feat]: Infinite queue that keeps adding songs in the style of what I'm listening to

Open
#613 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
macos, swift
Domain
full-stack

Research direction

Start by reading the playback and queue code, then trace how Apple Music and Spotify provide recommendations and how finished songs update the queue. Build and test the mode against the real queue scenarios listed in the issue, including manual additions and skips. Done means the queue keeps matching the recent listening style, avoids recently heard duplicates, preserves manually added songs, and stops adding tracks when turned off; explain Spotify's fallback in the app.

Written by the indexing model from the issue text.

Description

enhancement priority:critical status:in-progress
Area

playback / queue

Problem

When I'm in a mood, I want the music to just keep going in that style. Right now Repeat only replays what's already in the queue, and "More from your library" starts from one song and only uses music I already saved. Neither keeps going by itself, and neither finds new songs.

What I want: I add a few songs I like in a certain style (say 4), I turn on an "infinite" mode, and Spotiglass finds more songs like those and adds them to the queue. From then on, every time a song finishes, another one in the style of what's in the queue (the last 10 to 20 songs or so) gets added at the end. The queue never runs out and stays in the same vibe, a bit like Autoplay in the Apple Music app.

What done looks like
  • There's one obvious way to turn infinite mode on and off next to the queue, and it's clear when it's on.
  • With it on, the queue fills up from the songs I seeded, including songs I don't have saved yet, and it never runs dry while it's on.
  • Each finished song adds a new one that matches the style of the recent queue, so if I steer it by adding a few songs, it follows.
  • No duplicates of what I just heard. Songs I added myself stay where I put them.
  • Turning it off stops adding songs. What's already queued stays.
  • Works with Apple Music. For Spotify, do the best the app can actually reach. Spotify's recommendations endpoint is closed to new apps (#102), so say in the app what infinite mode uses there instead of quietly doing less.
  • Tested with real queues: a 4-song seed, a long session where many songs finish, skipping songs, and adding songs by hand while it's on.
Dominant language
Swift
Stars
9
Forks
3
Avg merge
5h 37m
Merged PRs (30d)
111

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from isaaclins/wax

All issues in isaaclins/wax

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.