Jump to content

Pandora's Jar 8.* w/ fixes (newest release)


darkone_05

Recommended Posts

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

Link to comment
Share on other sites

  • Replies 143
  • Created
  • Last Reply

Top Posters In This Topic

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.

Link to comment
Share on other sites

Hi,

Here's what i worked on, everything is fine in it

until one tries to "grab" music (because directory

structures differ):

http://forums.hak5.org/index.php/topic,7173.0.html

This is a Linux Live CD, no permanent installation

needed.  One boots with it or he can use VMWare:

http://forums.hak5.org/index.php/topic,7049.0.html

I'm about to experiment with the v8 release but it

won't work if there are any leftovers of some hard-

coded file path in it.  You'll hear of me again...

;-)

Link to comment
Share on other sites

Hi,

I've put a few hours on it but the grab button still

fails to work:  it's complaining about being "unable

to locate artist and song information" (or "artist

info" and "album info" if you like).  It doesn't work

at all unless i leave JavaScript active and the .MP3

files are nowhere to be found if i use Flash Player

v9.0 r48 instead of v7.0 r63 (no v8 in Linux!)...  I

think references to the temporary directory might

be a problem but i guess i'll just sleep on it.

:roll:

Link to comment
Share on other sites

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....

Link to comment
Share on other sites

Hi DarkOne_05,

I did notice an "export TEMP=" string in the .sh

Linux script, the script itself didn't work but i

vaguely recall trying to make use of it in my Slax

module, last month.  This animation confirmed the

temporary directory was located at '/tmp/plugtmp':

The music files are easy to identify because Linux

looks at the content instead of extensions only...

The cache is more complicated to find.  Even if the

Flash Switcher v1.0.0 utility is for Windows .DLLs

instead of the Linux SlackWare .so ones it's still

reading the Flash version from the 'pluginreg.dat'

file accurately though, it also knows exactly where

the cache is located if i try to setup preferences,

if i remember correctly...  It wouldn't be hard to

recycle a part of its code should that be necessary.

Perhaps it's time for me to search for some debug

resource inside Pandora's Jar, a log file generated

internally would do fine!  I'll see what comes up.

39.gif

Link to comment
Share on other sites

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.

www.newfilepile.com/pandora/pandoras_jar_8.zip

New settings:

-save directory path

-choice of whether or not to use hierarchical folder structure

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

out of curiosity in this one did you manage to get it to grab the album info correctly? or is that still a bug?

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

Hi DarkOne,

I've downloaded 'pandora_7.9_alpha.zip' which seems

to be about the latest experiments made by Cooper

this winter and i couldn't find the "tmp"/"temp"

strings or their letter-case variants once and not

even in what looks like source-code.  I did the

same with an archive mentioned in this post but i

found no joy there:  "Complete Working Install

Package+Instructions for OS X"...  Well that's no

Linux but i was hoping to get some clues anyway.

Perhaps if you search for Cooper and people who

wrote to him it will lead to an e-Mail address or

something...  I'll take a look at Pandoras' Jar

log file in any case, there's nothing to loose.  :-)

Link to comment
Share on other sites

Hi DarkOne,

I browsed through a lot of FireFox .XPI extensions

lately and found this one, it's made for RadioBlog:

http://www.adrien-gallou.fr/?page=radioblog

I wasn't able to make it work but it claims to be

able to retreive titles while the temporary music

files (in .MP3 format without an extension) are

present in the FireFox cache directory - using an

older version of Flash Player, of course...  Who

knows, perhaps this might open a new perspective.

106.gif

I look forward to evaluating your next release!

:-)

Link to comment
Share on other sites

Thanks for the find Pichet.

I can't seem to get it to work right now, but I believe what the extension does is take the most recently cached mp3, then copy it to the new location. I am not sure how it deals with naming, but as you know, the whole copy part is the same thing pandoras jar is going.

My french is horrid and google translate isnt perfect, so its not too surprising that I cannot figure it out right now...

Link to comment
Share on other sites

Ok everyone, got cddb lookup working.

hi, i've tried using 8.1 and i can't seem to get it to tag the album info and i'd really like it to get the track number as well - perhaps there's something i'm missing but i was wondering if you have any thoughts on what might be going on - i used the installer that Razor created just to save myself some time. any ideas would be great! thanks

Link to comment
Share on other sites

From razor's post:

Pandora's Jar 8.0 installer Download link:  http://www.mediafire.com/?evtet4xqxle  (darkone just did version 8.1 (I am currently on my pocket pc so when i get to my desktop, i will make a installer for it and replace the link to this one with a installer for version 8.1)

So, if you used the installer, you installed 8.0, not 8.1.

Give 8.1 a try.

Link to comment
Share on other sites

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...