appujet / lavamusic

lavalink music bot base in shoukaku and discord.js v14
https://appujet.github.io/lavamusic/
GNU General Public License v3.0
549 stars 480 forks source link

Spotify play not working. #488

Closed cjabb closed 6 months ago

cjabb commented 7 months ago

i wanted to turn off youtube search for this bot and allow only spotify to work but it isnt, i tried disabling youtube sources from lavalink. Im using LavaSrc btw, it doesnt error out it just tried to add the song to the queue and play it but it fails with no errors in the console. Any help?

application.yml file Lavalink

lavalink:
    plugins:
        - dependency: com.github.TopiSenpai.LavaSrc:lavasrc-plugin:3.2.9
          repository: https://maven.topi.wtf/releases
    server:
        bufferDurationMs: 400
        gc-warnings: true
        password: RolandC134
        playerUpdateInterval: 5
        soundcloudSearchEnabled: false
        sources:
            bandcamp: false
            http: false
            local: false
            soundcloud: true
            spotify: true
            twitch: false
            vimeo: false
            youtube: true
        youtubePlaylistLoadLimit: 6
        youtubeSearchEnabled: true
logging:
    file:
        max-history: 30
        max-size: 1GB
    level:
        lavalink: INFO
        root: INFO
    path: ./logs/
metrics:
    prometheus:
        enabled: false
        endpoint: /metrics
plugins:
    lavasrc:
        applemusic:
            albumLoadLimit: 6
            countryCode: US
            mediaAPIToken: '...'
            playlistLoadLimit: 6
        deezer:
            masterDecryptionKey: your master decryption key
        flowerytts:
            audioFormat: mp3
            silence: 0
            speed: 1
            translate: false
            voice: default voice
        providers:
            - ytsearch:"%ISRC%"
            - ytsearch:%QUERY%
        sources:
            applemusic: false
            deezer: false
            flowerytts: false
            spotify: true
            yandexmusic: false
            youtube: true
        spotify:
            albumLoadLimit: 6
            clientId: SHHH
            clientSecret: NO LEAKS TODAY
            countryCode: US
            playlistLoadLimit: 6
        yandexmusic:
            accessToken: your access token
sentry:
    dsn: ""
    environment: ""
server:
    address: 0.0.0.0
    port: 25217
cjabb commented 7 months ago

and yes i have added the ClientID and clientSecret btw

TrivCodez commented 6 months ago

masterDecryptionKey, etc isn ot filled in?