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

/play no longer working #945

Open
1 of 3 tasks
USAMcDoanldsUSA opened this issue May 24, 2023 · 5 comments
Open
1 of 3 tasks

/play no longer working #945

USAMcDoanldsUSA opened this issue May 24, 2023 · 5 comments
Labels

Comments

@USAMcDoanldsUSA
Copy link

USAMcDoanldsUSA commented May 24, 2023

What's happening?
When I try to use the /play command, the bot responds with "Invalid regular expression: missing /". I suspect this is a ytdl issue but I figured I would ask.

Logs
I do not receive any additional logs when running docker logs on the container

Runtime
I'm running Muse:

  • Directly from the cloned repository
  • Inside a Docker container
  • Something else (please elaborate)

Versions

  • Muse: latest
  • Docker (if applicable): Docker version 23.0.1, build a5ee5b1
  • OS: Red Hat Enterprise Linux release 8.6 (Ootpa)
@cgjeffries
Copy link

Seems related to fent/node-ytdl-core#1227

@USAMcDoanldsUSA
Copy link
Author

Yep. Seems to be working again if I downgrade ytdl-core to 4.10.0.

@Toarulle
Copy link

Yep. Seems to be working again if I downgrade ytdl-core to 4.10.0.

Having the same issue. Though I am running the docker through unRAID and seems to be directly from the repository. I can therefore not downgrade any specific software myself. I think anyways. Quite new to this stuff.

I'd gladly take any help

@Toarulle
Copy link

Yep. Seems to be working again if I downgrade ytdl-core to 4.10.0.

Having the same issue. Though I am running the docker through unRAID and seems to be directly from the repository. I can therefore not downgrade any specific software myself. I think anyways. Quite new to this stuff.
I'd gladly take any help

If you are using unraid follow the steps below to downgrade ytdl-core to 4.10.0:

  1. Open Unraid
  2. Docker tab
  3. Click "Muse" container icon
  4. Edit
  5. Basic View (Top right)
  6. To the "Post Arguments" add the line:

tini -- sh -c "npm install ytdl-core@4.10.0 && yarn start"

  1. Apply

This fixes the bot breaking down, and if the Container gets an update with a ytdl-core fix just remove the line, apply, update afterwards and all should be good.

Thanks!
Didn't know that was possible that easily but is great to know.

It helped so far as to let the bot actually run and it is now possible to actually start playing songs.
First I tried without "tini --", since I thought that was something else. That gave me a working bot that connects and without errors, but with no sound.

Then tried with "tini --" in the beginning. The bot works-ish, but doesn't connect to channels when i start playing a song. When checking Now-playing command the bot actually plays the song, but doesn't connect to any channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants
@Toarulle @cgjeffries @USAMcDoanldsUSA and others