From 0f916280f6203d8eb005490f0b862b432b4460c7 Mon Sep 17 00:00:00 2001 From: LeenkxTeam Date: Fri, 24 Jan 2025 06:26:10 +0000 Subject: [PATCH] Disable telemetry --- src/renderer/controllers/playback-controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/controllers/playback-controller.js b/src/renderer/controllers/playback-controller.js index 2c6be61..75cc173 100644 --- a/src/renderer/controllers/playback-controller.js +++ b/src/renderer/controllers/playback-controller.js @@ -3,7 +3,7 @@ const path = require('path') const Cast = require('../lib/cast') const { dispatch } = require('../lib/dispatcher') -const telemetry = require('../lib/telemetry') +// const telemetry = require('../lib/telemetry') const { UnplayableFileError, UnplayableTorrentError } = require('../lib/errors') const sound = require('../lib/sound') const TorrentPlayer = require('../lib/torrent-player') @@ -352,7 +352,7 @@ module.exports = class PlaybackController { // Save volume (this session only, not in state.saved) state.previousVolume = state.playing.volume - if (!state.playing.isReady) telemetry.logPlayAttempt('abandoned') // user gave up waiting + // if (!state.playing.isReady) telemetry.logPlayAttempt('abandoned') // user gave up waiting // Reset the window contents back to the home screen state.playing = State.getDefaultPlayState()