#OAuth Flow not displaying.

1 messages · Page 1 of 1 (latest)

icy wolf
#

Using latest version of Lavalink (4.0.8) and the latest version of the Youtube Plugin (1.8.3)

application.yml

lavalink:
    plugins:
        - dependency: "dev.lavalink.youtube:youtube-plugin:1.8.3"
          snapshot: false # Set to true if you want to use a snapshot version.
    server:
        bufferDurationMs: 400
        gc-warnings: true
        password: ...
        playerUpdateInterval: 5
        soundcloudSearchEnabled: true
        sources:
            bandcamp: true
            http: true
            local: true
            soundcloud: true
            twitch: true
            vimeo: true
            youtube: false
        youtubePlaylistLoadLimit: 10
        youtubeSearchEnabled: false
        youtube:
            enabled: true # Whether this source can be used.
            allowSearch: true # Whether "ytsearch:" and "ytmsearch:" can be used.
            allowDirectVideoIds: true # Whether just video IDs can match. If false, only complete URLs will be loaded.
            allowDirectPlaylistIds: true # Whether just playlist IDs can match. If false, only complete URLs will be loaded.
            # The clients to use for track loading. See below for a list of valid clients.
            # Clients are queried in the order they are given (so the first client is queried first and so on...)
            clients:
              - MUSIC
              - MEDIA_CONNECT
              - WEB
              - TVHTML5EMBEDDED
            oauth:
                # setting "enabled: true" is the bare minimum to get OAuth working.
                enabled: true
logging:
    file:
        max-history: 30
        max-size: 1GB
    level:
        lavalink: INFO
        root: INFO
        dev.lavalink.youtube.http.YoutubeOauth2Handler: INFO
    path: /logs/
metrics:
    prometheus:
        enabled: false
        endpoint: /metrics
sentry:
    dsn: ""
    environment: ""
server:
    address: ...
    port: ...

There is no OAuth flow being displayed for me.

quick sphinx
#

your config is wrong

#

indentation is important with yaml

icy wolf
#

maybe, but i've never had an issue with it before?

#

i'm getting the sign in error which never occurred until this week.

icy wolf
#

got it sorted, plugins was meant to be plugins > youtube, it's not entirely clear that it was meant to be that way. I thought it was lavalink > plugins > youtube

quick sphinx
#

feel free to suggest how to make it better
but this is pretty clear to me

#

you're not the first one to do this

tender pewter
#

I just realized that's my issue too

icy wolf
#
lavalink:
  ...

plugins:
  youtube:
    [Continued Example Here]
#

because there's two keys with plugins, showing that it's seperate would be a bit more clearer

#

though tbh the fact that lavalink > plugins is an array is something i should've paid a little more attention to

quick sphinx
#

i mean if that helps sure ig

#

it's just confusing to me people would assume the indentation we provide in the docs are wrong

#

(I hate yaml)

#

@azure kindle u good with this?

azure kindle
#

meh

#

its clear as it is

quick sphinx
#

it's clearly not

azure kindle
#

if it were under lavalink then it would say

quick sphinx
#

because there are like 6 people doing it wrong in the last few days

azure kindle
#

their problem

#

maybe read better

quick sphinx
#

i added this in lavasrc

#

lol

azure kindle
#

if it was under lavalink key then i would illustrate it as such

quick sphinx
#

(it didn't really help)

azure kindle
#

people should know by now that plugin configs are not done under lavalink:

#

so its lavalinks docs problem

quick sphinx
#

I mean

#

it exists in the example config

azure kindle
#

so then... user issue

quick sphinx
#

sadly people copy random bad copies from old shit tutorials

azure kindle
#

yeah but youtube has never been any different

#

if people want to interpret shit as any other way than how its written then its not my problem

#

simple

quick sphinx
#

it's our problem

#

because they come to us asking why it doesn't work

#

:)

icy wolf
azure kindle
#

we had an issue a while ago where people were stupid and copying the entire example config INCLUDING client options, despite there being a massive notice telling them not to

quick sphinx
#

it is, because it creates unnecessary work

azure kindle
#

and suddenly they can't copy and paste the entire tree correctly and are instead putting it where it doesn't belong

quick sphinx
#

well I am chaing it

#

we will see if it helps

azure kindle
#

don't

#

fucking change it

quick sphinx
#

we can revert if not

azure kindle
#

I will revert it if you change it lol

#

people will find ways to fuck anything up

#

I am not pandering to people who cannot read

quick sphinx
#

sure then let's not provide any docs

azure kindle
#

yeah go for it why not

tawdry stag
tawdry stag
#

💀

quick sphinx