Jump to content

Grooveshark Song Dl


Brandon

Recommended Posts

Note: The API key got disabled, and I'm not sure if I'll be able to get another one, So it doesn't work right now

I have made a grooveshark downloader

It will download from a playlist, popular songs, and search results

The search is working

Token generation code is based off of GrooveWalrus

Source: code.google.com/p/grooveshark-dl

NOTE: New Source code is up

Is there any features that should be added to the site?

Current SVN Revision: r36

Update to the latest revision, any version before r33, login is broken, and grooveshark removed the popular artists and albums

Edited by Brandon
Link to comment
Share on other sites

  • Replies 146
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...
Whats the php dependencies? Im trying to run this on my local server, installing php5-curl makes the search work, but streaming isnt working.

@Xqtftqx

Either check out the new stream.php, or uncomment the http_parse_header and change it to http_parse_headers, note the "s" at the end

Link to comment
Share on other sites

@Xqtftqx

Either check out the new stream.php, or uncomment the http_parse_header and change it to http_parse_headers, note the "s" at the end

Worked like a charm, thanks!

Also, when viewing the popular songs, when i download them they output as 23123213.mp3 (ex) and have correct id3 tags. But when i search for a song, it saves as stream.php and doesnt have id3 tags, any way to fix this?

Edited by Xqtftqx
Link to comment
Share on other sites

Most songs will have id3, its a user supported song community, and to have it download as mp3

Apply this mod_rewite rule

Options +FollowSymLinks

RewriteEngine on

RewriteRule (.*)\.mp3$ /stream.php?songid=$1

and replace

echo "<a href=stream.php?songid=".$val[SongID].">Download</a><br><br><br> ";

in search.php, popular.php, and playlist.php with

echo "<a href=".$val[SongID].".mp3>Download</a><br><br><br> ";

If you make any changes to the code, just email me, and I will look at it, my email is on the google code site

Link to comment
Share on other sites

Okay, cool :D

I was sitting here thinking of what i could do with this, and i decided an iPhone web app would be cool. So i made one with the help of iWebKit. It currently only supports the Popular Playlist, and the code is very bad as i did it in a rush, but it works :D

Download here: http://www.mediafire.com/?5l1mihy3yrh

If somebody would to take this and finish it, that would be awesome! I left the iwebkit framework in there and the unused files from groovedl.

I have a VIP Membership on grooveshark, so i have the jailbroken iPhone app, but its not that good >_> it crashes a lot and i have to reset my phone. Also it doesn't show the Popular songs.

Edited by Xqtftqx
Link to comment
Share on other sites

Okay, cool :D

I was sitting here thinking of what i could do with this, and i decided an iPhone web app would be cool. So i made one with the help of iWebKit. It currently only supports the Popular Playlist, and the code is very bad as i did it in a rush, but it works :D

Download here: http://www.mediafire.com/?5l1mihy3yrh

If somebody would to take this and finish it, that would be awesome! I left the iwebkit framework in there and the unused files from groovedl.

I have a VIP Membership on grooveshark, so i have the jailbroken iPhone app, but its not that good >_> it crashes a lot and i have to reset my phone.

Thats Awesome! :D

Did u make any other changes to the code? I saw the about.php.

Im gonna add this to the site

EDIT: Its added to the site, and it looks really good

Edited by Brandon
Link to comment
Share on other sites

Thats Awesome! :D

Did u make any other changes to the code? I saw the about.php.

Im gonna add this to the site

EDIT: Its added to the site, and it looks really good

about.php is just a iwebkit file, it doesn't do any calls to exec.php or anything else. Its got your name in it! xD

Later ill add the search and playlist functions, and clean it up a little. Everything besides popular.php is the same (i ditched the orig index.php though). I also removed all the comments, its just easier for me to work that way and they dont effect the end result at all

Link to comment
Share on other sites

about.php is just a iwebkit file, it doesn't do any calls to exec.php or anything else. Its got your name in it! xD

Later ill add the search and playlist functions, and clean it up a little. Everything besides popular.php is the same (i ditched the orig index.php though). I also removed all the comments, its just easier for me to work that way and they dont effect the end result at all

I added Search and Playlist to the page :D

Link to comment
Share on other sites

Thanks for the site. Works well for the "popular songs" but a little problem when I search for songs. When I search for a song and save, the filename becomes "stream.mp3" and the size turns out to be 0kb.

How do you fix this?

Its the grooveshark site, not my site

Link to comment
Share on other sites

I have a problem with grooveshark blocking me after so many songs are played, Ive narrowed it down either to not including the country in the JSON, or not telling grooveshark when the download is started, and when its complete. Which one do you think I should try first?

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...