ComicallyBad
ComicallyBad
player.connect() not working
yeah you'll have to do that quite often. The youtube plugin breaks pretty often
27 replies
player.connect() not working
ah, I don't use nodelink but I know there's been issues with it lately
27 replies
player.connect() not working
what's the other issue
27 replies
player.connect() not working
are you using player.setVoiceChannelId(voiceChannel.id) before player.connect()?
27 replies
Lavashark to Moonlink
application.yml
lavalink:
plugins:
- dependency: "com.github.topi314.lavasrc:lavasrc-plugin:4.3.0"
repository: "https://maven.lavalink.dev/releases"
snapshot: false
- dependency: "dev.lavalink.youtube:youtube-plugin:1.12.0"
repository: "https://maven.lavalink.dev/releases"
lavalink:
plugins:
- dependency: "com.github.topi314.lavasrc:lavasrc-plugin:4.3.0"
repository: "https://maven.lavalink.dev/releases"
snapshot: false
- dependency: "dev.lavalink.youtube:youtube-plugin:1.12.0"
repository: "https://maven.lavalink.dev/releases"
17 replies
Lavashark to Moonlink
track.thumbnail For spotify, I believe you just need the Lavasrc plugin
17 replies
error in lavalink
you need to enable oauth and get a refresh token
4 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by dilshan_ka on 3/25/2025 in #help
How to fix this error?
updated the yml to use the snapshot that's working atm, sorry forgot about that
33 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by dilshan_ka on 3/25/2025 in #help
How to fix this error?
I'd use a burner account though, don't sign in with your main gmail/youtube
33 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by dilshan_ka on 3/25/2025 in #help
How to fix this error?
try this application.yml, it will walk you through in lavalink how to get your refresh token. Once you get your refresh token, you can change the oauth part and restart lavalink:
oauth:
enabled: true
refreshToken: "token"
skipInitialization: true
oauth:
enabled: true
refreshToken: "token"
skipInitialization: true
33 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by dilshan_ka on 3/25/2025 in #help
How to fix this error?
lavalink:
plugins:
- dependency: "com.github.topi314.lavasrc:lavasrc-plugin:4.3.0"
repository: "https://maven.lavalink.dev/releases"
snapshot: false
- dependency: "dev.lavalink.youtube:youtube-plugin:294d3c50380705fe8de585aabd960f612f79d083"
repository: "https://maven.lavalink.dev/snapshots"
snapshot: true
server:
bufferDurationMs: 400
filters:
channelMix: true
distortion: true
equalizer: true
karaoke: true
lowPass: true
rotation: true
timescale: true
tremolo: true
vibrato: true
volume: true
frameBufferDurationMs: 5000
gc-warnings: true
opusEncodingQuality: 10
password: YourMusicServerPassword!
playerUpdateInterval: 5
resamplingQuality: LOW
soundcloudSearchEnabled: true
sources:
bandcamp: true
http: true
local: false
nico: true
soundcloud: true
twitch: true
vimeo: true
youtube: false
trackStuckThresholdMs: 10000
useSeekGhosting: true
youtubePlaylistLoadLimit: 6
youtubeSearchEnabled: true
# logging:
# file:
# path: ./logs/
# level:
# lavalink: INFO
# root: INFO
# logback:
# rollingpolicy:
# max-file-size: 1GB
# max-history: 30
# request:
# enabled: true
# includeClientInfo: true
# includeHeaders: false
# includePayload: true
# includeQueryString: true
# maxPayloadLength: 10000
metrics:
prometheus:
enabled: false
endpoint: /metrics
plugins:
lavasrc:
lyrics-sources:
deezer: false
spotify: false
youtube: false
providers:
- ytsearch:"%ISRC%"
- ytsearch:%QUERY%
sources:
applemusic: false
deezer: false
flowerytts: false
spotify: true
yandexmusic: false
youtube: true
spotify:
albumLoadLimit: 6
clientId: "client ID"
clientSecret: "client Secret"
countryCode: US
playlistLoadLimit: 6
youtube:
allowDirectPlaylistIds: true
allowDirectVideoIds: true
allowSearch: true
clientOptions:
ANDROID_MUSIC:
playback: false
playlistLoading: false
searching: false
videoLoading: true
MUSIC:
playback: false
playlistLoading: false
searching: true
videoLoading: false
TVHTML5EMBEDDED:
playback: true
playlistLoading: false
searching: false
videoLoading: true
WEB:
playback: false
playlistLoading: true
searching: true
videoLoading: false
WEBEMBEDDED:
playback: false
playlistLoading: false
searching: false
videoLoading: false
clients:
- MUSIC
- ANDROID_MUSIC
- WEB
- WEBEMBEDDED
- TVHTML5EMBEDDED
enabled: true
oauth:
enabled: true
# refreshToken: "enter token here"
skipInitialization: false
sentry:
dsn: ""
environment: ""
server:
address: 0.0.0.0
http2:
enabled: false
port: 2333
lavalink:
plugins:
- dependency: "com.github.topi314.lavasrc:lavasrc-plugin:4.3.0"
repository: "https://maven.lavalink.dev/releases"
snapshot: false
- dependency: "dev.lavalink.youtube:youtube-plugin:294d3c50380705fe8de585aabd960f612f79d083"
repository: "https://maven.lavalink.dev/snapshots"
snapshot: true
server:
bufferDurationMs: 400
filters:
channelMix: true
distortion: true
equalizer: true
karaoke: true
lowPass: true
rotation: true
timescale: true
tremolo: true
vibrato: true
volume: true
frameBufferDurationMs: 5000
gc-warnings: true
opusEncodingQuality: 10
password: YourMusicServerPassword!
playerUpdateInterval: 5
resamplingQuality: LOW
soundcloudSearchEnabled: true
sources:
bandcamp: true
http: true
local: false
nico: true
soundcloud: true
twitch: true
vimeo: true
youtube: false
trackStuckThresholdMs: 10000
useSeekGhosting: true
youtubePlaylistLoadLimit: 6
youtubeSearchEnabled: true
# logging:
# file:
# path: ./logs/
# level:
# lavalink: INFO
# root: INFO
# logback:
# rollingpolicy:
# max-file-size: 1GB
# max-history: 30
# request:
# enabled: true
# includeClientInfo: true
# includeHeaders: false
# includePayload: true
# includeQueryString: true
# maxPayloadLength: 10000
metrics:
prometheus:
enabled: false
endpoint: /metrics
plugins:
lavasrc:
lyrics-sources:
deezer: false
spotify: false
youtube: false
providers:
- ytsearch:"%ISRC%"
- ytsearch:%QUERY%
sources:
applemusic: false
deezer: false
flowerytts: false
spotify: true
yandexmusic: false
youtube: true
spotify:
albumLoadLimit: 6
clientId: "client ID"
clientSecret: "client Secret"
countryCode: US
playlistLoadLimit: 6
youtube:
allowDirectPlaylistIds: true
allowDirectVideoIds: true
allowSearch: true
clientOptions:
ANDROID_MUSIC:
playback: false
playlistLoading: false
searching: false
videoLoading: true
MUSIC:
playback: false
playlistLoading: false
searching: true
videoLoading: false
TVHTML5EMBEDDED:
playback: true
playlistLoading: false
searching: false
videoLoading: true
WEB:
playback: false
playlistLoading: true
searching: true
videoLoading: false
WEBEMBEDDED:
playback: false
playlistLoading: false
searching: false
videoLoading: false
clients:
- MUSIC
- ANDROID_MUSIC
- WEB
- WEBEMBEDDED
- TVHTML5EMBEDDED
enabled: true
oauth:
enabled: true
# refreshToken: "enter token here"
skipInitialization: false
sentry:
dsn: ""
environment: ""
server:
address: 0.0.0.0
http2:
enabled: false
port: 2333
33 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by dilshan_ka on 3/25/2025 in #help
How to fix this error?
looks like you have to use oAuth, you'll need to get a refresh token.
33 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by dilshan_ka on 3/25/2025 in #help
How to fix this error?
you can use the snapshot though, it's working at the moment.
- dependency: "dev.lavalink.youtube:youtube-plugin:294d3c50380705fe8de585aabd960f612f79d083"
repository: "https://maven.lavalink.dev/snapshots"
snapshot: true
- dependency: "dev.lavalink.youtube:youtube-plugin:294d3c50380705fe8de585aabd960f612f79d083"
repository: "https://maven.lavalink.dev/snapshots"
snapshot: true
33 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by dilshan_ka on 3/25/2025 in #help
How to fix this error?
youtube plugin broke atm
33 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by 🥀! ⁿᵒᵗ𝘒𝘦𝘯𝘷𝘦𝘳 </> on 1/31/2025 in #help
Why this error
you should just need to add: GatewayIntentBits.GuildVoiceStates,
53 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by 🥀! ⁿᵒᵗ𝘒𝘦𝘯𝘷𝘦𝘳 </> on 1/31/2025 in #help
Why this error
hmm, do you have debug logging?
client.manager.on("debug", msg => console.log("[DEBUG]:", msg));
client.manager.on("debug", msg => console.log("[DEBUG]:", msg));
Can you try to play a soundcloud url? If soundcloud works, it's likely just youtube-plugin broken at the moment. But Lavalink didn't log any 403 errors or anything which is strange. Try playing like: https://soundcloud.com/tokyo_tears/veins
53 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by 🥀! ⁿᵒᵗ𝘒𝘦𝘯𝘷𝘦𝘳 </> on 1/31/2025 in #help
Why this error
can you provide what's logged in lavalink when you play a song?
53 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by 🥀! ⁿᵒᵗ𝘒𝘦𝘯𝘷𝘦𝘳 </> on 1/31/2025 in #help
Why this error
are you using Lavalink?
53 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by 🥀! ⁿᵒᵗ𝘒𝘦𝘯𝘷𝘦𝘳 </> on 1/31/2025 in #help
Why this error
do you have this?
client.on("raw", data => {
client.moonlink.packetUpdate(data);
});
client.on("raw", data => {
client.moonlink.packetUpdate(data);
});
53 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by .Faisal on 1/5/2025 in #help
automatically music
are you listening for the discord client "raw" event and sending the packetUpdate(data)? Seems like a lot of "missing voice server data"
56 replies