Thunderarea / music-mode-for-youtube

Browser extension for blocking the video and playing only the audio on YouTube and YouTube Music
GNU General Public License v3.0
29 stars 0 forks source link

Make non-music mode default? #4

Closed ballo closed 1 week ago

ballo commented 5 months ago

I'm constantly having to switch this extension on and off because if it's on, the default is music mode. If the default was not music mode I could select which tabs I want to use it in.

A button on the modified web page to switch modes would also be nice.

Thunderarea commented 5 months ago

I did not understand what exactly is the problem. What do you mean by "if it's on, the default is music mode"? You can have the extension turned off from the extension's menu or from the extension's options and specifically the option:

Enabled by default When you open a new tab the extension will be enabled by default

Therefore, whenever you want to enable the extension for a tab you can do it either from the extension's menu or by using the shortcut "Ctrl + M" (for Chromium browsers) or "Ctrl + ↑" for Firefox. That's how I use the extension as well. If you have any further questions don't hesitate to contact me again.

ballo commented 5 months ago

I have no idea where you are quoting the "Enabled by default" option, but the command-M shortcut works on a Mac and works well. Thanks.

The problem I was having is I could choose to have the extension enabled or disabled, but if I turned it on I could only selectively disable it for the tabs where I didn't want it enabled and not visa versa (default disabled). This is still the case when using the settings:

Screenshot 2024-01-21 at 12 11 18 PM

The command-M shortcut makes this easier, however, so for at least my use case it works fine. Without the shortcut it's a nightmare.

Thunderarea commented 5 months ago

First of all, you can choose to have the extension disabled by the menu: image or by the options (menu → Options): image They are the exact same option. Then when you go to a tab that you want the extension to be enabled you can either use the menu to enable it only for the current tab: image or use the shortcut Ctrl + M that does the exact same thing in an easier way (you don't have to open the menu etc etc ...) The shortcut Ctrl + M does not enable or disable the extension by default. It just toggles its function. So, if it is enabled it will disable it and if it is disabled it will enable it (but only for the current tab). The fact that you have the extension disabled it does not mean that you cannot enable it for a tab or page. It just means that it will not be enabled by default when you open a new tab. I hope that clarifies everything. Don't hesitate to reach out if you have more questions!