mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 11:21:46 +00:00
feat: Support disabling scrobbling for non-music content (#1665)
Co-authored-by: JellyBrick <shlee1503@naver.com>
This commit is contained in:
@ -79,6 +79,15 @@ export const onMenu = async ({
|
||||
const config = await getConfig();
|
||||
|
||||
return [
|
||||
{
|
||||
label: t('plugins.scrobbler.menu.scrobble-other-media'),
|
||||
type: 'checkbox',
|
||||
checked: Boolean(config.scrobble_other_media),
|
||||
click(item) {
|
||||
config.scrobble_other_media = item.checked;
|
||||
setConfig(config);
|
||||
},
|
||||
},
|
||||
{
|
||||
label: 'Last.fm',
|
||||
submenu: [
|
||||
|
||||
Reference in New Issue
Block a user