Raised This Month: $ Target: $400
 0% 

[ANY] SoundCloud ( v1.7.3 Updated 7/10/2017 )


Post New Thread Reply   
 
Thread Tools Display Modes
MoJoPz
Junior Member
Join Date: Oct 2014
Old 07-03-2015 , 13:51   Re: [ANY] SoundCloud
Reply With Quote #31

Anyway to play a playlist using this plugin?
MoJoPz is offline
blaacky
Senior Member
Join Date: Oct 2012
Old 07-03-2015 , 14:26   Re: [ANY] SoundCloud
Reply With Quote #32

Can you perhaps create some natives to play music onto 1 client, a list of clients, or all clients?
blaacky is offline
Alienmario
Senior Member
Join Date: Aug 2013
Old 07-03-2015 , 15:34   Re: [ANY] SoundCloud
Reply With Quote #33

Quote:
Originally Posted by MoJoPz View Post
Anyway to play a playlist using this plugin?
Not supported currently, but if you have the url you could simply open it with something like this. Thought I had seen a better music motd opener somewhere, can't find it now.

Quote:
Originally Posted by blaacky View Post
Can you perhaps create some natives to play music onto 1 client, a list of clients, or all clients?
That seems a bit unnecessary to me. You could just call ClientCommand or FakeClientCommand with your plugin.
PHP Code:
for (int i=1i<=MaxClientsi++){
 if(
IsClientInGame(i)){
  
FakeClientCommand(i"sm_sc skrillex");
 }


Last edited by Alienmario; 07-03-2015 at 15:36.
Alienmario is offline
blaacky
Senior Member
Join Date: Oct 2012
Old 07-04-2015 , 12:11   Re: [ANY] SoundCloud
Reply With Quote #34

Alright, I just don't like using FakeClientCommand to run functions on other plugins because it seems a little hacky. Do you think it's possible to pre-buffer certain sound clips and play them immediately when ready?
blaacky is offline
Alienmario
Senior Member
Join Date: Aug 2013
Old 07-04-2015 , 12:24   Re: [ANY] SoundCloud
Reply With Quote #35

Not directly, afaik you can't do anything with the page after it loads.
It's possible to modify the scripts to start playing at certain UNIX time and load the motd in advance.
Alienmario is offline
blaacky
Senior Member
Join Date: Oct 2012
Old 07-04-2015 , 12:48   Re: [ANY] SoundCloud
Reply With Quote #36

Maybe the page and the server can be connected via a socket so they can communicate together?
blaacky is offline
Kamizun
AlliedModders Donor
Join Date: May 2015
Location: Portugal
Old 07-07-2015 , 10:15   Re: [ANY] SoundCloud
Reply With Quote #37

When i try to search on my browser the next message appear:
`url` parameter is not a valid SoundCloud URL. Learn more about using SoundCloud players.
Kamizun is offline
Alienmario
Senior Member
Join Date: Aug 2013
Old 07-07-2015 , 10:38   Re: [ANY] SoundCloud
Reply With Quote #38

Quote:
Originally Posted by Kamizun View Post
When i try to search on my browser the next message appear:
`url` parameter is not a valid SoundCloud URL. Learn more about using SoundCloud players.
Can you pm me your link so I can try?
Is your php up to date?

Last edited by Alienmario; 07-07-2015 at 10:39.
Alienmario is offline
Kamizun
AlliedModders Donor
Join Date: May 2015
Location: Portugal
Old 07-07-2015 , 16:03   Re: [ANY] SoundCloud
Reply With Quote #39

Quote:
Originally Posted by Alienmario View Post
Can you pm me your link so I can try?
Is your php up to date?
I sent you a PM with the link, and yes i downloaded the .php TODAY and tried. Isn't Working
Kamizun is offline
Therepower
Member
Join Date: Sep 2011
Old 07-19-2015 , 05:22   Re: [ANY] SoundCloud
Reply With Quote #40

Nice Plugin. i had made a similar one based on youtube a while ago
Therepower is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode