YTMD-StreamDeck icon indicating copy to clipboard operation
YTMD-StreamDeck copied to clipboard

[FEATURE]: Set autoplay playlist

Open emilioagustin opened this issue 3 years ago • 8 comments

Consent

  • [X] I have searched the existing issues and verified that there is no open issue for the same subject.
  • [X] I understand that the YTMDesktop Elgato Plugin has NO affiliation with Google, YouTube or the YTMDesktop application.

Feature

I will like to select a custom playlist for playing specific music from Stream deck

Thanks and great work

Solution

No response

Alternatives

No response

Anything else?

No response

emilioagustin avatar Feb 15 '22 09:02 emilioagustin

YTMDesktop already supports this feature standalone (without the need of plugins). You just have to create a action that opens ytmd://play/<VideoID>/<PlaylistID>.

<VideoID> is your desired video Id (the entry / first video in the Playlist as example) and <PlaylistID> is the playlist id.

XeroxDev avatar Feb 15 '22 09:02 XeroxDev

Thanks my friend but this command crashes, I have put this:

ytmd://play/PLHrFvO1TALRjaDVjHEIku7PfBYvfg-Wph

And when we open the app throws this:

image image

Other thing its that you can´t use this command automatically by Stream deck because Chrome throws a popup for confirming open ytmd app

image

emilioagustin avatar Feb 15 '22 09:02 emilioagustin

This error message is a known bug in the YTMDesktop Application (see ytmdesktop/ytmdesktop#464) but got (as far as I know) fixed in their Beta / Nightly release (I would recommend to download the latest (nightly/pre-)release in their release tab.

About the "open it instantly in the YTMDesktop app", I've to ask the developers of YTMDesktop, if they have a workaround for you.

XeroxDev avatar Feb 15 '22 11:02 XeroxDev

Ok, I have downloaded the nightly version and this bug its fixed. I am waiting for your response about the popup.

Thanks bro!

emilioagustin avatar Feb 15 '22 11:02 emilioagustin

I had contact with one of the developers.

Could you try the run action, instead of a browser / url action?

XeroxDev avatar Feb 15 '22 13:02 XeroxDev

I have ran the action from the Windows run app and works perfect but it doesnt work like it should. I cant call a run script from stream deck. I have tested the API but fails to set the playlist, only works for query and other features.

Waiting for news Thanks a lot!

emilioagustin avatar Feb 15 '22 13:02 emilioagustin

YTMDesktop is currently working on expanding the API for third-party developers (like me) and one of the new endpoints are for this kind of features. If it is getting released (see ytmdesktop/ytmdesktop#845) I'll hop on a feature to simplify it. In the meantime I set this issue to "blocked" and we've to use the workaround with the ytmd://play url and wait for it to release.

XeroxDev avatar Feb 15 '22 15:02 XeroxDev

Perfect my friend, waiting for news!!

emilioagustin avatar Feb 15 '22 15:02 emilioagustin

Hey! I'm currently working on the V2 support and tried to implement your suggested feature.

Sadly I've to inform you, that it's not possible to implement this in the current plugin architecture. I've tried it in multiple ways but it seems no matter what I try, I can't use custom URI schemes (the only thing YTMDesktop supports to do something like that). Elgato seems to block it and like mentioned before, YTMDestkop, even in V2, doesn't support such things through their API.

That's why I've considered to /close this issue for now. I'll re-investigate it in the future to look if support gets added.

XeroxDev avatar Feb 10 '24 18:02 XeroxDev

I hope that you found a solution ! thanks for everything

Fefedu973 avatar Mar 10 '24 14:03 Fefedu973

I hope that you found a solution ! thanks for everything

Nothing changed since I closed this sadly. Until they add a possibility, it's not possible.

XeroxDev avatar Mar 10 '24 14:03 XeroxDev

I hope that you found a solution ! thanks for everything

Nothing changed since I closed this sadly. Until they add a possibility, it's not possible.

Have you asked the YTMD devs if it could be implemented?

Fefedu973 avatar Mar 10 '24 15:03 Fefedu973

Sure. They confirmed they will implement it, but not when.

XeroxDev avatar Mar 10 '24 15:03 XeroxDev

Ok nice. Thanks !

Fefedu973 avatar Mar 10 '24 15:03 Fefedu973