mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-17 13:12:07 +00:00
Merge pull request #267 from Araxeus/last-fm-config-check-fix
fix last-fm overwrite config on each start
This commit is contained in:
@ -131,7 +131,7 @@ let scrobbleTimer = undefined;
|
||||
const lastfm = async (win, config) => {
|
||||
const registerCallback = getSongInfo(win);
|
||||
|
||||
if (!config.api_root || !config.suffixesToRemove) {
|
||||
if (!config.api_root) {
|
||||
// settings are not present, creating them with the default values
|
||||
config = defaultConfig.plugins['last-fm'];
|
||||
config.enabled = true;
|
||||
|
||||
Reference in New Issue
Block a user