Replies: 1 comment
-
|
"403 Forbidden" means the link to the youtube track had restrictions. Acording to your log yt-dlp is indeed unavailable to the bot (it just tried kkdai parsers). Yt-dlp should be in PATH - it's enough for the bot to use it. This is how yt-dlp is called melodix/pkg/music/parsers/ytdlp/link.go Line 16 in 5ddc171 It's the similar way you would do in terminal - check if yt-dlp can be called directly from there. If you still are having issue - there is a Discord support server link (check Readme). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I downloaded yt-dlp and added it to my system PATH variable. Is there anything else that needs to be done to use it? Any variables in .env that need to be changed? For some reason it doesn't seem to be using it.
I am using the v2026.03.17 release of the discord bot. Everything else seems to work. it connects, ingests my token, I can use slash commands. I see in the console log 403 errors.
Snips of log:
2026/03/18 23:12:11 [DG2] wsapi.go:196:Open() We are now connected to Discord, emitting connect event
2026/03/18 23:12:11 [DG2] wsapi.go:202:Open() creating new VoiceConnections map
2026/03/18 23:12:11 [DG2] wsapi.go:215:Open() exiting
2026/03/18 23:12:11 [DG2] wsapi.go:291:heartbeat() called
2026/03/18 23:12:11 [DG2] wsapi.go:223:listen() called
2026/03/18 23:12:11 [INFO] Bot added to guild: 880275689381711892 (Mornroc's Gaming)
2026/03/18 23:12:11 [INFO] Starting background services...
2026/03/18 23:12:11 [ERR] Failed to update README: open README.md.tmpl: The system cannot find the file specified.
2026/03/18 23:12:11 [INFO] ✅ Discord bot Melodix is ready.
2026/03/18 23:12:16 [Player] Added 1 track(s) to queue | QueueLen=1
2026/03/18 23:12:16 [Player] PlayNext called | QueueLen=1
2026/03/18 23:12:16 [Player] Attempting to play track "" (https://www.youtube.com/watch?v=bXT96SVp0jg)
2026/03/18 23:12:16 [Player] Preparing playback for track: "" (https://www.youtube.com/watch?v=bXT96SVp0jg) | CurrentParser=kkdai-link | QueueLen=0
2026/03/18 23:12:17 [RecoveryStream] Opened stream with parser kkdai-link at seek 0.00
2026/03/18 23:12:17 [Player] Starting track "Relaxed Fantasy Tavern | Music & Ambience | Cozy Medieval Inn | 4K"
...
...
2026/03/18 23:12:19 [kkdai-link] ffmpeg: Error opening input files: Server returned 403 Forbidden (access denied)
2026/03/18 23:12:19 [RecoveryStream] Early EOF detected (0.00/3600.00), will attempt recovery
2026/03/18 23:12:19 [RecoveryStream] Recovering stream for parser kkdai-link (attempt 3)...
2026/03/18 23:12:19 [RecoveryStream] Parser kkdai-link exceeded max recovery attempts
2026/03/18 23:12:20 [kkdai-pipe] stream size: unknown (piping)
2026/03/18 23:12:20 [RecoveryStream] Opened stream with parser kkdai-pipe at seek 0.00
2026/03/18 23:12:20 [RecoveryStream] Max recovery attempts reached for parser kkdai-link
2026/03/18 23:12:20 [Player] Playback stopped
2026/03/18 23:12:20 [Player] Queue empty after track, auto-stopping player
2026/03/18 23:12:20 [Player] Stop called | disconnect=true
2026/03/18 23:12:20 [Player] Disconnecting and clearing queue
2026/03/18 23:12:20 [DG2] voice.go:148:Disconnect() called
2026/03/18 23:12:20 [DG2] wsapi.go:768:VoiceStateUpdate() called
2026/03/18 23:12:20 [DG2] voice.go:257:waitUntilStatus() called
2026/03/18 23:12:20 [DG2] voice.go:162:Kill() called
2026/03/18 23:12:20 [DG2] voice.go:185:Kill() done
2026/03/18 23:12:20 [Player] Stop finished
2026/03/18 23:12:20 [Player] PlayNext called | QueueLen=0
2026/03/18 23:12:20 [Player] Queue is empty, nothing to play
Beta Was this translation helpful? Give feedback.
All reactions