SciLor's Open Source Forums

Also visit my Website!
It is currently Fri Dec 14, 2018 5:13 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Fri Mar 12, 2010 5:28 pm 
Hello, I am trying to make my own downloader to learn something (I am not able to download anything so far, and I think I've done exactly what you are doing).

But everytime I try to recieve the stream I get error 400, why do I get it?
I am using your DLL and doing it like this:

(Delete this if you don't want anyone to know how you do it, but since you are a programmer I bet you want people to know how you code and you gladly help other programmers)

Code:
        //Code by scilor, www.scilor.com
        private void DownloadItem(string sURL, string strFile, string strFolder)
        {
            object DownloadItem;
            string myStringWebResource = null;
            WebClient myWebClient = new WebClient();
            WebHeaderCollection myHeaders = new WebHeaderCollection();
            try
            {
                myStringWebResource = sURL;
                //Directory.CreateDirectory(strFolder);
                myWebClient.DownloadFile(myStringWebResource, "C:\\test.mp3");
                myHeaders = myWebClient.ResponseHeaders;
                DownloadItem = true;
            }
            catch (Exception exception1)
            {
                MessageBox.Show(exception1.Message);
            }
        }


        private void button1_Click(object sender, EventArgs e)
        {
            GroovesharkSession test = Grooveshark.Connect();
            GroovesharkSearchResponse resp = test.Search("Lady gaga");

            GroovesharkSearchResponseItem respitem = resp.Items[11];

            Stream music = respitem.GetMusicStream();

            string Str = test.GetMusicUrl(respitem.SongID);

            DownloadItem(Str, "", "");
           
        }


Top
  
 
 
Online
The Adswinger

Joined: Wed Jan 13, 2010 11:56 pm
Posts: Too many!
Donated: Ad Posts


PostPosted: Fri Mar 12, 2010 5:46 pm 
Offline
The Developer

Joined: Wed Jan 13, 2010 11:56 pm
Posts: 1467
Donated: free software
Which dll are you using exactly (From which version of my downloader)?

The only thing you could try to uncomment is: "Stream music = respitem.GetMusicStream();" :D the rest seems to be fine

SciLor
PS: I would like you not to release the software including my dll. If you want to release it release it without it and suggest your users to download the downloader package from here to get it.

_________________
My Windows Mobile and Windows Open Source Website:
www.scilor.com

Like my work? Donate!
Donation Website

My Programs:
grooveshark™.com Downloader, GrooveMobile, Fuel Blaster, Chameleon TicTacToe, QuickTap, WiMoBlue, Driving Licence Trainer, CodeSnippetViewer, Gesture Launcher, Fahrplanauskunft, GSensor Control


Top
 Profile  
 
PostPosted: Fri Mar 12, 2010 6:13 pm 
I am not planning on releasing it, I am making this for my own use.

I am using the dll of the latest version.


Top
  
 
PostPosted: Fri Mar 12, 2010 6:32 pm 
Offline
The Developer

Joined: Wed Jan 13, 2010 11:56 pm
Posts: 1467
Donated: free software
Ok, good to know

check the link if it is valid, another idea!

_________________
My Windows Mobile and Windows Open Source Website:
www.scilor.com

Like my work? Donate!
Donation Website

My Programs:
grooveshark™.com Downloader, GrooveMobile, Fuel Blaster, Chameleon TicTacToe, QuickTap, WiMoBlue, Driving Licence Trainer, CodeSnippetViewer, Gesture Launcher, Fahrplanauskunft, GSensor Control


Top
 Profile  
 
PostPosted: Fri Mar 12, 2010 6:49 pm 
Somehow it magically started working.
Could have been some problem at groovesharks endpoint or with my dns servers..

Anyways, I'll keep you updated with what I'm making, maybe you can use some of my code. :)


Top
  
 
PostPosted: Fri Mar 12, 2010 6:55 pm 
Offline
The Developer

Joined: Wed Jan 13, 2010 11:56 pm
Posts: 1467
Donated: free software
If you bring some nice new idea I wouldn't say No ;) Keep me updated with your ideas :)

_________________
My Windows Mobile and Windows Open Source Website:
www.scilor.com

Like my work? Donate!
Donation Website

My Programs:
grooveshark™.com Downloader, GrooveMobile, Fuel Blaster, Chameleon TicTacToe, QuickTap, WiMoBlue, Driving Licence Trainer, CodeSnippetViewer, Gesture Launcher, Fahrplanauskunft, GSensor Control


Top
 Profile  
 
PostPosted: Mon Oct 04, 2010 12:55 am 
thanks...

now its working thanks for your advices...

this is possible grooveshark detect that i use your api and block access, or its like listen music on grooveshark?


Top
  
 
PostPosted: Mon Oct 04, 2010 4:10 pm 
Offline
The Developer

Joined: Wed Jan 13, 2010 11:56 pm
Posts: 1467
Donated: free software
My API tries to react like the flash application, but I cannot confirm it is so stealthed that it cannot be detected ;)

_________________
My Windows Mobile and Windows Open Source Website:
www.scilor.com

Like my work? Donate!
Donation Website

My Programs:
grooveshark™.com Downloader, GrooveMobile, Fuel Blaster, Chameleon TicTacToe, QuickTap, WiMoBlue, Driving Licence Trainer, CodeSnippetViewer, Gesture Launcher, Fahrplanauskunft, GSensor Control


Top
 Profile  
 
PostPosted: Sat Nov 06, 2010 1:11 pm 
Dhmmmm i tested another cracked grooveshark app and my acc got flagged
it means that that app played random songs or not at all however even if i got flagged
The scilors pgr woud still work this is really impressive because i was told that i will not
be able to use cracked apps anymore
since in scilors version u dont need 2 log in the worst thing that may happen is
getting your ip banned well this may be fixed with an proxy integration


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
template->_php_include(): File ./counter/foruminclude.php does not exist or is empty Powered by phpBB® Forum Software © phpBB Group