Disable more telemtry

This commit is contained in:
LeenkxTeam 2025-01-24 06:22:33 +00:00
parent 60a06e6132
commit 00f8c30894

View File

@ -1,5 +1,5 @@
const { ipcRenderer } = require('electron')
const telemetry = require('../lib/telemetry')
//const telemetry = require('../lib/telemetry')
const Playlist = require('../lib/playlist')
// Controls local play back: the <video>/<audio> tag and VLC
@ -10,7 +10,7 @@ module.exports = class MediaController {
}
mediaSuccess () {
telemetry.logPlayAttempt('success')
//telemetry.logPlayAttempt('success')
}
mediaStalled () {
@ -20,7 +20,7 @@ module.exports = class MediaController {
mediaError (error) {
const state = this.state
if (state.location.url() === 'player') {
telemetry.logPlayAttempt('error')
//telemetry.logPlayAttempt('error')
state.playing.location = 'error'
ipcRenderer.send('checkForExternalPlayer', state.saved.prefs.externalPlayerPath)
ipcRenderer.once('checkForExternalPlayer', (e, isInstalled) => {
@ -58,7 +58,7 @@ module.exports = class MediaController {
const onServerRunning = () => {
state.playing.isReady = true
telemetry.logPlayAttempt('external')
//telemetry.logPlayAttempt('external')
const mediaURL = Playlist.getCurrentLocalURL(state)
ipcRenderer.send('openExternalPlayer',