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
9.02k stars 511 forks source link

[Feature Request]: Ability to add custom website in player #2535

Open Akv2021 opened 1 month ago

Akv2021 commented 1 month ago

Preflight Checklist

Problem Description

Currently, the app lacks the ability to add custom websites, such as noise blockers that provide soothing background sounds for focused work. Although focus playlists are also available on YouTube Music but the recommendations are distracting.

Proposed Solution

Introduce a plugin or inbuilt app feature that allows users to open custom websites directly within the music player. This feature would load the entire website in the player, enabling users to access noise blockers or other focus-oriented audio sources without leaving the app. For eg. This website offers tracks and has inbuilt player options.

Alternatives Considered

Can allow support for directly playing track on a specified URL. The user can access all saved URLs from a "Bookmarked Links" page.

Additional Information

No response

ArjixWasTaken commented 1 month ago

Technically you can load other websites, but that's not intentional.

Akv2021 commented 1 month ago

How ? I looked around but didn't find any plugin/setting to achieve this.

h-banii commented 4 weeks ago

How ? I looked around but didn't find any plugin/setting to achieve this.

it's not a plugin/setting, it's more like a side-effect of this being a wrapper around the youtube music website

https://github.com/user-attachments/assets/b58b1f54-9293-414d-96c3-2d236ee7db0b

Akv2021 commented 4 weeks ago

Great Thanks !!

ArjixWasTaken commented 4 weeks ago

I don't really see the reason anyone would do this over straight up using chrome/firefox.

Akv2021 commented 3 weeks ago

You're right. Generally someone will prefer a browser. However, having a dedicated app to only drown out noise helps to avoid distractions for focussed work. Also handy if the browser is not running already and the website will be the only tab in browser.

I looked around and believe a simple "Open URL" option here can achieve the desired functionality with minimal changes.

image
ArjixWasTaken commented 3 weeks ago

If you want a dedicated app for any website, you can use Pake to create one.

https://github.com/tw93/Pake

PS: The first time takes quite a while because it is building a bunch of rust crates.

You can probably make a fork and run a CI for the websites you want.

Akv2021 commented 3 weeks ago

Thanks for the revert. Yes, I'm aware that website can be converted to a standalone app. Infact I'd done it earlier. But the usecase here I was aiming at is a single app for the background noise/music which this project already is. And within that n websites can support the end content.