flecs icon indicating copy to clipboard operation
flecs copied to clipboard

[Feature Request]: Allow opening URLs directly

Open Bluscream opened this issue 1 year ago • 3 comments

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

Bluscream avatar Jul 03 '24 05:07 Bluscream

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

ArjixWasTaken avatar Sep 04 '24 23:09 ArjixWasTaken

I'm fine with any internal implementation aslong as it achieves the end goal. My recommendation was just an example

Bluscream avatar Sep 05 '24 03:09 Bluscream

Yes please!

ghost avatar Mar 23 '25 14:03 ghost