-
Notifications
You must be signed in to change notification settings - Fork 180
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 an "enqueue" action to the context menus #3067
base: master
Are you sure you want to change the base?
Conversation
Not tested yet as I can't figure out how to build the project |
In theory, you can test this just by adding such desktop file to an existing install, since this doesn't change any code that requires building. |
I'm not entirely sure that this will add this new file properly - I've added it to the makefile, but I don't know if that's enough. Then I've noticed that the build process is not so straightforward anyway, so I should work on that as well anyway. |
Oh, another note: not even my Chinese-speaking friend was able to figure out what's the Chinese for "Enqueue". In qmmp, it's written like this: |
Maybe we can just change "Qmmp" to "DeaDBeeF" here, and hope that whatever this says is not very far from the usual "Enqueue" message... |
Google translate says it's "Add to Qmmp playlist" |
Today I was trying various music players for Linux, to finally choose one and use something other than smplayer. DeaDBeeF was an immediate clear winner - unlike every other one, DeaDBeeF has no bugs that I immediately noticed, it has all its functions function properly, and it has a lot of useful capabilities. Thank you for this project! The only two things I could wish for is this, which I could figure out myself, and being able to bulk-remove MP3 tags from multiple files in one click, like foobar2000 did. But it's probably possible with two or three clicks - I'll try that later. |
I gave up trying to run the existing build pipeline, which means I can't test this "properly". Could I ask you to build the package? I have a machine to test it on. Also, would there be any interest in having proper Debian packaging? So that the package can be build using the standard Debian workflow. I might want to attempt it once I have a little more time, but I should ask in advance in case there is already a deliberate decision not to have it. |
The build pipeline is configured to only build packages of releases with proper version number -- so I can't do it easily. A question about the PR itself: Is there a reason to do this as a separate .desktop file? Wouldn't it also work just fine if you add the new action to existing desktop file? |
I can do As I understand it, those "Actions" are additional items listed when you right-click the desktop entry. And what we want is not an "action" - we want a new "desktop entry" that can be assigned as an "installed application to open files with", and has applicable MIME types associated with it, and all that. That's how this is done in QMMP, where it works, and which I used as an example. |
I can confirm that this PR is not enough to include the new desktop file in the arch and deb packages.
This should produce a deb package which you could then unpack and validate. |
I've managed to build the package - but only on Ubuntu 18.04, and only after modifying To avoid saying "build fails" without the actual reason: the 18.04 build with GTK3 enabled failed with this:
Indeed, as I feared, the new file is not picked up - but the problem is not the packaging, it's automake:
And I've confirmed that you can NOT have multiple "desktop entries" in one I'll be back once I get more familiar with autotools. 🙂 Unless you know how to fix that. I thought specifying the file in |
Add an "Enqueue" action to the context menus of files and also directories on Linux.