Tokio Posted December 15, 2018 Posted December 15, 2018 function asdasdsas() playSound("http://www.convertmp3.io/fetch/?video=https://www.youtube.com/watch?v=iq7q82Cd6RI") end addCommandHandler("test",asdasdsas) what wrong? the API working fine, but the playSound not.. how to fix? My servers: Fun: Derby(DD):
Investor Posted December 15, 2018 Posted December 15, 2018 For me, this link directs to youtubeinmp3.com which is a nonexistent domain name as it "might be temporarily down or it may have moved permanently to a new web address. (ERR_NAME_RESOLUTION_FAILED)" You can try addEventHandler("onClientSoundStream", root, function(succ, length, streamN, err) if not succ then outputChatBox("Sound: "..streamN.." failed to start: "..err,100,0,0) end end ) to see the reason for the failure to download/stream it. If I helped, leave a "Thanks".
Moderators Patrick Posted December 15, 2018 Moderators Posted December 15, 2018 Szerintem nem az MTA funkcióval van a baj, szimplán az API nem jó (vagy nem jól van használva) és néha csak azt az oldalt hozza be ahol a letöltés gomb van és nem a direct letöltést. English: I think the api is wrong, because sometimes it's open the download page and not the direct download link. community profile | map converters | map images | pDownloader | pAttach | model encrypter
Tommy. Posted December 15, 2018 Posted December 15, 2018 (edited) Try this: function asdasdsas() playSound("http://www.convertmp3.io/download/?video=https://www.youtube.com/watch?v=iq7q82Cd6RI") end addCommandHandler("test",asdasdsas) EDIT: did i not testEDIT²: The API is broken, sometimes it does not start download. Edited December 15, 2018 by Tommy. EDIT² on API DID I HELP YOU? ________________________________________________________________________ ム MY STEAM ________________________________________________________________________ MY SITE www.tommy.br.com
Tokio Posted December 15, 2018 Author Posted December 15, 2018 9 minutes ago, Tommy. said: Try this: function asdasdsas() playSound("http://www.convertmp3.io/download/?video=https://www.youtube.com/watch?v=iq7q82Cd6RI") end addCommandHandler("test",asdasdsas) EDIT: did i not testEDIT²: The API is broken, sometimes it does not start download. you know another, working API? My servers: Fun: Derby(DD):
Tommy. Posted December 15, 2018 Posted December 15, 2018 52 minutes ago, Nerve said: you know another, working API? No, most use token on links DID I HELP YOU? ________________________________________________________________________ ム MY STEAM ________________________________________________________________________ MY SITE www.tommy.br.com
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now