Jump to content

MrDave2176

Active Members
  • Posts

    131
  • Joined

  • Last visited

Posts posted by MrDave2176

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

    Please don't call it a rip/ripper. It is a time-shifter. I say this not to be pedantic, but to be careful that we don't get squashed like a bug by a company with a lot more money and lawyers. okay...on to the problem.

    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.

    A couple of questions.

    First, are you using the latest version of Java

    Second is this on a Mac or Win XP?

    Third, What cersion of Flash are you using (There have been probs with Flash 9 reported)

    I have seen this. Here is my take on it. It is ignorable. It happens becasue the caching of the first (or second) song hasn't completed before the PandorasJar is trying to copy/tag it. The first few songs tend to make it hiccup a little until it catches up.

    Maybe that can be refined (or at the very leadt have it throw a different error). Seems to me mine just said "File not ready" in my log.

    Try D/Ling the latest version and see if that fixes it. http://wildandbad.com/pandora.beta.7.2.zip

    Try deleting everything in your Pandora Folder before installing it again to prevent any possible conflicts.

    Just some ideas.

  2. thanks mr. dave. im glad your not pissed at me for using your skin as a base!

    ill make other skins if anyone wants. maybe a hak5 skin.

    Only thing I'd like to see is to make it a css and graphics only change...don't modify the pandoraGrabber.html file if at all possible.

    If you are adding functionality through Javascript and such that's fine...(after all that is exactly what I did) but I structured the pandoraGrabber.html file to be easy to change (radically even) with CSS only so it could be changed visually.

    And, as usual, I am happy to host anything you guys make for pandora's jar.

  3. awesome alpha, again barley. sorry for misstyping your name.

    heres a skin i made and am using.

    http://webpages.charter.net/sb76117/milky.zip

    I have made some minor changes so that the default pandoraGrabber file can be used. All of the changes are in the pandorajar.css file.

    pandorajar.css:

    body {
    
     background-color: #000000;
    
    }
    
    .button {
    
        display: inline-table;
    
        font-size: 9px;
    
        font-weight: 600;
    
        color: #c4c4c4;
    
        background: transparent;
    
        border: 1px solid #c4c4c4;
    
        height: 18px;
    
        line-height: 16px;
    
        padding-bottom: 2px;
    
        padding-left: 12px;
    
        vertical-align: middle;
    
        padding: 0px;
    
        text-align: middle;
    
        margin-bottom: 2px;
    
        margin-top: 1px;
    
        text-decoration: none;
    
    }
    
    #controlsPanel {
    
        margin-top: -1px;
    
        line-height: 23px;
    
        vertical-align: middle;
    
        padding-right: 10px;
    
        background: none;
    
        color: #c4c4c4;
    
    }
    
    #controlsPanel input{
    
        display: inline-table;
    
        font-size: 9px;
    
        font-weight: 600;
    
        color: #c4c4c4;
    
        background: transparent;
    
        border: 1px solid #c4c4c4;
    
        height: 18px;
    
        line-height: 16px;
    
        padding-bottom: 2px;
    
        padding-left: 12px;
    
        vertical-align: middle;
    
        padding: 0px;
    
        text-align: middle;
    
        margin-bottom: 2px;
    
        margin-top: 1px;
    
        text-decoration: none;
    
    
    
    }
    
    #saveControl {
    
        position:relative;
    
        margin-bottom: -20px;
    
        width: 100px;
    
        top: 4px;
    
        left: 500px;
    
    }
    
    a.button {
    
        display: inline-table;
    
        padding: 2px;
    
        font-size: 9px;
    
        font-weight: bold;
    
        margin-bottom: 5px;
    
        color: #c4c4c4;
    
    }
    
    select, input {
    
        color: #ffffff;
    
        border: 1px solid #ffffff;
    
        background-color: #c4c4c4;
    
    }
    
    blockquote {
    
        margin: 0px;
    
        padding: 0px;
    
        padding-bottom: 10px;
    
        padding-left: 30px;
    
        color: #CCCCCC;
    
    }
    
    #topFans ul {
    
        list-style: none;
    
        margin: 0;
    
        padding: 0;
    
        display: inline;
    
    }
    
    
    
    #topFans li {
    
        display: inline;
    
        color: #999999;
    
    }
    
    #topFans li a:link { color: #336699; }
    
    #topFans li a:hover { color: #EC9201; }
    
    span.bold, strong {
    
        font-weight: 900;
    
    }
    
    div {
    
        font: 9px arial;
    
        color: white;
    
    }
    
    .header {
    
        font: 12px;
    
        color: #c4c4c4;
    
        background: url(../images/north.gif) repeat-x top;
    
        margin-bottom: 18px;
    
        height: 24px;
    
    }
    
    #logo {
    
        width:300px;
    
        height:24px;
    
        margin-right: 45px;
    
        background:url(../images/pjlogo.gif);
    
        float:left;
    
    }
    
    #status {
    
        width: 640px;
    
        margin-right: auto;
    
        margin-left: auto;
    
    }
    
    #TunerContainer {
    
        position:relative;
    
        height:250px;
    
        width:640px;
    
        margin-bottom: 18px;
    
    }
    
    #pandoraEvents, 
    
    #pandoraEvents embed {
    
     POSITION: absolute;
    
    }
    
    iframe {
    
        height:250px; 
    
        width:640px; 
    
        border:0px; 
    
        padding:0px; 
    
        margin:0px; 
    
        overflow: hidden;
    
    }
    
    /* Pandora  Style 'Album' Panels */
    
    /* Pandora Style Brushed Metal */
    
    .north { background: url(../images/north.gif) repeat-x top; }
    
    .east { background: url(../images/east.gif) repeat-y right; }
    
    .south { background: url(../images/south.gif) repeat-x bottom; }
    
    .west { background: url(../images/west.gif) repeat-y left; }
    
    .ne { background: url(../images/ne.gif) no-repeat top right; }
    
    .se { background: url(../images/se.gif) no-repeat bottom right; }
    
    .sw { background: url(../images/sw.gif) no-repeat bottom left; }
    
    .nw { background: url(../images/nw.gif) no-repeat top left; }
    
    #settingsPanel {
    
        padding: 30px;
    
        font: 12px arial;
    
    }
    
    #settingsCell {
    
        margin-top: 18px;
    
    }
    
    #infoPanel {
    
        padding-left: 20px;
    
        padding-right: 20px;
    
        padding-top: 24px;
    
        padding-bottom: 26px;
    
        width:600px;
    
        height: 250px;
    
    }
    
    #idpanel { 
    
        float:left;
    
        padding-left: 7px;
    
        padding-right: 18px;
    
        padding-top: 3px;
    
        padding-bottom: 3px;
    
        width:138px;
    
        height: 244px;
    
        background: #313131 url(../images/idpanel.gif) left repeat-y;
    
        font-size: 9px;
    
        overflow: hidden;
    
    }
    
    #idPanel .downloadMp3response {
    
        padding: 2px;
    
        border: 1px solid #999999;
    
        width: 140px;
    
    }
    
    #biobottom, #statsbottom { background: url(../images/bottom.gif) no-repeat bottom left;
    
        width:217px;
    
        height: 243px; 
    
        overflow: hidden;
    
        padding-top: 7px;
    
    }
    
    #biotop, #statstop { background: url(../images/top.gif) no-repeat top left;
    
        float:left;
    
        width:217px;
    
        height: 250px;
    
    }
    
    #bandBio2, #songStats {
    
        width:182px;
    
        height: 210px;
    
        font-size: 9px;
    
        color: #444444;
    
        padding: 14px;
    
        overflow: auto;
    
    }
    
    
    
    p, li  {
    
        font-size: 9px;
    
        color: #444444;
    
    }

    I did this primarily so that I could use milky as an alternat stylesheet (as detailed in this thread:

    http://hak5.org/forums/viewtopic.php?p=17752#17752

  4. How to have BOTH the MrDave skin AND the Milky Skin at the same time:

    (or a lesson in alternative Style Sheets)

    Requirements:

    * pandora.alpha.7

    * the Milky skin files

    Step by Step

    1) Unpack Alpha 7 into your pandora folder. This will give you the latest files so you are working on the same things *I* am.

    2) Inside your images folder create a 'milky' folder and upack the milky.zip file into it. You should have two folders: css and images inside your milky folder. OPTIONAL: You can delete the pandoraGrabber.html file here. It isn't needed.

    4) Open the pandoraGrabber.html file in the root of your Pandora folder and look for this line:

    <link rel="stylesheet" type="text/css" href="css/pandorajar.css">

    Change it to this:

    <link rel="stylesheet" type="text/css" href="css/pandorajar.css" title='default'>
    
    <link rel="alternate stylesheet" type="text/css" href="images/milky/css/pandorajar.css" title='milky'>

    find this line in pandoraGrabber.html

    <div class="header" align="left"><img src="images/pjlogo.gif" align="left" border=0>

    and change it to this:

    <div class="header" align="left"><div id='logo'></div>

    and lastly in js/pandorajar.js AND in images/milky/css/pandorasjar.css add this same code anywhere:

    #logo {
    
        float:left;
    
        width:166px;
    
        height:24px;
    
        background-image:url(../images/pjlogo.gif);
    
    }

    Now you can change back and forth by choosing your stylesheet from the view->page style menu. Try it yourself!

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

  6. I am starting this thread to seperate it from the discussion. This is basically for ideas and implementations only.

    Let's keep the discussion in the other thread.

    To Do:

    * Fix the iTunes Implementation

    * Figure out how to use PJ in Linux

    * Better version control

    Some things I'd like to see:

    I'd like a command called http://localhost/process?version that returns a build/version id

    I'd like to keep this format if possible

    MajorVersion.Revision (making the current blarney!! version something like 7.00)

    Revision differences would be for bug fixes (like the itunes thing)

    Major Version differences would be for changes in logic (like a new skin file or changing the way that items are tagged)

    The versiion command may also return a 'codename' like 'blarney!! version' for us humans who have too many numbers to keep track of.

    So if I sent a command http://localhost/process?version I'd get back:

    7.00 (blarney!! version)

    This would allow me to display the verion in the browser which might alleviate some of the 'blah blah doesn't work but once I D/Led the latest version it worked fine'

  7. here's the link to barley!!!'s patched jar

    http://s129541905.onlinehome.us/downloads/...r_beta[1].7.zip

    Thanks for the great work barley!!!

    He also has included some ipod functionability...

    Brilliant. I've uploaded it as http://wildandbad.com/pandora.alpha.7.zip

    The 'add to itunes library' doesn't work for me. Then again, I have a HUGE itunes library XML file (3Mb+) so it may be a matter of size that is the problem.

    UPDATE: The new version (Beta 7.1) fixes the itunes problem

  8. I use WinXP Pro at work and at home for just general farting around in the 'net, but I use Mac OS for my (upgraded blueberry imac) server and I have a WinXP Home laptop that my wife uses.

    I work with Solaris on the servers at work, and I have a hosting server with FreeBSD on it as well.

    I also have a small group of Old (very old) Mac Plus and MacSE computers that boot OX6 and OS7 that I use for nostalgic reasons and which I'd like to convert into cases for Mac Minis (but I have yet to get the Minis)

  9. Back in the 80's and Early 90's when I was mostly doing BBS stuff and AOL I was MrDave. Usually I was 8-10 years older than the other kids on the boards. I had a series of AOL names/handles but MrDave was generally what I used (to designate my 'maturity')

    When I began to post on USENET/UUNET I ran into literally dozens of MrDaves so I added a birthdate MrDave21764 (2/17/64) but AOL (at the time) only had 10 letter usernames so it got truncated to MrDave2176 so I use that still (although I have several MrDave21764 emails now)

  10. Maybe someone could try putting files from temp as well as files from tempplugtmp into another folder and sort them by date/time then rename them with the artist-song name.mp3. I don't know java script, sorry.

    Javascript can't do this. Java, maybe, but not javascript.

    When you do this manually you can see that Pandora is saving files randomly between temp and tempplugtmp folders. The rip may seem like it is saving the files correctly, but when you try to play them back they are not what they are tagged as.

    Actually once I cleared my cache and temp folders it worked fine.

    This comment appeared on my blog (almost at random) and rather than put it up there, I put it up here. Dunno who wrote it, but it may have some value for ideas.

    Relative to something somewhere else, the files being downloaded are in %TEMP% dir and %TEMP%/plugtm…

    When the union of them is used, rather than just the ones in one place or the other, things might work better…

  11. As many people as have been saying that songs are being named wrong and such I'll run through the debuggin process, and show you what I did to try to find a problem and then post the results. I suspect someone may have to step in from there if the problem is java related.

    First

    I started Pandora's jar and it did grab the first song and move it just fine...but the SECOND song was the same as the first song just renamed.

    So I cleared my TEMP directory, restarted PandorasJar and looked again.

    Yep. Same thing. 1st song just fine, and second song a dupe of the first.

    But I did notice that the temp directory was plugtmp-5 and the temp files were plugtmp-5-1 and plugtmp-5-2

    So then:

    I cleared by Firefox Cache and tried again.

    This time the temp folder was plugtmp and the temp file was plugtmp-1, and PandorasJar isn't moving songs at all now.

    Inside the plugtmp folder there are two files whose file names are just long strings of numbers. They might be cache files for streaming songs. Rename one. Listen. Yep. There is also a plugtmp-1 that seems to be the first song played, and the others are just cache files for upcoming songs.

    Although it seems that the first cache file is the first played song...but the cache file is made after plugtmp-1. Interesting.

    Ah-Ha!

    Just as the first song finished playing the plugtmp-2 file appeared and the second song began to play. Also the grabMP3 routine finally created the new file.

    Okay the second song moved over as expected and was properly named and tagged.

    I am noting that it isn't putting it in a 'station' folder but in an artist folder. (I usually prefer the station folder).

    Second Song Ends and third starts:

    Works Fine. Moved Named and tagged all as expected.

    So my Conclusion:

    Clear your Cache, clear your TEMP directory and close all your browser windows before restarting Pandora's Jar and be patient. After the first couple of songs it'll come good.

  12. I'd love to get the radio station sorting back but entering my username doesn't seem to work for me. Somewhere along the way, it stopped using the stationid folders. I've updated to the latest versions and tried MrDave's suggestion to check out the var pars code (http://www.hak5.org/forums/viewtopic.php?p=16620#16620) but my coding knowledge isn't good enough. Anyone have time to explain?

    Thanks again for a great time shifter!

    (I added emphasis above)

    I'd restore the grabMp3 function in pandoraGrabber.js to the original. This adjustment was to REMOVE the folder sorting and so if you tried the mod I detailed then it is no wonder it has disappeared. You could also re-download the skin file (pandoraGrabber.zip) and unpack it to restore the files to the original versions as well.

     function downloadMP3() {
    
        lookup = $F("cddb");
    
        artistName = $F("artist");
    
        songName = $F("song");
    
        albumImgLoc = $F("albumImgLocation");
    
        pandoraUserNameValue = $F("pandoraUserName");
    
        stationIdValue = $F("stationId");
    
        cruise = $F('cruiseControl');
    
       if(artistName == '' && songName=='') {
    
           Element.update('resultTarget2',"unable to locate artist and song information.");
    
       } else
    
           Element.update('resultTarget2',"Fetching ID3 information and tagging MP3 for artist. (" + decodeURIComponent(artistName) + ") song (" + decodeURIComponent(songName) + ")....");
    
        var url = "process";
    
        var pars = "action=grab&artist=" + artistName + "&title=" + songName + "&album=&genre=&comment=ripped by [PaNDoRas jAR] your source for listening pleasure&year=&cruise=" + cruise + "&albumImgLocaction=" + albumImgLoc + "&pandoraUserName=" + pandoraUserNameValue + "&stationId=" + stationIdValue + "&cddbLookUp=" + lookup;
    
        var myAjax = new Ajax.Request(url,
    
        {
    
            method: 'get',
    
            parameters: pars,
    
            onComplete: downloadMP3Response
    
        });
    
    }

  13. It's only me or any other has bad song naming?

    I have beta.6 and seems to work fine everything (stations, lastfm info, ...)

    But first song is not ripped.

    I can see this message at DOS window:

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

    When I'm at song 2 it rips first one (seems OK), but 2nd one is same as first (same song but with 2nd artist/song name), and same for 3rd.

    Then 4th songs seems to be OK. But I can't be sure if it goes bad again later...

    I'm not skipping tracks.

    There's anything to check/change?

    Try downloading the pandoraGrabber.zip file and un-zipping it over your current installation. I had this problem for a while but the latest update seems to have fixed it

  14. I've the same problem.

    pandoraGrabber.zip is needed? I only used the files from the beta.6.zip

    PandoraGrabber.zip (aka the MrDave skin) is included in beta.6 (the complete version) if you download the source files only (pandroa_src.zip) and compile your own then you would have to download pandoraGrabber.zip seperately.

    I did make a recent update to the pandroraGrabber.zip files (and the beta.6 at the same time) but since we have not established a versioning control system it makes it tough to figure out which version you have.

    I am still trying to vigour out how to get a sourceforge account (their Account signup seems to be ahving problems lately) so we can start this a seperate project there - and their CVS will track the changes.

  15. Let me begin by saying thanks for all the hard work that's gone into this. It's great!

    Question:

    It appears that I am one of the few people who liked the mp3s being saved in separate folders for their respective "radio stations." This has been taken out in the latest version or changed with Pandora's recent renaming(?) and all mp3s are dumped into the same place (basically). Is there an easy way to switch back to having them dumped into separate "station" folders?

    Thanks again.

    I'll refer you to this: http://www.hak5.org/forums/viewtopic.php?p=16620#16620

  16. I have updated pandoraGrabber.zip

    Changes:

    1) Found a bug in the way the cookies were handled for the checkboxes.

    2) Added a 'Songs before Reload' field to settings. This is the number of songs before the page reloads. If you set it for 0 then it won't reload.

    3) Re-organized the settings panel to make things a little clearer and adjusted to colors to match better.

    Is anyone interested in a HELP button?

    The updated skin can be found here:

    http://wildandbad.com/pandoraGrabber.zip

    and in the latest version (if you have beta 6 already just d/l the above file)

    http://wildandbad.com/pandora.beta.6.zip

  17. Hey, I'm having a new problem with pandora. As of the new update, all I can get running in local host is the top half which is the pandora jar bar at the top with the search, abort, track info, and settings at the top, and the actual pandora display. Everything that is suppose to be below that (with the Dave skin) is not there. Any idea what is causing this? Keep in mind, I can figure out basic stuff like installing this but you may have to put what you say in lament's terms for me lol

    If you have the latest skin, those areas are probably hidden. In the upper right hand corner you will see two buttons: "Track Info" and "Settings" - You can use these to show those panels.

    To make them open all the time, click "Settings" (to show the settings panel) and UNCHECK the two check boxes at the bottom ("Hide Settings" and "Hide Info") and then save your settings (The "Save" button - lower right hand corner).

    Then, Refresh. Your panels should now be open by default.

×
×
  • Create New...