diff options
| author | Bobby <[email protected]> | 2025-04-13 19:50:48 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2025-04-13 19:50:48 +0530 |
| commit | b57cf11d72fdd00199cfc9df6679d894012f56d9 (patch) | |
| tree | 3b3254763eae49c5b418c83ec002026c23b4587d /utils | |
| parent | 3991efdfccc59fe59184f1c75d3d9bf72d2bccfa (diff) | |
| download | ai-b57cf11d72fdd00199cfc9df6679d894012f56d9.tar.xz ai-b57cf11d72fdd00199cfc9df6679d894012f56d9.zip | |
removed yt-dlp cookie logging
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/music/voice.go | 13 |
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 { |
