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.02k stars 427 forks source link

[Feature Request]: Allow opening URLs directly #2199

Open Bluscream opened 6 days ago

Bluscream commented 6 days ago

Preflight Checklist

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