#no music playing but no errors either

1 messages · Page 1 of 1 (latest)

cold umbra
#

So I added this line to my application.yml file:

dev.lavalink.youtube.http.YoutubeOauth2Handler: INFO

But it still does not print anything more than:

com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Please sign in
at dev.lavalink.youtube.track.YoutubeAudioTrack.process(YoutubeAudioTrack.java:102) ~[jar:file:D:\Development\Discord-bots\Python\SlashMusic\Node.\plugins\youtube-plugin-1.8.3.jar!/:na]
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:109) ~[lavaplayer-2.2.2.jar!/:na]
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$2(DefaultAudioPlayerManager.java:339) ~[lavaplayer-2.2.2.jar!/:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[na:na]
at java.base/java.lang.Thread.run(Thread.java:833) ~[na:na]

Any ideas?

past stagBOT
#

Please make sure to read and follow the post guidelines before opening your post.
This will help you get the best possible answers to your questions while minimizing the questions we have to ask you.
Thanks!

cold umbra
#

Ok I've finally found that access token

#

Very poorly documented on Github which you point people to btw

#

Because this was not enough

#

I only saw the token when I enabled DEBUG for:

dev.lavalink.youtube: 
lavalink:
#

But that's fine

#

Though my music still doesnt play but also no errors

#

Can I forward my log file to someone to check? I dont feel like posting it here because of information in the console.

#

I also tried installed LavaSrc but no luck sadly

#

no music playing but no errors either

spiral ginkgo
#

Configure more detailed logging as described in the post guidelines & post it here

#

This server exists to help, no dms needed

spiral ginkgo
#

Since INFO already is the default log level

spiral ginkgo
cold umbra
#

Here is the log

#

For some reason it's just closing the connection

cold umbra
spiral ginkgo
#

you can always remove credentials, just because you send the logs in someones dms doesn't mena they won't abuse your tokens

#

yeah the access token is right in there lol

#

I deleted the file for you

#

as per post guidelines you should also send your config

cold umbra
cold umbra
spiral ginkgo
cold umbra
#

Ah

cold umbra
#

Alright here's my config:

spiral ginkgo
#

you just rely on whatever is the default

#

I also recommend to let lavalink automatically install/download the plugin instead of doing that manually

cold umbra
#

Instead of doing what manually?

spiral ginkgo
#

since there is no lavalink.plugins section I assume you placed the yt plugin manually into the plugins folder

cold umbra
#

Yeah I did

#

I thought I had to put the plugin in the plugins folder and also put it as dependency in the plugins section

#

Until I figured out that I didnt need to do that and I just only had to have them in the plugins folder

spiral ginkgo
cold umbra
#

Oh I dont need to download it at all myself?

spiral ginkgo
#

this section will download them automatically

cold umbra
#

lovely

#

The plugin folder is still required then?

#

But just empty at first I assume

spiral ginkgo
#

lavalink will manage the plugins folder

#

and also create it if not yet created

cold umbra
#

How nice of Lavalink

#

Alr imma try

spiral ginkgo
#

(it won't fix your above issue)

cold umbra
#

Yeah I got that, already added the client

spiral ginkgo
#

you should read the readme entry on it's restrictions

cold umbra
#

Yeah I saw those but none of those apply to my usecase

spiral ginkgo
#

i think you also want the latest master snapshot version instead of 1.8.3 since that does not have the ANDROID_VR client

#

as stated there MUSIC does not support playback.

cold umbra
#

I am not sure what playback means

spiral ginkgo
#

sound

#

in your ears

cold umbra
#

Damn so what can I use instead? Lol

cold umbra
#

MUSIC or ANDROID_VR?

spiral ginkgo
#

you literally have to try it and see

#

different things work for different people

cold umbra
#

Snapshot where

spiral ginkgo
#
lavalink:
  plugins:
    # Replace VERSION with the current version as shown by the Releases tab or a long commit hash for snapshots.
    - dependency: "dev.lavalink.youtube:youtube-plugin:VERSION"
      snapshot: false # Set to true if you want to use a snapshot version.
cold umbra
#

Ah thumbs

#

Hell yeah the jar file loads and crashes

#

Ok so it cant find https://maven.lavalink.dev/snapshots/dev/lavalink/youtube/youtube-plugin/1.8.3/youtube-plugin-1.8.3.jar

spiral ginkgo
#
Replace VERSION with the current version as shown by the Releases tab ***OR*** a long commit hash for snapshots.
cold umbra
#

This looks fine to me

spiral ginkgo
#

it's not

cold umbra
#

Yippee

spiral ginkgo
#

that does look better

cold umbra
#

Now my bot is having errors which is actually promising

#

Skill issue on my part

#

Nvm I think it has to do with the config file now

#

Since it cant find the song

#

Yeah with MUSIC it doesnt play the song and with ANDROID_VR it cant find the song

spiral ginkgo
#

have you tried both

#

lol

cold umbra
#

Just did, still can't play the song

spiral ginkgo
#

there are lots of other clients too

cold umbra
#

What if i just put in every single one

spiral ginkgo
cold umbra
#

Still not lmfao what the hell

#

It can find the song but not play

#

There we go again

#

Config is still the same just added all those clients

cold umbra
#

Just got back, here is the config still:

cold umbra
cold umbra
#

Nothing else I can check? I want to play music so bad lol

polar coyote
#

Use oauth

cold umbra
#

I added literally everty single client and also oauth

potent finch
#

@cold umbra what happened

cold umbra
potent finch
#

Like whats the issue

#

M on mobile

#

Can't see txt

cold umbra
#

So currently it can find my song, but it doesnt play the music

potent finch
#

Using any queue system wrapper ?

cold umbra
#

Not sure what you mean by that

potent finch
#

Like shoukaku

cold umbra
#

No

potent finch
cold umbra
#

I use Lavalink and my bot is written in Python with Wavelink

potent finch
cold umbra
#

Yeah

potent finch
#

Is there any exception?

cold umbra
#

Are you talking about errors?

#

No, in that case

potent finch
#

Exception like video isn't available

#

Something

cold umbra
#

Nope

potent finch
#

Okay

cold umbra
#

It prints all the information about the video to the consoler from Lavalink.jar

potent finch
#

It means we are getting info

#

Do you debug in wavelink

cold umbra
#

No

potent finch
#

Is your track start

#

Triggered?

#

When you play the song

cold umbra
#

It finds the song

#

Prints all this info to the console

#

But doesnt play

#

And then closes

potent finch
potent finch
potent finch
cold umbra
#

Ah that's a good one, let me try

#

Yeah so that works..

#

Ok good to know that the Lavalink stuff is fine then

#

Guess I'll have to ask in the Wavelink Discord then

#

That's a really good test @potent finch thanks a lot for the help!

potent finch
#

Maybe it will help you