chore(plugins): change default config album-actions, music-together

This commit is contained in:
Su-Yong
2023-12-31 13:56:42 +09:00
parent ee0c512529
commit aa899d247a
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ export default createPlugin({
description: () => t('plugins.album-actions.description'),
restartNeeded: false,
config: {
enabled: true,
enabled: false,
},
renderer: {
observer: null as MutationObserver | null,

View File

@ -39,7 +39,7 @@ export default createPlugin({
description: () => t('plugins.music-together.description'),
restartNeeded: false,
config: {
enabled: true
enabled: false
},
stylesheets: [style],
backend: {
@ -670,7 +670,7 @@ export default createPlugin({
const dividers = Array.from(document.querySelectorAll('.music-together-divider'));
dividers.forEach((divider) => divider.remove());
this.elements.setting.remove();
this.elements.setting?.remove();
this.onStop();
if (typeof this.stateInterval === 'number') clearInterval(this.stateInterval);
if (this.playerApi) this.playerApi.removeEventListener('onStateChange', this.videoStateChangeListener);