DuncteBot / skybot-lavalink-plugin

Lavalink plugin adding support for several audio source managers
Apache License 2.0
25 stars 6 forks source link

Failed to play PornHub links #23

Closed AADI0009 closed 11 months ago

AADI0009 commented 1 year ago

Description

Unable to play pornhub tracks :c

Version info

Client used: Shoukaku

Output of java -version:

openjdk 17.0.8.1 2023-08-24

Logs

0|java  | 2023-09-08 18:49:58.730  INFO 80238 --- [ XNIO-1 task-12] lavalink.server.io.RequestLoggingFilter  : PATCH /v3/sessions/sznbgprt3qyi4fzm/players/989607016219676693?noReplace=false, client=69.69.69.69:420, payload={"encodedTrack":"QAAAuQIAQE1PU1QgSU5URU5TRSBzaGFraW5nLCBzcXVpcnRpbmcsIHF1aXZlcmluZyBvcmdhc21zIC0gQ09NUElMQVRJT04ACGJpYml2aWRpAAAAAAAHhcgAD3BoNjNiMzVjMzlhZDA2NgABAD5odHRwczovL3d3dy5wb3JuaHViLmNvbS92aWV3X3ZpZGVvLnBocD92aWV3a2V5PXBoNjNiMzVjMzlhZDA2NgAHcG9ybmh1YgAAAAAAAAAA"}
0|java  | 2023-09-08 18:49:58.914 ERROR 80238 --- [k-1-thread-2665] c.s.d.l.t.p.LocalAudioTrackExecutor      : Error in playback of ph63b35c39ad066
0|java  | com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Media var has changed, please contact developer
0|java  |       at com.dunctebot.sourcemanagers.pornhub.PornHubAudioTrack.scoupMediaVar(PornHubAudioTrack.java:114) ~[skybot-lavalink-plugin-1.4.2.jar!/:na]
0|java  |       at com.dunctebot.sourcemanagers.pornhub.PornHubAudioTrack.loadFromMediaInfo(PornHubAudioTrack.java:90) ~[skybot-lavalink-plugin-1.4.2.jar!/:na]
0|java  |       at com.dunctebot.sourcemanagers.pornhub.PornHubAudioTrack.getPlaybackUrl(PornHubAudioTrack.java:51) ~[skybot-lavalink-plugin-1.4.2.jar!/:na]
0|java  |       at com.dunctebot.sourcemanagers.Mp3Track.loadStream(Mp3Track.java:54) ~[skybot-lavalink-plugin-1.4.2.jar!/:na]
0|java  |       at com.dunctebot.sourcemanagers.Mp3Track.process(Mp3Track.java:49) ~[skybot-lavalink-plugin-1.4.2.jar!/:na]
0|java  |       at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:104) ~[lavaplayer-1.5.0.jar!/:na]
0|java  |       at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:346) ~[lavaplayer-1.5.0.jar!/:na]
0|java  |       at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[na:na]
0|java  |       at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[na:na]
0|java  |       at java.base/java.lang.Thread.run(Thread.java:833) ~[na:na]
0|java  |       Suppressed: com.sedmelluq.discord.lavaplayer.tools.exception.EnvironmentInformation: 
0|java  |   lavaplayer.version: 1.5.0
0|java  |   os.arch: amd64
0|java  |   os.name: Linux
0|java  |   os.version: 5.4.0-29-generic
0|java  |   java.vendor: Private Build
0|java  |   java.version: 17.0.8.1
0|java  |   java.runtime.version: 17.0.8.1+1-Ubuntu-0ubuntu120.04
0|java  |   java.vm.version: 17.0.8.1+1-Ubuntu-0ubuntu120.04
duncte123 commented 11 months ago

Media var has changed, please contact developer

sigh Yeah that happens from time to time, will fix when I find out how it works this time

duncte123 commented 11 months ago

Fixed in version 1.6.3, please keep in mind that this is on a new maven repository: https://maven.lavalink.dev/releases