Grooveshark

From WikiDLXTV
Revision as of 13:00, 18 August 2011 by Jeffmikels (Talk | contribs) (updated for plugin version 1.2.1)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

After having a difficult time setting up the Grooveshark plugin properly, and after reading through the entire 12 page thread on the forum ( http://forum.wdlxtv.com/viewtopic.php?f=53&t=2802 ), I thought I would put together a quick summary of the relevant documentation here. All data is valid for version 1.2.1 of the plugin (by Bagira with some minor modifications by myself - jeffmikels).

I assume that the user has read the UMSP page on this site for information on how to troubleshoot UMSP plugins.

  • Enable the plugin from the WDLXTV Configuration website.
  • Enter your username and password in the GROOVESHARK_LOGIN field using the format username:password
  • Create a grooveshark.xml file to store "Canned Searches"

Here is a sample file:

<?xml version="1.0" encoding="UTF-8"?>
<searches>
   <users>
     <user>
       <displayname>Jeff Mikels' Playlists</displayname>
       <search>jeffmikels</search>
       <badge>http://beta.grooveshark.com/static/userimages/l7547197.png</badge>
     </user>
   </users>
   <playlists>
     <playlist>
       <displayname>Christmas Playlists</displayname>
       <search>christmas</search>
       <badge></badge>
     </playlist>
   </playlists>
   <albums>
      <album>
         <displayname>Mike Oldfield - Tubular Bells II</displayname>
         <search>Tubular Bells II</search>
         <badge>http://beta.grooveshark.com/static/amazonart/ma10dc19ffbda548079a86fc611c1298c.png</badge>
      </album>
   </albums>
   <songs>
      <song>
         <displayname>Black Eyed Peas</displayname>
         <search>Black Eyed Peas</search>
         <badge>http://www.mundodelocio.com/musica/imagenes/fotos-grupos/black-eyed-peas/black-eyed-peas.jpg</badge>
      </song>
      <song>
         <displayname>Madonna - Hard Candy</displayname>
         <search>Madonna - Hard Candy</search>
         <badge>http://beta.grooveshark.com/static/amazonart/m8559543.jpg</badge>
      </song>
   </songs>
   <artists>
      <artist>
         <displayname>Rodrigo y Gabriela</displayname>
         <search>Rodrigo y Gabriela</search>
         <badge>http://beta.grooveshark.com/static/amazonart/m2890697.jpg</badge>
      </artist>
   </artists>
   <artists>
      <artist>
         <displayname>John Williams playlists</displayname>
         <search>John Williams</search>
         <badge>http://beta.grooveshark.com/static/amazonart/m5578157.jpg</badge>
      </artist>
   </artists>
</searches>
  • Save your grooveshark.xml file to one of three locations: (1) the root of a drive plugged into your USB port, (2) /tmp/conf/grooveshark.xml on the wdlxtv filesystem, (3) or on a network share that has been mounted to the local filesystem using xmount or some other method. If you use either of the second two methods, you will need to specify the full pathname to the xml file in the Web Configuration. If you do not specify the location of your configuration file, the plugin will automatically search for a grooveshark.xml file on a USB drive and use it.
  • Test the plugin by going to http://YOUR_WDLX_IP/umsp/umsp-test.php?plugin=grooveshark

Once everything works, you can modify the canned searches by editing the xml file.