Jump to content

MrDave2176

Active Members
  • Posts

    131
  • Joined

  • Last visited

Posts posted by MrDave2176

  1. i found why the mp3 files wasnot ripped to hard disk:

    i debugged the code alittle using eclipse and found that when i am enabling cddb lookup and last fm data i have problems and mp3 files are not saved. the lookup is just get stuck and when does not return from the request and than a new song is started and the old one wil never get saved.

    this occurs maybe because i am at work behind a firewall or something like this. at home this is works fine.

    if i turn off htese options, mp3 files are get saved correctly.

    This is very interesting...I'll have to investigate. I work behind a firewall and it works just fine for me.

    If you turn off the last.fm data does the cddb work? vice-versa?

  2. I'am actually using 7.3 beta/alpha/gamma version.....

    Omega? ;)

    Was the the solution to this problem to clear the temporary internet files before starting to record ?

    That might work but try this instead:

    go to C:Documents and Settings{username}Local SettingsTemp and delete all the plugtmp* files and folders. It will speed things up if you delete any archives(.zip, .rar, .cab) and folders too.

    Some of them you won't be able to delete, but as long as the most recent ones are deleted you should be good.

  3. Well, the previous problem was certainly not the same versioning problem everyone else was having because after I copied Jar 2 over 3 then I did get a versioning error and nothing loaded.

    After your fix was released MrDave2176, I jumped on it. I deleted everything just to make sure no error carried over and unzipped into a c:/pandora dir. Now everything loads and pandora runs but the files aren't getting grabbed. It is giving me an error in the command prompt. I'm not at home at the moment to paste the error but I'll pipe in later with it. I have the last.fm stuff turned off, not sure if this will cause a problem. Another thing I noticed was that the "Save to Folder" field in 7.2 turned into "PandoraAccount." I'm not sure if this was what is supposed to happen. The cookie saving my settings filled that field out with the directory information initially and pandora still ran.

    Actually the "save Directory" field WAS the PandoraAccount field. It had just been re-labeled. I've put it back in anticipation of fixing the station sorting issue but I am waiting on information from the Music Genome people. I can add a 'save directory' field if you'd like and parse it seperately. but it is just as easy to edit the default.properties field to the path you'd like to see appear.

    Currently Pandora Account is information that is sort of used but it doesn't have any effect.

    In LastFMLookup.getStationName it is used to retrieve a list of stations and before that was used as a lookup table for stationId to determine the station name. But now, the stationId isn't being passed (since they changed PandoraEvents.swf) and so it really just accomplishes nothing.

    Maybe if I had it try the lookup and if it FAILS then it passes the PandoraUsername back as the station name. Hmmm....that might work.

    util/LastFmLookup.java

    public static String getStationName(String pandoraUserName, String stationId) throws IOException, DocumentException {
    
            LOG.info("looking up station name for station with id: " + stationId + " user: " + pandoraUserName);
    
            URL url = new URL("http://feeds.pandora.com/feeds/people/" + pandoraUserName + "/stations.xml?max=100");
    
            Document document = parse(url);
    
            Iterator list = document.getRootElement().element("channel").elementIterator("item");
    
    
    
            while (list.hasNext()) {
    
                Element o = (Element) list.next();
    
                String value = o.element("link").getText();
    
                if (value.indexOf(stationId) != -1) {
    
                    String stationName = o.element("title").getText();
    
                    LOG.info("found station name: " + stationName);
    
                    return stationName;
    
                }
    
            }
    
           LOG.info("station with id: " + stationId + " not found. user: " + pandoraUserName);
    
           return pandoraUserName;
    
        }

    There. That should do it.

    or if you are one of THOSE people ;)

    util/LastFmLookup.java

    public static String getStationName(String pandoraUserName, String stationId) throws IOException, DocumentException {
    
           return pandoraUserName;
    
        }

    EDIT:

    It occurrs to me that in the servlet/ProcessAction.java file there is this snippet:

                if (stationId != null && pandoraUserName != null) {
    
                    LOG.info("Finding Station Name");
    
                    try {
    
                        songInfo.setStationName(LastFmLookup.getStationName(pandoraUserName, stationId));
    
                          //todo:this does not work anymore - used the passed in param instead: 
    
                        // station javascript callbacks where disabled
    
                        //songInfo.setStationName(pandoraUserName);
    
                    } catch (Exception e) {
    
                        LOG.warn("unable to lookup station name", e);
    
                    }
    
                }

    it would have to be modified as well

                if (stationId != null && pandoraUserName != null) {
    
                    LOG.info("Finding Station Name");
    
                    try {
    
                        songInfo.setStationName(LastFmLookup.getStationName(pandoraUserName, stationId));
    
                          //todo:this does not work anymore - used the passed in param instead: 
    
                        // station javascript callbacks where disabled
    
                        //songInfo.setStationName(pandoraUserName);
    
                    } catch (Exception e) {
    
                        LOG.warn("unable to lookup station name", e);
    
                    }
    
                } else {
    
                    songInfo.setStationName(pandoraUserName);
    
                }

  4. Ok, I want a 3-column css layout with a fixed width, and a header and footer. I want all three columns to be the same height at all times, as you can see in the picture in the first post the middle is shorter and when i add text to it the side colums are shorter,

    i found this link http://www.positioniseverything.net/articl...d_pagemaker.php

    but that was made with a layout generator but i dont like that because i dont really know whats going on

    Does it have to be a CSS-only solution? You can do this with Javascript if you need to.

    Secondly, it is possible to do it all with Javascript, but is it okay to FAKE it? You can use background images to make it appear that the columns extend when they do not.

    Thirdly, you said it is fixed width, but is it fixed height? That is, is the footer at the bottom of the PAGE or the Browser window?

  5. Okay I've found out why the "Station Name" stuff doesn't work.

    Pandora's Jar on the HTML/JS side depends on an undocumented little flash script called PandoraEvents.swf This is what passes along the artist and song info from pandora and cues PJ to when songs are playing and such.

    It USED TO provide a stationId but alas, it does no longer. Now all it does is these four functions:

    pandoraEventsError(msg)

    pandoraSongPlayed(songName, artistName)

    pandoraSongPaused(songName, artistName)

    pandoraSongEnded(songName, artistName)

    So, for the forseeable future, it won't. I've fired an email off to the PandoraFolks (who are very open and helpful, BTW) to see if they would re-activate that particular feature since I liked it, and others may like it too.

    While I was at it I fixed the "Backstage' Button so that it will now do a search for the currently playing artist.

  6. On Jul 11, 2006, 12:21 Russ wrote:

    OK, client ID pja, version 0.1. Thanks.

    On Jul 11, 2006, 16:52 you wrote:

    I am working on the Pandora's Jar Timeshifting application and I'd like to obtain a Client Code (pja would be fine) for a lastFM client

    This was part of the last.fm problem it was using an unrecognised client id. I've secured this id for Pandora's Jar.

  7. I've tried Pandora Jar and it's worked great. I copied the 7.2 jar file into the 7.3 installation, and edited the bat file to use port 85 since I had something on port 80 already. I even made a shortcut to the bat and gave it an icon, and zipped it up for backup.

    I am having one problem, though. I'm getting an error when it tries to send to last.fm

    I have my last.fm username and password entered with "on" selected and everything. Is anyone having the same problem?

    Everyone is having the same problem it seems :(

  8. Arackis, trintha, Ukonjack

    :!: mrdave why not fix the 7.3 release - it seems kinda silly for noobs to have to go through these unnecessary steps to get the thing running?

    just add the versioning stuff to the right source in the 7.2 dist, compile and copy over to 7.3

    Timing. I am having hosting issues. I have fixed my local copy but I am having a tough time getting my domains straightened out.

    If anyone can re-package a 7.3 zip file and email it to me (mrdave21764 at gmail dot com) I may be able to get it online to the latenightgames mirror. I can't connect to my home machine from work anymore either which makes it double frustrating.

    I apologise for the problems, but the FIOS installation has replaced my usual Comcast connection completely and so I have to force it to work or else have nothing at all.

    I am considering an off-site hosting for my wildandbad domain since Verzon seems determined to keep me from using my home machine as a server.

  9. That is more or less what no-ip.com does. My problem is that I want to KEEP wildandbad.com as my domain name.

    Since I control the Name Servers for it I can direct it to any IP address, but I can't direct it to any port.

    All of these redirect services are NAME based, not IP based.

    I WANT an ip-based port redirect.

    I'm confused, with zoneedit you would be able to keep whatever domain name you want.

    If what you're asking for is a user to type http://www.wildandbad.com but be pointed to your server at a specific port then you're asking for something that can't be done. The "http" controls the default port for your browser. Unless you want to change what the user's services file sets the default port for http to use you won't be able to have them go to http://www.wildandbad.com but point to http://yourip:8080, it just won't work.

    Sorry.

    Ben

    That is exactly what I want. And (as I suspected) It might not be possible. But I am determined to try to do it...somehow.

    I am thinking that I might do something like this:

    domain ww2.wildandbad.com A record pointing to Home Machine

    domain: *.wildandbad.com A record pointing to dreamhost.com

    wildandbad.com has a URLrewrite in a .htaccess file

    RewriteEngine On
    
    RewriteRule ^[^/]+(/.*)$ http://ww2.wildandbad.com:8080$1

    And then see how it works.

  10. Hello MrDave2176,

    I can't access to your website but would like to download the last version of Pandor's Jar. Could you fix this ?

    Thanks in advance !

    http://wildandbad.com:8080

    http://wildandbad.no-ip.info

    don't work.

    Yah, somehow Verizon seems to be blocking incoming http requests. Not sure how. I'm working on it. In the meantime I've mirrored the 7.2 and 7.3 beta here:

    http://latenightgames.com/pandora/pandora.beta.7.2.zip

    http://latenightgames.com/pandora/pandora.beta.7.3.zip

  11. That is more or less what no-ip.com does. My problem is that I want to KEEP wildandbad.com as my domain name.

    Since I control the Name Servers for it I can direct it to any IP address, but I can't direct it to any port.

    All of these redirect services are NAME based, not IP based.

    I WANT an ip-based port redirect.

  12. also can you put the count down back in - I liked this feature as it let me know how much time I had left before deciding weather or not to abort a submission to last.fm

    I moved it to the bottom of the page (below settings). It is still there. But I can move it. I am thinking of having it be more of a drag-and-drop interface on the next go around so folks can arrange it as they like

  13. I've just got my Verizon FIOS hooked up and I'm pleased with the speed. However, I am less pleased that incoming Port 80 is blocked. I have access to other servers and I am considering setting up some sort of catch-and-redirect page that will redirect the domain name (http://wildandbad.com) to the webserver http://wildandbad.com:8080.

    This presents a problem. Ideally I'd like to set it up as a proxy or URL rewrite. I tried no-ip.com (http://wildandbad.no-ip.info) and got some success but theirs is name-based not ip-based redirection so I can't make a CNAME record to redirect it.

    I have access to another server (http://latenightgames.com) and could try to make a wildandbad.com redirect through apache except that I've lost my su access and would have to go therough their sysadmin and he's a bastard (I'll be leaving them soon anyways).

    I have another server on http://cssm.org through Dreamhost but I've not looked into doing it there.

    In short, what I think I'll need will be an A record to point to a non-blocked domain (wildandbad.com) which will pass the REQUEST to a php script which will repackage and POST to www.wildandbad.com:8080 which is my home machine.

    Any thoughts on this? Anyone know of a less complicated way to make wildandbad.com go straight to my home machine without specifying a port?

  14. Im using the 7.3 and it appears to be stuck saying its initiating mp3 rip but doing nothing...

    Try copying the jacob.dll file in the bin directory to the system32 directory inside WINDOWS. barley!!! said that is a "sometimes" bug.(see the N00b guide)

    I will have to look it over tonight after i get back from my classes. I got the latest of everything thing installed, i cleaned the cache, but to no success... :twisted: appears to be grabbing the wrong songs and tagging them... i went ahead and added the 7.2 pandora.jar to the 7.3 setup to to see if it would go okay.. it would rip them in correct order..
    I'd suspect that the 7.2 pandora.jar with the 7.3 rest of it would be moreproductive. There are very few changes to the 7.3 pandora.jar files.
    last.fm keeps giving me a wrong protocol error so i had to disable it also.

    The "add to LastFM" stuff is busted. In fact I saw where someone had actually disabled it at some point in the past revisions. If Pandora hadn't changed its player I'd have been working on that. The Version thing was my very first JAVA programming. So give me time to get over the curve.

  15. The producers of "Loose Change" are stupid, uninformed, and rumor-mongering jerks. Setting aside that much of what our government does falls into that same category, many (if not most) of the claims that "Loose Change" makes are crap.

    http://911research.wtc7.net/reviews/loose_...troduction.html

    An excellent resource for getting a point-by-point analysis of the 'bullet-points' made in "Loose Change" including exposing their straw-man attacks and falicies of logic that they draw.

    You cannot, and should not ever accept any premise at face falue unless you can find a reputable, verifiable, and impartial party to corroborate the assertation. And even then you should make up yor mind for yourself.

    Digg even casually into "Loose Change" and you find MOUNTAINS of evidence that they are building an attack agasint the government that doesn't hold water. The Government is more experienced at lying than you are, attacking them by lying won't expose the truth of the matter.

    Only by finding the nuggets of truth that the lies surround and pointing to them with enthusiastic and non-partisan fingers can we eve hope to break the stranglehold of lies, ignorance and misinformation that surrounds the current political landscape.

×
×
  • Create New...