Xqtftqx Posted June 29, 2010 Share Posted June 29, 2010 (edited) Site Updated. Working perfectly. Also, ive added: http://xqtftqx.hacked.jp/scripts/GS-Beta Which is an unmodified version of /branches Edited June 29, 2010 by Xqtftqx Quote Link to comment Share on other sites More sharing options...
DarkStar851 Posted June 29, 2010 Share Posted June 29, 2010 (edited) If you'll observe, attempting to stream (or download) songs from the unmodified branch redirects you to the akamai domain. http://akamai.grooveshark.com/128/23110128...e7e5c8554f7471b Where __gda__ is your session code, I assume. My patch quickly fixes this by getting the URL from the redirect code and streaming from that instead. Edited June 29, 2010 by DarkStar851 Quote Link to comment Share on other sites More sharing options...
Brandon Posted June 29, 2010 Author Share Posted June 29, 2010 (edited) If you'll observe, attempting to stream (or download) songs from the unmodified branch redirects you to the akamai domain. http://akamai.grooveshark.com/128/23110128...e7e5c8554f7471b Where __gda__ is your session code, I assume. My patch quickly fixes this by getting the URL from the redirect code and streaming from that instead. Actually, the more popular songs are served from akamai, and the rest are served from the stream server on grooveshark EDIT: About the player, I was planning on using this player http://www.happyworm.com/jquery/jplayer/la...loper-guide.htm which is HTML5 based, and turns into a flash player on browsers that dont HTML5 Edited June 29, 2010 by Brandon Quote Link to comment Share on other sites More sharing options...
DarkStar851 Posted June 29, 2010 Share Posted June 29, 2010 Looks perfect, I'll get on blending it into the search / popular pages as soon as I'm back on my main box. Quote Link to comment Share on other sites More sharing options...
Xqtftqx Posted June 29, 2010 Share Posted June 29, 2010 ive used JPlayer in other projects, a bit ago, just to try it out i added the Google Podcast player, which was too big to look good Quote Link to comment Share on other sites More sharing options...
Brandon Posted June 29, 2010 Author Share Posted June 29, 2010 ive used JPlayer in other projects, a bit ago, just to try it out i added the Google Podcast player, which was too big to look good This one looks like its a good size Quote Link to comment Share on other sites More sharing options...
Xqtftqx Posted June 29, 2010 Share Posted June 29, 2010 http://www.happyworm.com/jquery/jplayer/latest/demo-02.htm Could be used, so all songs are shown in 1 player instead of a lot of different players Quote Link to comment Share on other sites More sharing options...
Brandon Posted June 29, 2010 Author Share Posted June 29, 2010 http://www.happyworm.com/jquery/jplayer/latest/demo-02.htm Could be used, so all songs are shown in 1 player instead of a lot of different players Yeah, Thats the one I was talking about, I just forgot to post the link, but it might be a good idea to figure out how to make the list scrollable Quote Link to comment Share on other sites More sharing options...
DarkStar851 Posted June 30, 2010 Share Posted June 30, 2010 Call me a buzz-kill, but if I'm not mistaken, doesn't HTML5 only support "open" formats, and not MP3 files? We'll probably have to use a Flash-based player. Quote Link to comment Share on other sites More sharing options...
Brandon Posted June 30, 2010 Author Share Posted June 30, 2010 (edited) HTML5 does have mp3 support, and the player I picked out, it comes with a flash based player if HTML5 support is not availible EDIT: I added the iphone version to SVN Edited July 1, 2010 by Brandon Quote Link to comment Share on other sites More sharing options...
DarkStar851 Posted July 3, 2010 Share Posted July 3, 2010 Found an absolutely perfect player for this stuff. http://www.schillmania.com/projects/soundmanager2/ I'm using it on GrooveSnipe.it.cx if anyone wants to see in practice. Quote Link to comment Share on other sites More sharing options...
Brandon Posted July 3, 2010 Author Share Posted July 3, 2010 Found an absolutely perfect player for this stuff. http://www.schillmania.com/projects/soundmanager2/ I'm using it on GrooveSnipe.it.cx if anyone wants to see in practice. Woah, thats awesome, check you PM Quote Link to comment Share on other sites More sharing options...
lohphat Posted July 4, 2010 Share Posted July 4, 2010 That's it. If anyone would like to see this in practice, or simply would like to get back to downloading, http://groovesnipe.it.cx/ Nice. It doesn't appear to play entire songs. Is that a limitation of how the player is implemented? Quote Link to comment Share on other sites More sharing options...
Xqtftqx Posted July 5, 2010 Share Posted July 5, 2010 (edited) Should probably provide a patch... and link to original script. Thats kinda what GPL is about. Also, isnt having a streaming player like that sorta redundant? i thought the script was about downloading songs... Edit: I guess you can download, pretty nice actually. You have to click on the song name Edited July 5, 2010 by Xqtftqx Quote Link to comment Share on other sites More sharing options...
Brandon Posted July 7, 2010 Author Share Posted July 7, 2010 Should probably provide a patch... and link to original script. Thats kinda what GPL is about. Also, isnt having a streaming player like that sorta redundant? i thought the script was about downloading songs... Edit: I guess you can download, pretty nice actually. You have to click on the song name I gave him commit access to SVN Quote Link to comment Share on other sites More sharing options...
Brandon Posted July 9, 2010 Author Share Posted July 9, 2010 (edited) What are the requirements for including code that uses the MIT License? I also slightly modified the code Edited July 9, 2010 by Brandon Quote Link to comment Share on other sites More sharing options...
Brandon Posted July 18, 2010 Author Share Posted July 18, 2010 @Xqtftqx and @DarkStar851 Both your sites are down Quote Link to comment Share on other sites More sharing options...
painless death Posted July 30, 2010 Share Posted July 30, 2010 Check this out http://hacked-apps.blogspot.com/ made ths application GrooveSync to download playlists from grooveshark Quote Link to comment Share on other sites More sharing options...
DarkStar851 Posted July 30, 2010 Share Posted July 30, 2010 (edited) Very slick, painless death. Has anyone worked around the cut-off that stream.php seems to be causing? Songs seem to be dropping off with 10-15 seconds left. No idea what's causing it. :( Also: My site's down due to a conflict of interest with my Internet Service Provider, I can run my server, but it's on a bandwidth restriction. I'm upgrading the home plan pretty soon, and it should be up in a week or two. Edited July 30, 2010 by DarkStar851 Quote Link to comment Share on other sites More sharing options...
kaputtmacher Posted July 31, 2010 Share Posted July 31, 2010 (edited) Very slick, painless death. Has anyone worked around the cut-off that stream.php seems to be causing? Songs seem to be dropping off with 10-15 seconds left. No idea what's causing it. :( i faced the same problem my client does now everything that firefox also does, even fetch the damn google ads via JS (and all pngs) - and it works now im sure thats something with their ban policy as it looks like many people are trying to write their own client (ok, i have done this too :) ) €dit: btw. is it allowed to post my own client here? it can download songs, so im not sure if this is legal?? €dit#2: here it is Edited July 31, 2010 by kaputtmacher Quote Link to comment Share on other sites More sharing options...
DarkStar851 Posted August 1, 2010 Share Posted August 1, 2010 Neat. I was actually planning to make a Java port. Why are you including so many libraries? I'm sure more than a few are unnecessary. Quote Link to comment Share on other sites More sharing options...
Brandon Posted August 1, 2010 Author Share Posted August 1, 2010 Very slick, painless death. Has anyone worked around the cut-off that stream.php seems to be causing? Songs seem to be dropping off with 10-15 seconds left. No idea what's causing it. :( Also: My site's down due to a conflict of interest with my Internet Service Provider, I can run my server, but it's on a bandwidth restriction. I'm upgrading the home plan pretty soon, and it should be up in a week or two. I think what is causing it is not including the content length header in the stream.php file Quote Link to comment Share on other sites More sharing options...
kaputtmacher Posted August 1, 2010 Share Posted August 1, 2010 Why are you including so many libraries? because htmlunit does everything i need (calling the .js, etc.) and htmlunit needs them i tried to do it with webkit and gecko, but both require a recompile for windows and linux, and thats not what i wanted so im using htmlunit which needs all these dependencies when i have time i will clean them because most parts are not neccessary if you dont care about getting banned, you only need httpclient (create the gui with swing, and use the string functions for the json stuff and send this to the server) Quote Link to comment Share on other sites More sharing options...
Brandon Posted August 3, 2010 Author Share Posted August 3, 2010 (edited) I merged the unstable and stable versions, I commited it to the branches folder on SVN, I just need some people to test it and find any bugs EDIT: The problem with the songs not playing all the way through is a server/client problem, if you use wget or Windows Media Player to play the song, it plays all the way through, but if you use something like an iPhone, it wont play all the way through, I think the way to fix it is to send a Content-Length header, because Wireshark shows the iPhone not downloading the whole song Another Edit: I think I fixed the problem where the songs wouldn't stream completely, and also uploaded the iPhone version Edited August 5, 2010 by Brandon Quote Link to comment Share on other sites More sharing options...
DarkStar851 Posted August 24, 2010 Share Posted August 24, 2010 (edited) SHAMELESS BUMP I ported my Java-version of Groovesnipe over to my Tomcat server (a simple rewrite using JSP) to see how it'd work out. Short answer: pretty well. I've got it deployed here: http://freedom.it.cx:8080/groovesnipeTheWorld/ And all the music is streamed (or downloadable) from a basic edna python server (thanks for the shoutout Darren, great script!) here: http://freedom.it.cx:8180/groovesnipe/ I've sorted all the tracks in this format: <artist name>/<song name> for ease of use, and I'm working on a template for both the JSPs and edna as well. If anyone want's the source, PM me, it's a little messy and it's not really something I'd like to publish. Also; if anyone knows how to make an Apache rule that forwards /groovesnipe to the :8080 server, and /music to the :8180 server, let me know, it'd be extremely helpful. Edited August 24, 2010 by DarkStar851 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.