Jump to content

darkone_05

Active Members
  • Posts

    39
  • Joined

  • Last visited

Everything posted by darkone_05

  1. Take a look at the source for Mp3Processor.findTempDir(). Thats where the TEMP and TMP environmental variables come into play.
  2. I have been beating my head against this one for a few hours now... WebConversation wc = new WebConversation(); WebRequest req = new GetMethodWebRequest("http://www.gracenote.com/music/index_old.html"); WebResponse resp = wc.getResponse(req); WebForm searchForm = resp.getFormWithName("search"); searchForm.setParameter("q", URLEncoder.encode(artist + " " + title, "UTF-8")); WebResponse webResponse = searchForm.submit(); For some reason, this died at submit about 99% of the time. It end up spitting back a load of script gibrish, which is caught and returned in the log. The other 1% of the time that it doesn't die there, it doesn't work anyway, because the original code is defective and I haven't fixed it yet. The code defect takes place when the search returns multiple possibilities for the song info. The only time tags work right now is when: a)the fetch doesn't break and b)the search returns only the definative result. If ANYONE has ANY experience with these web functions, please let me know and give me a hand. I am proficient with java, but this part is getting me...
  3. check pandorasJar.log in the pandora folder
  4. Pandora only seems to cache a couple songs at a time in temp, so and it only downloads the file once. If you were to happen to catch the same song, maybe 15 minutes apart, chances are it would have already deleted the old version.
  5. I have been beating my head against this for the last 2 hours... For some reason, when pandora's jar submits the search query to gracenote.com, it returns a script error from their site.... ERG... I think I need to sleep on it for now...
  6. It just grabs it from the request sent to the pandora server. When ripping the song, it uses that info with cddb to attempt to find further info on the track.
  7. Pandoras Jar grabs the temporary directory from the OS TEMP or TMP environmental variable. I know that Pandoras Jar won't work in flash 9, since the caching system is implemented differently (i think its just cached in memory or a all-in-one temp data dump). In windows, I am still able to rip from flash 7. Check your environmental variables to see what TMP is set for, then, while running pandora with flash 7, see if you can find the tmp files pandora is saving there. This will be sure everything is going right on pandora's end. If that is all gravy, I imagine I will need to look into how it is grabbing the song info....
  8. Ok, I looked through the code, and unless I missed something, there are no hard-coded directories. That was one of the main changes I made in going to 8.0.
  9. I don't have a linux box to test it on right now, but the changes that I have implemented shouldn't affect the ability to run on linux. Its all in java, so unless there is something in the original code that would prevent it, it should still work in linux by running the pandora.sh script (included). This version can be run from anywhere you like, not just C:pandora or whatever, so putting it in a livecd should be as easy as just adding it into the cd and making any necessary firefox changes. If you have a linux box to test it on, let me know if it works.
  10. Ok, so I don't know if this was worth a promotion to 8.0, but it makes a good marker for me when dealing with it. I have added a couple new settings to the web interface and worked out a couple kinks I had come across. It also includes an extension for firefox to switch flash versions and complete instructions. This was basically just a first go for me at getting familiar with the code of this project, so there will be more to come. Current Release Pandora 8.1.1 Download New Version 8.1.1 [10/17/07] features: - added ability to specify TEMP directory if needed bugfixes: other: - updated readme Previous Versions Version 8.1 (download) [9/11/07] features: bugfixes: - cddb tag lookup now works other: Version 8.0 (download) [9/9/07] features - added ability to specify save folder via web interface - added ability to enable/disable hierarchical folder saving method bugfixes: - various bug fixes (cant exactly remember) other: Instructions 1. Unzip folder anywhere you like. 2. Install the Firefox greasemonkey extension. (link) 3. Restart Firefox. 4. Install pandorajar.user.js into greasemonkey. (link) 5 Download flash_switcher_1.0.0.xpi extension. (link) 6. Open downloaded flash_switcher_1.0.0.xpi in firefox to install. 7. Use flash switcher extension to switch to flash 8. 8. Run pandora.bat. 9. Enjoy Troubleshooting Q. On starting, you receive error: "Could not find the main class. Program will exit." A. Download and install the newest version of Java. (link) Q. After starting Pandora's Jar, there is the text "How do I upgrade Flash Player?" where the player should be. A. Thanks to MaxRabbit's enginuity, this one is a snap. 1. Install the great Firefox greasemonkey extension. (link) 2. Restart Firefox. 3. Install pandorajar.user.js into greasemonkey. (click here to install) P.S. If anyone has any leads on how they are caching the data in flash 9, it would make the next step a lot easier. Thanks
×
×
  • Create New...