SA-MP Forums Archive
Online MP3 Browser - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Online MP3 Browser (/showthread.php?tid=506545)



Online MP3 Browser - Sasino97 - 13.04.2014

(Posted this yesterday but I think it was in the wrong section because it was removed)

Hello sa-mp community members
I was thinking, is it possible to script in PAWN (without having to write a C++ plugin), a system that lets the user type the song title or author in an input box dialog, and get a list of n results from a website (I was thinking mp3skull because it's the best), and then he can select one and listen to it?
I was thinking that it would be possible with the functions HTTP and PlayAudioStreamForPlayer.
Will anyone help me to make this ? (I'm not goot at HTTP)

Thanks in advance


Re: Online MP3 Browser - MrCallum - 13.04.2014

You possibly could do like a radio boom box or what ever like a command they do like /radio then it comes up with a dialog and they put an url in and it plays i believe you could do that with audio etc...


Re: Online MP3 Browser - Sasino97 - 13.04.2014

Quote:
Originally Posted by MrCallum
View Post
You possibly could do like a radio boom box or what ever like a command they do like /radio then it comes up with a dialog and they put an url in and it plays i believe you could do that with audio etc...
Yes, I know how to do that, but what I'm trying to do is a song browser, so the user doesn't have to type any url, but the song's name or author that he wants to search...


Re: Online MP3 Browser - Sasino97 - 13.04.2014




Re: Online MP3 Browser - rockhopper - 13.04.2014

if u did that it will be amazing


Re: Online MP3 Browser - Sasino97 - 25.04.2014

Quote:
Originally Posted by rockhopper
View Post
if u did that it will be amazing
I can't do that alone, that's why I need community's knowledge