Skip to content

Conversation

@greeeeeenbean
Copy link

@greeeeeenbean greeeeeenbean commented Jul 13, 2025

Hi all,

I really wanted to have a way to see the queue and interact with it outside of the dropdown menu. I will be 100% honest, about half of this is ollama assisted, I'm not primarily a QT dev so this was mostly for my use. Feel free to decline :P

Here's a few screenshots:

image image

Features include:

  • It's a dockable widget, I played around with parenting it to the search window but I kind of like being able to move it... I still have that version if y'all want to see
  • Skip directly to song in queue by double clicking or right click > skip (Unfortunately I couldn't figure out how to skip directly to the song and preserve the queue, so instead I skip N times to the selected song, preserving the queue.
  • Setting to swap "Song Name - Artist Name" to "Artist Name - Song Name"
  • Queue refreshes live when you switch songs

Edit... forgot to add I also added a live search feature requested in #243

@greeeeeenbean greeeeeenbean changed the title Initial work on a queue feature Initial work on a queue sidebar panel Jul 22, 2025
@greeeeeenbean
Copy link
Author

Hey @kraxarn! Any thoughts on this? Happy to jump into discord or something to discuss

Copy link
Owner

@kraxarn kraxarn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry it took so long to get around to this, life tends to happen 😅

I think the main problem I have with this PR is that it does too much. Too many unrelated features are combined in a single PR, which makes it difficult to review and track changes made. There are also some changes I'm not quite sure if I want, like live search, and I'm not sure if I get the entire point of having a dedicated list for the queue.

set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)

list(APPEND CMAKE_PREFIX_PATH "~/Qt/6.3.0/gcc_64")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be in the PR :)

/**
* Swap song name and artist name order in queue (Artist - Song instead of Song - Artist)
*/
bool queue_swap_name_format = false;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding new settings would be a breaking change that I'm not ready to merge right now, but I'm also not really sure if I like this, as it's a bit too specific

new MainMenuBar(spotify, settings, httpClient, cache, this);
}

// Queue dock widget is initially hidden and can be toggled via the toolbar button
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments like these exist in a couple of places that provide no additional information that the code itself already doesn't, comments are for describing why, not what.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants