View Single Post
Author Message
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 09-21-2013 , 19:39   [ANY] Grooveshark 1.2.5
Reply With Quote #1

Grooveshark powered by TinySong API




Description: This plugin allows players to play songs on Grooveshark without leaving the game. It is lightweight and shouldn't cause any lag for most players.

Compatibility: TF2, CSS, DODS, CSGO and any other Source based mods that use a MOTD and SM.

Commands:
sm_grooveshark (No Parameters) - Launch Grooveshark.com in MOTD browser for manual usage. *
sm_grooveshark <Name of Song/Artist> - Play song that best matches your query
sm_gs <Name of Song/Artist> - Alias for sm_grooveshark
sm_gsstop - Stop currently playing song
sm_gsplay - Replay the last song you selected with sm_grooveshark
sm_gscurrent - Displays information about the last song you selected with sm_grooveshark

Required Cvar:
sm_tinysong_api_key "" - Grab an API key from Tinysong's site and set it in the auto created cfg in cfg/sourcemod

Required Extension:
Latest Sockets Extension

Instructions:

  1. Go to http://tinysong.com/api and grab an API key
  2. Place the Grooveshark smx into your server's plugins folder
  3. Load the plugin or restart your server
  4. Paste the API key into the newly created config in cfg/sourcemod
  5. Restart your server

ChangeLog:

1.2.5 - Added FCVAR PROTECTED to API cvar so people cant steal your key

1.2.4 - Re-Released

-Special thanks to the previous authors, I do not take credit for the original plugin. I will continue to support this version.
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	597
Size:	85.3 KB
ID:	126060  
Attached Files
File Type: sp Get Plugin or Get Source (grooveshark.sp - 671 views - 6.7 KB)
File Type: smx grooveshark.smx (7.3 KB, 859 views)
__________________


Last edited by DontWannaName; 11-22-2013 at 22:28.
DontWannaName is offline