alowaniak / music-replacer

Replace OSRS music tracks with user defined music
BSD 2-Clause "Simplified" License
9 stars 5 forks source link

Override From Youtube Failing #6

Closed FlamingoChest closed 2 years ago

FlamingoChest commented 2 years ago

Overrides from youtube are failing.

I've tried several different songs but all keep failing.

Also says to check logs but i cannot find the logs anywhere

alowaniak commented 2 years ago

Is this still happening for you? Because it was broken at least from yesterday until a few hours ago but it should work again now.

To find the logs, you can do one of the following:

FlamingoChest commented 2 years ago

at nl.alowaniak.runelite.musicreplacer.YouTubeSearcher.getSearchResults(YouTubeSearcher.java:46)
at nl.alowaniak.runelite.musicreplacer.YouTubeSearcher.lambda$search$0(YouTubeSearcher.java:40)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)

2022-09-01 22:15:08 [Client] ERROR n.r.c.p.t.farming.FarmingTracker - Offset error! Observed new offset of 25, previous observed offset was 15 (15) Player Loc:WorldPoint(x=2947, y=3368, plane=0)

this is what i found its giving an error

alowaniak commented 2 years ago

I think you're missing part of the error message, there should be some more above it. (Alternatively you could just drop the whole client log file.)

FlamingoChest commented 2 years ago

client_2022-09-01.0.log

FlamingoChest commented 2 years ago

sorry im new to github and not that tech savy when it comes to logs lmao

alowaniak commented 2 years ago

No problem :) This looks like it's the problem that existed up until a few hours ago (my server was down). Are you sure you're still having this issue?

FlamingoChest commented 2 years ago

currently still having this issue. i just tried it just now and said failed

alowaniak commented 2 years ago

Could you perhaps also send the new client log? And check if you can access https://alowan.nl/runelite-music-replacer/search/framing%20hanley (it's what the plugin tries to access). Only thing I can imagine that might be happening is if you're searching for the same thing and the error is cached for some reason.

FlamingoChest commented 2 years ago

client.log

FlamingoChest commented 2 years ago

yeah i clicked that link and its taking me to some gibberish coding line lmao

alowaniak commented 2 years ago

Ah seems to be something wrong when it tries to dl the audio from youtube. I'm afraid this might take a while to get fixed (I use another library for the youtube stuff, so they have to fix it first). So for the time being you probably won't be able to search for new songs.

(Any songs already cached on my server should work though, so the osrsbeatz and rs3 (presets) should work.)

FlamingoChest commented 2 years ago

yeah, they're working fine just overriding seems to be the issue. but thank you! sorry it dragged out a bit but glad i was able to help you find the error for the little bit i did lmao

alowaniak commented 2 years ago

I've done a work-around which works for now, I'm not entirely sure if this work-around will work in all cases though. But AFAICT it should be fixed now, please let me know if it isn't for you.

And definitely no problem "it dragged out a bit", always happy to help and thank you for letting me know of the issue :)