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
7.77k stars 470 forks source link

[Feature Request] Elgato Streamdeck Control #2042

Closed BluesBroBo closed 3 months ago

BluesBroBo commented 3 months ago

Preflight Checklist

Problem Description

A plugin to control the app via an Elgato Stream Deck.

Proposed Solution

Control should allow to:

Play/Pause current song Skip current song Go back to previous song Volume Control Activate/Deactivate loop Start a specific playlist Shuffle Perhaps activate/deactivate certain plugins?

Alternatives Considered

Alternatively, being able to control the app via a cmd would allow to create something similar.

Additional Information

No response

ArjixWasTaken commented 3 months ago

Blocked by https://github.com/th-ch/youtube-music/pull/1909

ArjixWasTaken commented 3 months ago

(blocked means that another issue/PR must be first resolved/merged before this can be dealt with)

JellyBrick commented 3 months ago

Duplicate of #1345

JustMrPhoenix commented 3 months ago

Sorry for posting on a closed issue but I want the OP and people finding this issue later to know there is a way to do most of the features without waiting for a plugin/API. What you can do right now (with the latest release version) is to use youtubemusic protocol to perform actions from here. What you need to do is to get a plugin that can handle this properly. I use streamdeck plugin called ScriptDeck to start a new process with a protocol. For example I have it run youtubemusic://playPause to play/pause. You can also pass arguments like this youtubemusic://setVolume 25. It does have a tiny delay but most of the stuff you asked is doable with this method. Here is an example of how i have it configured image