muse icon indicating copy to clipboard operation
muse copied to clipboard

/play no longer working

Open CheeseburgerOps opened this issue 2 years ago • 5 comments

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
  • [x] 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)

CheeseburgerOps avatar May 24 '23 18:05 CheeseburgerOps

Seems related to https://github.com/fent/node-ytdl-core/issues/1227

cgjeffries avatar May 25 '23 00:05 cgjeffries

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

CheeseburgerOps avatar May 25 '23 14:05 CheeseburgerOps

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 avatar May 25 '23 19:05 Toarulle

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 [email protected] && 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.

Toarulle avatar May 26 '23 22:05 Toarulle