flecs
flecs copied to clipboard
[Feature Request]: Allow opening URLs directly
Preflight Checklist
- [X] I use the latest version of YouTube Music (Application).
- [X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Problem Description
I would like to be able to open links directly with youtube-music from commandline. Whenever i want to open a direct url, i have to open devtools and do allow pasting and window.location.href = %url% manually
Proposed Solution
ability to open urls like
"C:\Users\blusc\AppData\Local\Programs\youtube-music\YouTube Music.exe" https://music.youtube.com/watch?v=GZPRrYLGrhI&t=2s
and internally it should basically do window.location.href = %url%
Especially useful for something like Browser Tamer
Alternatives Considered
None
Additional Information
No response
Personally I believe that internally it should parse the url, and call the corresponding method to load the given track/album/artist using their ID
The player API should have methods for playing a track by its ID (and adding a track to the queue, etc)
Might be better to do that, since it would avoid a full-page reload
I'm fine with any internal implementation aslong as it achieves the end goal. My recommendation was just an example
Yes please!