Open M4th12 opened 1 week ago
It looks like your link might be bad. I just tried that exact song through your link, no luck. If I go to Spotify and copy the same song and do it, the player works fine. Try this: https://open.spotify.com/track/6KmrCHbuNOsdoeDOpwetr7?si=e5ba859759ca498e
Yeah, you are right. Mine has /intl-it/, your doesn't. I tried now and is working and Spotify now is giving the same link as you. Idk why was giving the link like that
What Red version are you using?
3.5.13
What were you trying to do?
Trying to listen some music using Spotify links
What did you expect to happen?
Start the music
What actually happened?
Nothing, except error on console
[2024-09-05 00:28:12] [INFO] discord.client: logging in using static token [2024-09-05 00:28:13] [INFO] red: Loading packages... [2024-09-05 00:28:14] [ERROR] red.core.cogs.Streams: Twitch OAuth2 API request failed with status code 400 and error message: missing client id [2024-09-05 00:28:14] [INFO] red: Loaded packages: permissions, admin, alias, audio, cleanup, customcom, downloader, economy, filter, general, image, mod, modlog, mutes, reports, streams, trivia, warnings [2024-09-05 00:28:15] [INFO] discord.gateway: Shard ID 0 has connected to Gateway (Session ID: 7abdb0e66d8351927cde110f0bc14d8b). [2024-09-05 00:28:15] [INFO] red: Connected to Discord. Getting ready... [2024-09-05 00:28:18] [INFO] red.Audio.manager: Managed Lavalink node startup command: 'C:\Program Files\Java\jdk-17\bin\java.exe' -Xms64M -Xmx7G -jar 'C:\Users\Server\AppData\Local\Red-DiscordBot\cogs\Audio\Lavalink.jar' [2024-09-05 00:28:18] [INFO] red.Audio.manager: Managed Lavalink node started. PID: 12088 [2024-09-05 00:28:18] [INFO] red.Audio.manager: Waiting for Managed Lavalink node to be ready [2024-09-05 00:28:25] [INFO] red.Audio.manager: Managed Lavalink node is ready to receive requests. [2024-09-05 00:28:25] [INFO] red.Audio.WS.LLNode: Lavalink WS connecting to ws://localhost:2333 with headers {'Authorization': 'youshallnotpass', 'User-Id': '1194401660861157557', 'Num-Shards': '1', 'Client-Name': 'Red-Lavalink/0.11.0', 'Resume-Key': 'Red-Core-Audio-1194401660861157557-YTBot'} [2024-09-05 00:28:27] [INFO] red.Audio.WS.LLNode: Lavalink WS connected to ws://localhost:2333 [2024-09-05 00:28:45] [ERROR] red: KeyError Traceback (most recent call last): File "C:\Users\Server\redenv\Lib\site-packages\discord\ext\commands\core.py", line 235, in wrapped ret = await coro(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Server\redenv\Lib\site-packages\redbot\cogs\audio\core\commands\player.py", line 128, in command_play return await self._get_spotify_tracks(ctx, query) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Server\redenv\Lib\site-packages\redbot\cogs\audio\core\utilities\player.py", line 283, in _get_spotify_tracks raise e File "C:\Users\Server\redenv\Lib\site-packages\redbot\cogs\audio\core\utilities\player.py", line 262, in _get_spotify_tracks res = await self.api_interface.spotify_query( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Server\redenv\Lib\site-packages\redbot\cogs\audio\apis\interface.py", line 392, in spotify_query urls = await self.fetch_spotify_query( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Server\redenv\Lib\site-packages\redbot\cogs\audio\apis\interface.py", line 223, in fetch_spotify_query ) = await self.spotify_api.get_spotify_track_info(track, ctx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Server\redenv\Lib\site-packages\redbot\cogs\audio\apis\spotify.py", line 67, in get_spotify_track_info track_name = track_data["name"]