Jump to content

btothec

Active Members
  • Posts

    18
  • Joined

  • Last visited

Posts posted by btothec

  1. Cooper thanks for all the tips. I'm still not sure about this last one though. What I'm doing now to open pandora.sh is opening a terminal window, dragging the pandora.sh file from it's unpacked folder onto the terminal (because this seems to easily show the file path) and then hitting return. This seems to run the file but it still says "Unable to access jarfile pandora.jar" Where do I paste it to after listing it etc.? Do I need to enter the file path to pandora.jar into the pandora.sh script somewhere?

    Thanks again.

    Lets say you have a folder on your desktop called pandoras and that the pandoras.jar file actually resides in this folder. What you need to do is this. Open terminal, and do

    cd Desktop/pandoras

    then type

    ./pandora.sh

    Do that and you will be good to go.

  2. Hey guys im having a problem saving the files, it stays on"Fetching ID3 information and tagging MP3 for artist. (Atmosphere) song (Panic Attack)...." through out the entire song. Never says mp3 saved. Then it goes to the next song. Im on Comcast, anyone know what i should do? thanks in advance.

    im running the newest version 7.1

    Clear cache, delete temp files, get newest version 7.2

  3. Could you make sure you pandora.sh script has EXACTLY the following? I've tested this script on both 10.3 and 10.4 and it works.

    pandora.sh

    #!/bin/bash
    
    port=$1
    
    if [ ! $port ]; then
    
            port=8085
    
    fi
    
    export TEMP=`echo ~`/Library/Caches/TemporaryItems
    
    java -jar pandora.jar $port&
    
    
    
    # make sure java has enough time to launch
    
    sleep 5
    
    osascript -e "tell application "Firefox"" -e "Get URL "http://localhost:$port"" -e "end tell"

    Weird stuff. I copy and pasted that from this forum into text editor, and it did not work. but creating the file from within vi works fine. Thanks for the help.

  4. I updated my java with the link in the tutorial, the name of the file was jre-1_5_0_07-windows-i586-p-iftw.

    Windows XP is my operating system.

    I did not even realize I was using an older version of flash until now (mine is only 8, and you mentioned 9...) so I'll update flash and reinstall the new version and see if that fixes it.

    Thanks alot for the quick reply, and, sorry, I edited that one word out of my original post.

    Flash 8 is fine. People have problems with Flash 9. I wouldn't update flash at this point.

  5. I am very sorry if this has already been answered, but I am having a few issues with my pandora rip. Often times (not all the time, and I can't figure out what causes it) when I first open it, the program gives me a repeated

    INFO   [Thread-2] (Mp3Processor.java:39) - access file not found trying again after 1 sec

    This will get spammed every second in the cmd prompt log for a song or two, and then the program will appear to run normally. Songs saved, however, are not saved under the correct artist/song/album, and normally each has the artist/song/album of a song that played two (or another small number) songs before it.

    I am not sure if the cmd prompt errors and the songs being saved under the same name are related or not. Thanks for any assistance anybody could provide, and sorry again if this is posted in the wrong place or has already been answered... I tried to look for something regarding this but found nothing.

    Make sure you are using the latest version first of all. Then clear your cache and delete all the plugtmp stuff in your temporary files. I am pretty sure that you are using an old version.

  6. Wheatstraw.. Thanks for the input. The oascript works fine. For some reason though I cannot get the first part of the script to work. When I run the script I get this.

    if: bad interpreter: No such file or directory

    Could you make sure you pandora.sh script has EXACTLY the following? I've tested this script on both 10.3 and 10.4 and it works.

    pandora.sh

    #!/bin/bash
    
    port=$1
    
    if [ ! $port ]; then
    
            port=8085
    
    fi
    
    export TEMP=`echo ~`/Library/Caches/TemporaryItems
    
    java -jar pandora.jar $port&
    
    
    
    # make sure java has enough time to launch
    
    sleep 5
    
    osascript -e "tell application "Firefox"" -e "Get URL "http://localhost:$port"" -e "end tell"

    Ahh. So if I have

    #!/bin/bash

    It gives that error. If I do

     #!/bin/bash

    I do not get the error. Only Difference is the space before #. But it still doesnt work. Just does nothing. I get no error, but it just sits there. I am using OS X 10.4.6 on a Macbook.

  7. I just create a file called pandora.sh and add all that to it. Make sure it is executable and run ./pandora.sh. May be a better way to do it, but this works for me. Also this only works if Firefox is not running yet. I am not sure how to open a new window in firefox via command line. Any ideas?

    btothec...we can use some applescript to open a new firefox window. Also, the port # can be specified via the first argument...example:

    $ ./pandora.sh 8000

    #!/bin/bash
    
    port=$1
    
    if [ ! $port ]; then
    
            port=8085
    
    fi
    
    export TEMP=`echo ~`/Library/Caches/TemporaryItems
    
    java -jar pandora.jar $port&
    
    
    
    # make sure java has enough time to launch
    
    sleep 5
    
    osascript -e "tell application "Firefox"" -e "Get URL "http://localhost:$port"" -e "end tell"

    Wheatstraw.. Thanks for the input. The oascript works fine. For some reason though I cannot get the first part of the script to work. When I run the script I get this.

    if: bad interpreter: No such file or directory

  8. FYI.. If anyone wants to run this on os x here is a script that I put together to start everything for yo.

    export TEMP=`echo ~`/Library/Caches/TemporaryItems 
    
    java -jar pandora.jar 8085&
    
    cd /Applications/Firefox.app/Contents/MacOS/
    
    ./firefox-bin http://localhost:8085&

    I just create a file called pandora.sh and add all that to it. Make sure it is executable and run ./pandora.sh. May be a better way to do it, but this works for me. Also this only works if Firefox is not running yet. I am not sure how to open a new window in firefox via command line. Any ideas?

    I'll add a pandora.sh to the source documents if you'll put this in the n00b's guide

    Done.

    I will update when I figure out how to open a "new window" in firefox.

  9. FYI.. If anyone wants to run this on os x here is a script that I put together to start everything for yo.

    export TEMP=`echo ~`/Library/Caches/TemporaryItems 
    
    java -jar pandora.jar 8085&
    
    cd /Applications/Firefox.app/Contents/MacOS/
    
    ./firefox-bin http://localhost:8085&

    I just create a file called pandora.sh and add all that to it. Make sure it is executable and run ./pandora.sh. May be a better way to do it, but this works for me. Also this only works if Firefox is not running yet. I am not sure how to open a new window in firefox via command line. Any ideas?

  10. New verion works. However the default save directory is a little screwey. For example, if I change the default.properties archive path to "D:pandorasmp3" the actual place where they are saved to is "D:pandoraspandorasmp3mp3"

    Not a huge deal. However on my mac if I set the default.properties default save path to "/Users/myname/Desktop/pandora.alpha.7/" The files are saved to "/Users/myname/Desktop/pandora.alpha.7/mp3"

    Either way I am just glad that it is working again.

    Thanks for the help.

  11. In case anyone wants to run this on the mac, it's pretty easy to get going. The only step necessary to make this run is to set an environment variable named $TEMP which points to the folder where Flash saves the pandora files...

    1) unzip latest realease (I'm using pandora.beta.6 with Mac OS Tiger)

    2) launch Terminal

    3) run the following commands:

    export TEMP=`echo ~`/Library/Caches/TemporaryItems 
    
    sudo java -jar pandora.jar

    4) launch firefox and go to http://localhost

    NOTE: you might want to export the TEMP variable in your ~/.bash_profile or create a bash script to export the variable and launch pandora.

    Awesome. Thanks for the input. This works flawlessly for me. I do however still have the problem where I am grabbing the wrong mp3 and labelling it incorrectly. Has anyone found a workaround for this yet?

  12. I think that you should re-add the ability to sort the mp3s by what station they were from. I listen to lots of genres and i want to keep them seperated. I'm really impressed by this hack so far. Keep up the good work.

    All you have to do is add your pandora username to the settings section and they will be in subfolders (your radio station). This has been answered already.

  13. My Latest problem is in the javascript. I am using the skin I created(cheap plug: http://wildandbad.com/pandoraGrabber.zip), but I think that the original does the same thing.

    It won't capture the first song that plays when the Pandora Player starts up. If you click 'skip' it will capture the next one, and if the next song starts playing then it works as well. How do you trigger the event to make it call up the artisit and song and load it into the artist and song hidden fields?

    I tried stationChange() (since the staionId seems to populate just fine) and I tried songEnded() but neither of them seem to do the job.

    Any ideas? Is there an Ajax call that I can do perhaps?

    Sent you a pm, but figured I would post here too just so people know. Using pandoragrabber.zip does work and looks much better than the priginal, but the last.fm functions and the cruise control do not work if the settings pane on the bottom is not expanded. By default it is not expanded, which really creates a problem if you plan on leaving the cruise control going. After 30 songs it will refresh the page and nothing will be captured. Can you set the setting pane to be open by default?

×
×
  • Create New...