-
Notifications
You must be signed in to change notification settings - Fork 224
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
Add ability to add to queue #471
Conversation
This looks good but it sure would be nice to see the queue as a view. I'm wondering how difficult it would be to create a list page for a view of this queue? I could see us merging this feature before that, but it would feel incomplete... @Insprill what do you think? |
I just realised that the queue isn't held when switching to another playlist or clicking on another song to play now so I will quickly fix that. |
It will take me a decent amount of time to get it so it can keep the queued song so it can be played next in a playlist the song isn't in. |
…it passes the song so it can be displayed in the corner
Okay, so I have added some updates to my code, the added queue is added to a new vector which means it can be held in place, additionally it means that I used the push_back method meaning that it doesn't make it play next, rather more like the official client it adds at the end of a user created queue... I hope that makes sense, but it is a lot better now. |
Really excited to have a look at this today @SO9010 ! |
It seems like queuing, switching contexts (to a different playlist or album) and then adding again to the queue causes past queued items to disappear. Is this not the case in your behavior? |
…ent album, retains added queue.
Hello, sorry this was an oversight! I assumed that the user would want to have the queue reset when they change the playlist. But that would be counter-intuitive. I have fixed this issue. I'm sorry if this is very time-consuming for you, I'm still pretty new to open-source contribution. |
I just tested this out and it feels right to me! Looking over the code now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good for the most part! Just some linting cleanup that needs to happen (use the standard linter) and just some clarification on the arch decisions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, looks good!
Thank you so much!!!! |
This adds the ability to right-click on a song and add it to play next in the queue. Please do leave me feedback and critiques as this is my first time programming in rust!
Solves #431 !