Raised This Month: $32 Target: $400
 8% 

[ANY] Grooveshark 1.2.3


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Evinyl
New Member
Join Date: Apr 2012
Plugin ID:
2955
Plugin Version:
1.2.2
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Play songs from Grooveshark.
    Unapprover:
    Reason for Unapproving:
    Taken over at https://forums.alliedmods.net/showthread.php?t=226704
    Old 05-16-2012 , 00:50   [ANY] Grooveshark 1.2.3
    Reply With Quote #1

    I only changed this to work with the new Tinysong API.
    YOU NEED A TINYSONG API KEY, OBTAINABLE AT http://tinysong.com/api
    Original Post at http://forums.alliedmods.net/showthread.php?t=142920
    Code:
    Grooveshark
    Listen to songs in-game from Grooveshark's massive music database.
    
    
    Description:
    This plugin will allow you to play specific songs in game, and it will broadcast the song information in chat, which includes: the name of the song, artist, and a Song ID that other players can use to listen to the same song.
    
    
    
    
    Command List:
    sm_grooveshark (No Parameters) - Launch Grooveshark.com in MOTD browser for manual usage. *
    sm_grooveshark <Name of Song> - Play song that best matches your query
    sm_gs <Name of Song> - 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
    
    
    Dependencies:
    Socket Extension
    
    
    Special Thanks:
    |N| Octo-dhd - Thanks for the snippet.
    All the jumpers that helped beta test.
    Grooveshark and TinySong - Thanks for being awesome!
    
    
    Known Issues:
    There is a pretty hard client-side lag every time you attempt to play a song. As far as I can tell it seems to be caused by the outdated MOTD browser trying to load the fancy Grooveshark website. But it only lasts a few seconds so it's not the worst thing in the world.
    * This works alright to queue up a few songs instead of one at a time, but it won't display song information in chat. Also, you won't be able to go back to the page (to modify your queue for example) without the page reloading. Maybe I'll add the ability to open the motd panel without loading anything (if possible) so you can modify your queue.
    Possible issues with L4D2. Workaround: Type !gs in chat with no parameters first, then close the motd window and you should be able to use it normally.
    
    
    Other Notes:
    If you enjoy the content delivered by this plugin, you should check out Grooveshark.com when you aren't in game, to support their site (banner ads). Maybe even consider VIP for $3/mo. I personally have VIP just so I could use their awesome Android App, but there are other benefits too. (Note: I am not affiliated with the site and any bits paid to Grooveshark has nothing to do with me or this plugin).
    I've only tested this plugin on TF2, but I don't see any reason why it wouldn't work on all mods.
    
    
    Changelog:
    v1.2.1 (2010-11-15)
    * Added sm_gsstop command to stop the music.
    
    v1.2.0 (2010-11-11)
    * Initial public release
    Cvars added : sm_tinysong_api_key
    Absolutely required for the plugin to properly work.
    Changed the version cvar.
    Attached Files
    File Type: sp Get Plugin or Get Source (grooveshark.sp - 547 views - 6.4 KB)
    File Type: smx grooveshark.smx (7.2 KB, 646 views)

    Last edited by Evinyl; 05-16-2012 at 18:44.
    Evinyl is offline
    Leonardo
    Veteran Member
    Join Date: Feb 2010
    Location: 90's
    Old 05-16-2012 , 01:55   Re: [ANY] Grooveshark 1.2.2
    Reply With Quote #2

    I'm not sure, correct me if I'm wrong
    but

    Last edited by Leonardo; 05-16-2012 at 01:56.
    Leonardo is offline
    muffinman576
    Junior Member
    Join Date: Aug 2011
    Old 05-18-2012 , 23:42   Re: [ANY] Grooveshark 1.2.3
    Reply With Quote #3

    Works beautifully! Been wanting this plugin for a while.
    muffinman576 is offline
    Smarmy
    Senior Member
    Join Date: Mar 2012
    Old 06-07-2012 , 14:53   Re: [ANY] Grooveshark 1.2.3
    Reply With Quote #4

    Whoaaaa. Awesome.
    Smarmy is offline
    Moulijin
    SourceMod Donor
    Join Date: Sep 2010
    Old 06-09-2012 , 02:41   Re: [ANY] Grooveshark 1.2.3
    Reply With Quote #5

    Nice, works!
    Moulijin is offline
    cool_myll
    SourceMod Donor
    Join Date: Aug 2011
    Old 10-12-2012 , 07:02   Re: [ANY] Grooveshark 1.2.3
    Reply With Quote #6

    Works very nice but the volume is too high. Can you do something about it?

    Also can you make it so only some flags can use it? I tried using the admin overrides but it doesnt seem to work.
    __________________

    Last edited by cool_myll; 10-12-2012 at 08:18.
    cool_myll is offline
    C0nw0nk
    Senior Member
    Join Date: May 2011
    Location: United Kingdom
    Old 10-12-2012 , 11:18   Re: [ANY] Grooveshark 1.2.3
    Reply With Quote #7

    I love this plugin good job although shouldn't you hide the apikey outputs from chat messages ?
    __________________
    C0nw0nk is offline
    Send a message via MSN to C0nw0nk
    cool_myll
    SourceMod Donor
    Join Date: Aug 2011
    Old 10-12-2012 , 14:13   Re: [ANY] Grooveshark 1.2.3
    Reply With Quote #8

    Quote:
    Originally Posted by C0nw0nk View Post
    I love this plugin good job although shouldn't you hide the apikey outputs from chat messages ?
    Yes thats another bug i noticed too.
    __________________
    cool_myll is offline
    C0nw0nk
    Senior Member
    Join Date: May 2011
    Location: United Kingdom
    Old 10-12-2012 , 14:18   Re: [ANY] Grooveshark 1.2.3
    Reply With Quote #9

    I just edited the plugin and nulled out the "printtochat" line that contains apikey

    One feature i would love is if we could include the grooveshark radio stations system into the plugin ?
    __________________
    C0nw0nk is offline
    Send a message via MSN to C0nw0nk
    cool_myll
    SourceMod Donor
    Join Date: Aug 2011
    Old 10-13-2012 , 03:53   Re: [ANY] Grooveshark 1.2.3
    Reply With Quote #10

    Quote:
    Originally Posted by C0nw0nk View Post
    I just edited the plugin and nulled out the "printtochat" line that contains apikey

    One feature i would love is if we could include the grooveshark radio stations system into the plugin ?
    Can you send me this version? Also do you know anything about my other question? Can i makee it so only certain flags have access to the plugin?
    __________________
    cool_myll is offline
    Reply


    Thread Tools
    Display Modes

    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 10:37.


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