Jump to content

liquidcool

Active Members
  • Content Count

    8
  • Joined

  • Last visited

About liquidcool

  • Rank
    Hackling

Recent Profile Visitors

1,307 profile views
  1. Well I think at least we know why the encoding failed... length is the number of bytes in the file and I doubt those 205 bytes it saved were anything of substance.
  2. this command from the log: C:\Program Files\Fiddler2\Scripts\faad.exe "D:\Shared\Music\dnld\Pandora\Rihanna - Break It Off.mp4" -o "D:\Shared\Music\dnld\Pandora\Rihanna - Break It Off.wav" converts the mp4 from pandora into a WAV that we can convert to an mp3. I'm guessing if you can't play that file, then it's either not a valid mp4 or you don't have the right codecs installed. Hmm, seems very odd that the first 2 songs work and subsequent ones don't. I'm sorry, I don't have an answer for you. Perhaps some of the other developers will run across this and identify the problem.
  3. You're right, they don't exactly match - that's why I'm comparing only the first 350 characters. Those match exactly and the extra chars are some kind of salt code. But if the first 350 are the same, it doesn't matter what's on the end.
  4. Well the nice thing is that building a proxy for all http traffic would be a huge pain in the ass. Fiddler makes this easy as its plug in architecture allows you define a function that is called whenever an http response finishes. So now you have the url and all the response data and you can do whatever you want with this and you don't have to worry about the details. Fiddler exposes methods like SaveResponse(filename) and uirContains(string), etc. If you look at the code, it simply says, is this a pandora xml file? if yes, remember the audio urls and data. Is this an audio url that we saw ear
  5. I would also add, it wouldn't be hard to add support for deezer.com and other online radio sites.
  6. Answers: * album art comes from pandora, but since pandora includes the amazon isbn, it wouldn't be hard to fetch the larger image from amazon * The bitrate could be specified in the lame encoder step - to be honest i'm not sure what the optimum setting would be - you could encode the wavs at 300kbs, but at some point you're encoding far higher than pandora serves them. i guess it would be ideal to give you a setting to specify command line switches for lame.exe * of course - you could do anything with this. The source is included so someone else could pick this up and run with it. I've
  7. source and binaries: http://wikisend.com/download/511348/PandoraSaver.zip let me know how it goes and I am not responsible for misuse.
  8. Fiddler is an http proxy for debugging http traffic - even SSL traffic. It supports plugins written in .net. You can download it from www.fiddler2.com I have written a plugin for fiddler2 that does the following: * watches traffic to pandora for xml documents describing a playlist and remembers audio url and id3 info * watches for requests to a known audio url and saves the recorded response as .mp4 * runs faad to convert the mp4 to wav * runs lame to convert the wav to mp3 * inserts an id3 tag in the mp3 with artist, album, title, and covert art image * deletes the 2 temp files
×
×
  • Create New...