#does not play music

1 messages · Page 1 of 1 (latest)

empty olive
#

when i use /play command bot join the voice but not play music (lavalink v4)

server: 
  port: 2333
  address: 127.0.0.1
  http2:
    enabled: false
plugins:

lavalink:
  plugins:

  server:
    password: "2008rustembufalo"
    sources:
      youtube: true
      bandcamp: true
      soundcloud: true
      twitch: true
      vimeo: true
      http: true
      local: false
    filters: 
      volume: true
      equalizer: true
      karaoke: true
      timescale: true
      tremolo: true
      vibrato: true
      distortion: true
      rotation: true
      channelMix: true
      lowPass: true

    bufferDurationMs: 400
    frameBufferDurationMs: 5000 
    opusEncodingQuality: 10 
    resamplingQuality: HIGH 
    trackStuckThresholdMs: 10000 
    useSeekGhosting: true
    youtubePlaylistLoadLimit: 6
    playerUpdateInterval: 5
    youtubeSearchEnabled: true
    soundcloudSearchEnabled: false
    gc-warnings: true
    youtubeConfig:
      email: "[email protected]"
      password: "xxx"

metrics:
  prometheus:
    enabled: false
    endpoint: /metrics

sentry:
  dsn: ""
  environment: ""

logging:
  file:
    path: ./logs/
  level:
    root: INFO
    lavalink: DEBUG
    lavalink.server.io.SocketContext: TRACE
    com.sedmelluq.discord.lavaplayer.tools.ExceptionTools: DEBUG

  request:
    enabled: true
    includeClientInfo: false
    includeHeaders: false
    includeQueryString: true
    includePayload: true


  logback:
    rollingpolicy:
      max-file-size: 1GB
      max-history: 30
fresh jungle
#

did you make sure to set your user id correctly

empty olive
# fresh jungle did you make sure to set your user id correctly

Is this what you mean?

this.lavalink = new LavalinkManager({
            nodes: [
                {
                    authorization: '2008rustembufalo',
                    host: '127.0.0.1',
                    port: 2333,
                    secure: false,
                }
            ],
            sendToShard: (guildId, payload) =>
            this.guilds.cache.get(guildId)?.shard?.send(payload),
                client: {
                    id: '1149307604628148225',
                    username: 'Bizim Mekan Music'
                },
                playerOptions: {
                    applyVolumeAsFilter: false,
                    clientBasedPositionUpdateInterval: 50,
                    defaultSearchPlatform: 'ytmsearch',
                    volumeDecrementer: 0.75,
                    onDisconnect: {
                        autoReconnect: false,
                        destroyPlayer: true
                    },
                    onEmptyQueue: {
                        destroyAfterMs: 30_000,
                        autoPlayFunction: autoPlayFunction,
                    },
                    useUnresolvedData: true,
                },
                queueOptions: {
                    maxPreviousTracks: 25
                }
        })
#

this is correct

fresh jungle
#

sec

empty olive
#

okey

fresh jungle
#

Yeah that looks fine. Check that the ID matches your bot's user ID, though

#

I believe your client also has a manager option to debug issues with no audio

#

add this to your manager options

#

but set noAudio to true

empty olive
#
this.lavalink = new LavalinkManager({
            nodes: [
                {
                    authorization: '2008rustembufalo',
                    host: '127.0.0.1',
                    port: 2333,
                    secure: false,
                }
            ],
            sendToShard: (guildId, payload) =>
            this.guilds.cache.get(guildId)?.shard?.send(payload),
                client: {
                    id: '1149307604628148225',
                    username: 'Bizim Mekan Music'
                },
                playerOptions: {
                    applyVolumeAsFilter: false,
                    clientBasedPositionUpdateInterval: 50,
                    defaultSearchPlatform: 'ytmsearch',
                    volumeDecrementer: 0.75,
                    onDisconnect: {
                        autoReconnect: false,
                        destroyPlayer: true
                    },
                    onEmptyQueue: {
                        destroyAfterMs: 30_000,
                        autoPlayFunction: autoPlayFunction,
                    },
                    useUnresolvedData: true,
                },
                queueOptions: {
                    maxPreviousTracks: 25
                },
                advancedOptions: {
                    debugOptions: {
                        noAudio: true,
                    }
                }
        })
#

i try again now

empty olive
#

and when i change the host bot started to play music

amber harbor
empty olive
amber harbor
#

when i use /play command bot join the voice but not play music (lavalink v4)

#

sounds like the same issue

#

does not play anything

empty olive
#

At first there was a message spamming error in that post, but later I wrote the same thing there that I wrote here, yes.

amber harbor
#

I mean you already started getting help with that issue in the other post

#

so why create a new one erasing all the info