AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] SoundCloud ( v1.7.3 Updated 7/10/2017 ) (https://forums.alliedmods.net/showthread.php?t=262884)

Alienmario 05-14-2015 19:06

[ANY] SoundCloud ( v1.7.3 Updated 7/10/2017 )
 
3 Attachment(s)
Lets players listen to any music from soundcloud in the background.
Possible replacement for the grooveshark plugin.

Player Commands:
Quote:

  • !sc - Play a song on soundcloud. Format: !sc song_name
  • !scnext - Plays next song from last played song
  • !sclisten - Listen to current song set by admin (with !scset).
  • !scstop - Stops song playback
  • !scvol, !scvolume - Sets soundcloud volume (0-10). This is saved in clientprefs (see databases.cfg)
  • !scopen, !scbring - Opens the playing window
  • !schelp - Prints out plugin commands in chat

Admin Commands (kick flag) :
Quote:

  • !scall - Play a song on soundcloud to all players. Format: !scall song_name
  • !scset - Sets the song that others can !sclisten to. Format: !scset song_name
  • !scstopall - Stops song playback for everyone

Cvars:
Quote:

sm_soundcloud_version Plugin version
sm_sc_url yourhost.com/soundcloud.php Soundcloud php script location. Needs to follow the default format
sm_sc_visible [def=0] 1 = makes the window popup, 0 = plays in background
sm_sc_volume [def=3] 0-10 default volume

Installation:
Drop soundcloud.smx in addons/sourcemod/plugins.
You will need to host the included php script and then set sm_sc_url to match your host (must match the default format) in server.cfg
You can use any free web-host you can find that supports PHP.

To verify your php script is hosted correctly, in your browser go to yourhost.com/soundcloud.php?search=epic%20sax

painn 05-15-2015 11:47

Re: [ANY] SoundCloud
 
server.cfg cvar sm_sc_url "my.webhosting/soundcloud.php" ?

consol say
] sm_scall Epic Sax Guy - Epic Sax
FF9900[SoundCloud]DDDD55 Admin -=pain=- played FF9900Epic Sax Guy - Epic SaxDDDD55. Use FF9900!scstopDDDD55 to stop playback.

chat [SoundCloud] Admin -=pain=- played Epic Sax Guy - Epic Sax. Use !scstop to stop

music not work play help me i Noob :3

Alienmario 05-15-2015 12:44

Re: [ANY] SoundCloud
 
Turns out only the embedded player is supported in in-game browser.
Files updated, redownload please. Autoplay removed as result :(

Lukarika 05-16-2015 16:49

Re: [ANY] SoundCloud
 
Great plugin! but when I type "!sc sound name~" I see something like this http://i.imgur.com/NC9i8Hg.jpg game - csgo
Can you fix it?

Alienmario 05-16-2015 18:38

Re: [ANY] SoundCloud
 
Thanks! Can you try again now?

Lukarika 05-16-2015 19:32

Re: [ANY] SoundCloud
 
Quote:

Originally Posted by Alienmario (Post 2297575)
Thanks! Can you try again now?

Now it works great! Thankies~ :3

Electr000999 05-18-2015 05:08

Re: [ANY] SoundCloud
 
how change sound voume?)

Delusional. 05-19-2015 03:14

Re: [ANY] SoundCloud
 
Works really well! However I recompiled a version, where you needed root access to use the !scall command.

Dragonidas 05-19-2015 08:07

Re: [ANY] SoundCloud
 
cool plugin but we need to change volume :x

Alienmario 05-20-2015 10:27

Re: [ANY] SoundCloud
 
Version 1.4
Added an experimental volume control (!scvol 1-10)
Update both the php script (now with some javascript inside) and the smx file please.

If you change the volume while playing, it will reload the page and try to seek the last position.

Report any bugs / if you wanna see any changes.


All times are GMT -4. The time now is 21:59.

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