Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playback time issue #52

Open
Mteles96 opened this issue Oct 11, 2024 · 25 comments
Open

Playback time issue #52

Mteles96 opened this issue Oct 11, 2024 · 25 comments
Labels
bug Something isn't working

Comments

@Mteles96
Copy link

Who are you? User (who just use bot from discord)/developer/admin (who download all bot stuff to host)?

User

Description

The music stops on its own, plays for a while and then cuts off. tpi it plays for about 3 or 4 minutes and then suddenly it stops, all the big songs ended without ending.

Steps To Reproduce

  1. Use command
  2. /start [link playlist spotify/youtube]
  3. Playback starts and the problem starts, in the first songs this happens for 3 to 5 minutes of music.
  4. skip to the next one without finishing the song.

How reliably can you recreate this issue using your steps above?

Always

@Mteles96 Mteles96 added the bug Something isn't working label Oct 11, 2024
@AlexInCube
Copy link
Owner

this happens only with youtube? or with spotify too?

@Mteles96
Copy link
Author

At the moment I was only able to identify this bug through Spotify

@AlexInCube
Copy link
Owner

Where you host your instance of bot? I mean country

@Mteles96
Copy link
Author

I'm in Brazil, for now I'm hosting on a host here, I confirmed that this bug also happens on YouTube.

@AlexInCube
Copy link
Owner

For Soundcloud or in other services this bug is happens?

@AlexInCube
Copy link
Owner

Also, what are the specs of your VPS?

@Mteles96
Copy link
Author

including translating all the text from .locale to pt-BR, if you want to add it, I can share it later.

I'll test whether this occurs on other services, but at the moment I've only added the Youtube and Spotify services

@Mteles96
Copy link
Author

I'm hosting locally via VScode for now, but I'm going to do it on one called Discloud.

OS: win32
CPU: AMD Ryzen 9 5900X 12-Core Processor
CPU Usage: 5.44%
RAM Usage: 13878.62 MB / 32676.5 MB

@AlexInCube
Copy link
Owner

There are many reasons why song playback may be interrupted. Starting from weak server characteristics, weak internet or some sanctions from the service.

@AlexInCube
Copy link
Owner

Can you host from Docker Desktop?

@Mteles96
Copy link
Author

Mteles96 commented Oct 11, 2024

Can you host from Docker Desktop?

Yes, I can, but I'm still facing some translation problems. I believe it's a local bug, it always comes back to En..

@Mteles96
Copy link
Author

But I'm going to do it anyway to get a better result.

@AlexInCube
Copy link
Owner

I believe it's a local bug, it always comes back to En..

Officially, I only support Russian and English.

@Mteles96
Copy link
Author

I will carry out tests on other services, such as SoundCloud, to see if the problem persists. As soon as I have the results, I will inform you again with the details.

@Mteles96
Copy link
Author

I believe it's a local bug, it always comes back to En..

Officially, I only support Russian and English.

No problem, only the texts were changed, the rest is the same.

@AlexInCube
Copy link
Owner

If you want add custom locale, you need create new folder in https://github.com/AlexInCube/AlCoTest/tree/master/src/locales, and set BOT_LANGUAGE env variable to the name of the folder.

@Mteles96
Copy link
Author

Se você quiser adicionar localidade personalizada, você precisa criar uma nova pasta no https://github.com/AlexInCube/AlCoTest/tree/master/src/locales e definir BOT_LANGUAGE variável env para o nome da pasta.

I did it, exactly this way

@AlexInCube
Copy link
Owner

Can you host from Docker Desktop?

Yes, I can, but I'm still facing some translation problems. I believe it's a local bug, it always comes back to En..

So i don`t know, how it can comeback to En

@Mteles96
Copy link
Author

Can you host from Docker Desktop?

Yes, I can, but I'm still facing some translation problems. I believe it's a local bug, it always comes back to En..

So i don`t know, how it can comeback to En

I believe it's a Docker bug, that's okay

@AlexInCube
Copy link
Owner

Can you host from Docker Desktop?

Yes, I can, but I'm still facing some translation problems. I believe it's a local bug, it always comes back to En..

So i don`t know, how it can comeback to En

I believe it's a Docker bug, that's okay

When you add localization to Docker, are rebuild the image for your purpose? Because my .sh scripts are downloading image from Docker Hub.

@Mteles96
Copy link
Author

Can you host from Docker Desktop?

Yes, I can, but I'm still facing some translation problems. I believe it's a local bug, it always comes back to En..

So i don`t know, how it can comeback to En

I believe it's a Docker bug, that's okay

When you add localization to Docker, are rebuild the image for your purpose? Because my .sh scripts are downloading image from Docker Hub.

Yes, when I add the location I rebuild the image to ensure the changes are applied correctly. However, I noticed that your .sh scripts are downloading the image directly from Docker Hub, so it's possible that this image is overwriting my localized version. I will review the process to ensure the right image is used.

@Wsympson
Copy link

I'm getting the same issue with YouTube, Spotify, and SoundCloud. US based and running on a dedicated Ubuntu server with 1gb up and down Internet.
thorium_DHcRFh2qsd
thorium_TxsUQtlIvr

@AlexInCube
Copy link
Owner

I'm getting the same issue with YouTube, Spotify, and SoundCloud. US based and running on a dedicated Ubuntu server with 1gb up and down Internet. thorium_DHcRFh2qsd thorium_TxsUQtlIvr

I don't know why, but at US people are having trouble using the bot. Personally, I use my bot in Ukraine and all services work for me. I don't know how to fix error 403
#51

@AlexInCube
Copy link
Owner

I read the “help” section in the Distube Discord community, there are a lot of people complaining about the 403 error. And not for the first time, I think I need to rewrite the bot to Lavalink or some other library.

@Mteles96
Copy link
Author

I read the “help” section in the Distube Discord community, there are a lot of people complaining about the 403 error. And not for the first time, I think I need to rewrite the bot to Lavalink or some other library.

I think Lavalink would be good...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants