summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/music/voice.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/utils/music/voice.go b/utils/music/voice.go
index 8b4779e..736ecf9 100644
--- a/utils/music/voice.go
+++ b/utils/music/voice.go
@@ -197,19 +197,6 @@ func (v *VoiceInstance) PlayYouTube(videoURL, videoID string) error {
Prefix: "Music Player",
Level: types.Debug,
})
- // log the cookies file data
- cookiesData, err := os.ReadFile(cookiesFile)
- if err != nil {
- logger.Log("Error reading cookies file: "+err.Error(), types.LogOptions{
- Prefix: "Music Player",
- Level: types.Error,
- })
- }
-
- logger.Log("Cookies file data: "+string(cookiesData), types.LogOptions{
- Prefix: "Music Player",
- Level: types.Debug,
- })
downloadCmd = exec.Command("yt-dlp", "--no-warnings", "--quiet", "-x", "--audio-format", "mp3",
"--audio-quality", "0", "--no-playlist", "--cookies", cookiesFile, "--output", fileName, videoURL)
} else {