th-ch / youtube-music

YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)
https://th-ch.github.io/youtube-music/
MIT License
8.25k stars 485 forks source link

[Feature Request]: Maybe YT Music x BetterDiscord/Vencord? #1897

Open patYczakus opened 6 months ago

patYczakus commented 6 months ago

Preflight Checklist

Problem Description

I see Discord plugin SpotifyControls, which control the music from Spotify. I had an idea to make similar plugin to BetterDiscord/Vencord and maybe to YouTube Music (or built-in function).

Proposed Solution

The best option for me would be to do the communication to the Discord plugin via some sort of API.

Alternatives Considered

Alternatively, it can be done by reading/saving a file located in a certain place.

Additional Information

No response

trademarkowo commented 6 months ago

Spotify controls powered by Spotify api, if u want this make discord plugin lol

h-banii commented 6 months ago

I'm not familiar with what Better Discord plugins are allowed to access, but maybe you could try using MPRIS to do it? You can play/pause, prev, next, shuffle, set position offset (+/-) with it.

Also, does it need to be inside discord? I personally just use it on my taskbar (through mpris). image It feels more convenient, but it's just a suggestion, I don't know about your case...

Good luck!

ArjixWasTaken commented 6 months ago

Might work on it

patYczakus commented 6 months ago

Spotify controls powered by Spotify api, if u want this make discord plugin lol

Bro thinks I can make this easily 💀

patYczakus commented 6 months ago

I'm not familiar with what Better Discord plugins are allowed to access, but maybe you could try using MPRIS to do it? You can play/pause, prev, next, shuffle, set position offset (+/-) with it.

Also, does it need to be inside discord? I personally just use it on my taskbar (through mpris). It feels more convenient, but it's just a suggestion, I don't know about your case...

Good luck!

  1. BetterDiscord in my computer isn't that laggy at all
  2. I only want changing it in Discord, adding it to my taskbar will cause just a mess

But thanks to proposition anyway <3