Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset the song list index when a subreddit is added or removed. #7

Open
Illyism opened this issue Jun 14, 2015 · 0 comments
Open

Reset the song list index when a subreddit is added or removed. #7

Illyism opened this issue Jun 14, 2015 · 0 comments

Comments

@Illyism
Copy link
Member

Illyism commented Jun 14, 2015

When I add or remove a subreddit from the selected subreddits, the song list index does not reset.
In other words, I add three subreddits (A, B, C). I then listen until song 20 in the song list. I then change my selected subreddits to (X, Y, Z). The song list ignores the first 20 songs (which are now X, Y and Z) and plays song 21.
I would expect the song list index to reset to the first unplayed song in the list (0 in this example).>
In case of subreddit change (A,B,C) --> (B,X,Y,Z) , shuffle all unplayed B into X, Y and Z and reset index to 0.

Illyism added a commit that referenced this issue Jul 10, 2019
Update dependency tslint to v5.18.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant