···9696 transformer.logger.warn({ label: 'Heartbeat' }, 'Transformer is not ready but will not try to initialize because auth state is not good and cannot be correct unattended.');
9797 }
9898 try {
9999- await transformer.tryInitialize({ force: false, notify: true, notifyTitle: 'Could not initialize automatically' });
9999+ await transformer.initialize({ force: false, notify: true, notifyTitle: 'Could not initialize automatically' });
100100 } catch (e) {
101101 transformer.logger.error(new Error('Could not initialize source automatically', { cause: e }));
102102 }
+2-1
src/backend/index.ts
···186186 if(nameColl.length > 0) {
187187 logger.warn(`Last.FM source and clients have same names [${nameColl.map(x => x.name).join(',')}] -- this may cause issues`);
188188 }
189189- const clientInitOptions = {deadDelay: nonEmptyStringOrDefault(process.env.DEBUG_DEAD_DELAY, undefined) !== undefined ? Number.parseInt(process.env.DEBUG_DEAD_DELAY) : undefined}; for(const c of scrobbleClients.clients) {
189189+ const clientInitOptions = {deadDelay: nonEmptyStringOrDefault(process.env.DEBUG_DEAD_DELAY, undefined) !== undefined ? Number.parseInt(process.env.DEBUG_DEAD_DELAY) : undefined};
190190+ for(const c of scrobbleClients.clients) {
190191 c.initTasks(clientInitOptions);
191192 const res = await Promise.race([
192193 sleep(2200),