They don’t work for me even when the window is in focus and selected, even testing an install in devmode
Checking the winehq page, it looks like there was an issue for it here (#16367). Reading through their discussion, I tested that the media buttons do work IF I have the window in focus and press Ctrl+[media]. It was supposedly fixed in wine version 1.7.47 - what version is the foobar snap using? If it’s earlier could you test it?
If not it may have been explicitly broken by the related issue (#1348), where they implemented a hack so it would ignore Ctrl+# commands without focus (I guess apps like photoshop were responding to Ctrl+Z and the like when they didn’t have focus).
I don’t know how to check the version the snap is using, but if it’s up to date I’ll update the ticket on the issue.
Also, jank way to fix this: foobar2000 does support command line arguments. For now at least, (in Ubuntu 18.04) I just set up four custom keyboard shortcuts (and disabled the default play/pause/stop/next/prev buttons) and added:
This of course works everywhere and regardless of focus, but the side effect is that if you press one of these while foobar is closed, it will open foobar - and this will override any other media player actions. For my case it’s fine though since it’ll (continue to be) my dedicated media player.
Secondary minor issue though: it doesn’t support WMA files out of the box
I’ve fixed the WMA and WMV playback support should work now and make sure you remove .wine folder from ~/snap/foobar2000/common before launching player with new changes & snap is using the wine-stable 3.0.2.
Earlier I said media keys are working when player is focused those were dedicated multimedia keys on keyboard not shortcut keys.
Ah - ok, so the default shortcuts settings must have been intercepting the media keys on the OS layer, unless paired with something else making it unassigned. Disabling all the relevant shortcuts makes the keys work like you said: by themselves, if foobar2k is in focus. Thanks for the version info, I’ll see about updating the ticket on winehq.
Also thanks for the update for WMA - that was fast, and it works perfectly!
Hi, it works so far, but I cannot add folders to my media library which are stored on a NAS. I can see the folders, but I get an error message after adding them. Also, foobar won’t play files from the NAS when I drag and drop them into the playlist. Any idea how to solve this?
P.S. in the console it says “folder watching failure: access denied”
I checked this and I can say that you cannot convert audio from CD and cannot copy tracks from CD into computer. Maybe you need some help with this issue?
I can’t write ID3 tags to my audio files on my NAS. Does the snap need explicit permissions to be able to write to files on an external storage? I’m using smb://servername/folder to access the files
Thank you very much, I was having an issue with foobar not being able to access my partitions / removable media and this absolutely fixed it. Very helpful!
Foobar is acting a bit strange. Regarding my last messages, I’m again getting just a blank window with only the titlebar when launching Foobar2k. No errors in the console. The solution i found (except for the reinstall) was to run foobar2000 from the terminal with an audio file as parameter (maybe because it clears the old playlist?). ive not encountered this kind of issue before wine6 was introduced.
That blank issue could have caused by update that I did revert wine version to 3 but later reverted back to 6, I was testing audio issue which wine 3 fixes it but unfortunately it introduce other issue.
Regarding adding files to playlist I’ve added new changes to f2k snap which should now show Enqueue in foobar2000 in right click on files/dirs using openwith. So using foobar2000 only with parameter or with openwith will replace current playlist.
if you still want to add files using terminal then do this
Is there any way of getting Foobar2k to work with Bluetooth media controls (Headphones pause/play/volume)? It’s enabled in the foobar2k settings, so it might be the something to do with wine settings or linux bt drivers?
About keyboard media buttons, I’m not sure everyone has the same behavior, but mine aren’t working in snap foobar2000, even when the player window is focused, though they work perfectly outside (with other players).
If it works for nearly everyone when it’s focused, then what am I missing ?
If not, any news, in three years, about the wine/snap issue around these buttons ?
Other issue (though I’m not sure it’s the right thread for that, sorry if not) : foobar2000 will not add a library element to the playlist on a double click, though it does alright on Enter.
Known bug or am I again missing something ?