Open MintyFreshers opened 3 weeks ago
Same issue, even with dockerized environment. Sometimes the bot joins and tells that the song is playing, but it isn't. (even with /nowplaying it says there aren't any songs playing)
Same thing here, also running in a docker container. What I found is that some youtube videos actually do play, like Rick Astleys Never gonna give you up, when using the autocomplete feature and selecting the Spotify result:
query: spotify:track:4PTG3Z6ehGkBFwjybzWkR8
Though the youtube query also works for this song:
query: https://www.youtube.com/watch?v=dQw4w9WgXcQ
However for example "Never Gonna Stop" also from Rick Astley, doesn't work and gives the result as stated by the issue:
query: https://www.youtube.com/watch?v=qWNQUvIk954 or query: spotify:track:7koIUHBD4AZoEP8Wuu9xQf
I am getting the same thing and I just started using the project with the dockerized container. The bot comes in muted on spotify as well.
Edit: ah I think youtube is throttling certain ips. is everyone running on a vps?
@bu3alwa Yes I am, however, this is not the problem I think, because in the google cloud console the API requests are successful, so it'd have no sense to be a youtube's problem
@bu3alwa Yes I am, however, this is not the problem I think, because in the google cloud console the API requests are successful, so it'd have no sense to be a youtube's problem
I was ablw to get it to work locally but not on vps. Same docker container. So my assumption is some sort of limiting.
Are you able to try your bot locally and see if it works vs on a vps?
I also faced this issue when deployed bot to my new VPS. But when I instead deployed it on my local server it worked fine.
I have it deployed locally and it's running into this issue
Mine started working on vps after I stopped it for a while. For my case I am pretty sure it was throttling from youtubes side on my ip.
@bu3alwa mine still doesn't work.
I'm running into a similar issue (Docker container) where after working just fine, it suddenly stopped working and while you can add songs, they do not play and the queue/now-playing say they are empty
Same issue here. I was using a docker container and had the bot up and running for over a year - not a single issue. Now this :l
Now it queues up , the bot joins the channel but never plays it
With a quick glance at the code, it seems that the problem is what it appears to be, the song isn't queue'd:
await player.play();
if (wasPlayingSong) {
statusMsg = 'resuming playback';
}
await interaction.editReply({
embeds: [buildPlayingMessageEmbed(player)],
});
Here, player.play
runs the function this.getCurrent()
successfully and finds a song, or else he'd be the one throwing the error (See here)
But right after, buildPlayingMessageEmbed
throws "No playing sound found" (See here).
At least, it seems to be like this. I don't have a chance to try the code myself
This seems like just a logical error, I could be totally wrong thought. @codetheweb I think this isn't an impossible/long fix. Hope I can help with a PR soon
What's happening? I am currently getting an error when trying to play any songs, the bot says "ope: No playing song found".
Logs
Screenshots![image](https://github.com/codetheweb/muse/assets/8878961/b44b5d3e-db44-49ad-836b-a53edf07cd10)
Runtime I'm running Muse:
Versions