I just noticed that the shortcuts plugin doesn't work on Wayland, with these flags: --enable-features=UseOzonePlatform --ozone-platform=wayland
in .config/youtube-music-flags.conf
Git Clone URL: | https://aur.archlinux.org/youtube-music-bin.git (read-only, click to copy) |
---|---|
Package Base: | youtube-music-bin |
Description: | YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader) |
Upstream URL: | https://th-ch.github.io/youtube-music |
Licenses: | MIT |
Conflicts: | youtube-music |
Provides: | youtube-music |
Submitter: | hb20032003 |
Maintainer: | yochananmarqos |
Last Packager: | yochananmarqos |
Votes: | 40 |
Popularity: | 1.38 |
First Submitted: | 2020-11-29 17:54 (UTC) |
Last Updated: | 2024-06-08 15:03 (UTC) |
I just noticed that the shortcuts plugin doesn't work on Wayland, with these flags: --enable-features=UseOzonePlatform --ozone-platform=wayland
in .config/youtube-music-flags.conf
The adblocker stopped working, ive tried the player and blocklist modes
@MartinX3 the same error. It happens after installing electron package because Youtube Music start script now wants electron22.
Revert #12 string to:
exec /opt/YouTube\ Music/youtube-music $YOUTUBE_MUSIC_USER_FLAGS "$@"
in /usr/bin/youtube-music fixes the issue with no needed electron package installed.
https://aur.archlinux.org/cgit/aur.git/commit/?h=youtube-music-bin&id=bb1d63ec4b4bb92932e164d81183774e53f98cd3 changed $XDG_CONFIG_HOME/youtube-music-flags.conf
to $XDG_CONFIG_HOME/chrome-flags.conf
making the app read the chrome flags :)
Please fix that.
Error launching app
Unable to find Electron app at /usr/lib/youtube-music/app.asar
Cannot find module '/usr/lib/youtube-music/app.asar'
Require stack:
- /usr/lib/electron/resources/default_app.asar/main.js
-
@boredland: Nice catch! I like setconf
better for things like this, though.
very nice, thanks a lot @yochananmarqos! I think we'd need to additionally replace the path inside the .desktop file:
sed -i 's,/opt/YouTube Music/,,' "$pkgdir/usr/share/applications/${pkgname%-bin}.desktop"
@boredland: Hey, Jonas! Not a bad idea. It's now implemented.
Hi there! It would be very cool if we could have a .config/youtube-music-flags.conf
where one could put some wayland electron flags for example. The chrome AUR package is doing that using a little wrapper script (google-chrome-stable.sh
: https://aur.archlinux.org/packages/google-chrome).
i did package update (pacman -Syu, yay -Syu) and somehow discord plugin doesn't work with RPC_CONNECTION_TIMEOUT message, any idea how to fix that?
Pinned Comments
yochananmarqos commented on 2022-01-02 16:15 (UTC) (edited on 2022-01-02 16:16 (UTC) by yochananmarqos)
Please do not flag this out of date for pre-releases. The developer will normally mark them as the official release soon after if there are no issues.