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

Streaming Option Not Working #972

Open
2 tasks
CameronMunroe opened this issue Sep 10, 2023 · 9 comments
Open
2 tasks

Streaming Option Not Working #972

CameronMunroe opened this issue Sep 10, 2023 · 9 comments
Labels

Comments

@CameronMunroe
Copy link

What's happening?
Streaming doesn't seem to be working with twitch or youtube.

Logs


Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

I set the following enviornement variables along with the typical ones.

      - name: DISCORD_TOKEN
        value: "***"
      - name: YOUTUBE_API_KEY
        value: "***"
      - name: SPOTIFY_CLIENT_ID
        value: "***"
      - name: SPOTIFY_CLIENT_SECRET
        value: "***"
      - name: CACHE_LIMIT
        value: "12GB"
      - name: BOT_STATUS
        value: "online"
      - name: BOT_ACTIVITY_TYPE
        value: "STREAMING"
      - name: BOT_ACTIVITY_URL
        value: "https://www.youtube.com/watch?v=MsSrIlOi81o"
      - name: BOT_ACTIVITY
        value: "NCS"

Runtime
I'm running Muse:

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

Versions

  • Muse:
  • Docker (if applicable):
  • OS:
  • Node.js: (if running outside the Docker container)
  • ffmpeg: (if running outside the Docker container, 4.1 or later is required)
@codetheweb
Copy link
Owner

Logs are missing. Muse does not stream from Twitch.

Likely related to #970.

@CameronMunroe
Copy link
Author

Huh! Then why are you showing it using twitch?

https://github.com/codetheweb/muse/blob/master/README.md?plain=1#L128

@codetheweb
Copy link
Owner

The activity URL is what's displayed in the bot's profile when you click on it. It's not streamed from.

@CameronMunroe
Copy link
Author

So long story short, Muse doesn't support the ability to play music from a music stream.

@codetheweb
Copy link
Owner

No, Muse does not support streaming from Twitch.

@CameronMunroe
Copy link
Author

Got it, does it support streaming from Youtube at all?

The front page shows that it supports streaming from both youtube or twitch.

@codetheweb
Copy link
Owner

Can you please point to where it says Twitch is supported? Live Youtube streams are supported.

@CameronMunroe
Copy link
Author

It seems you indicate this issue here.

I also had tried using a Youtube stream, as shown in my original post, and that wasn't working either.

No logs were generated beyond the normal "connecting to discord" and "youtube-dl" installation.

@codetheweb
Copy link
Owner

I'm sorry for the confusion, BOT_ACTIVITY_URL is what's shown on the bot profile. Not the stream source.

You have to use the /play command.

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

2 participants