Grooveshark

From WikiDLXTV
Revision as of 09:26, 18 August 2011 by Mad ady (Talk | contribs) (Moved from discussion to the main page)

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

After having a difficult time setting up the Grooveshark plugin properly, I thought I would put together a quick summary of the relevant documentation here. All data is valid for version 1.2 of the plugin by Bagira. I also 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>
   <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: the root of a drive plugged into your USB port, /tmp/conf on the wdlxtv filesystem, 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. However, the plugin will automatically recognize 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.