Jump to content

MrDave2176

Active Members
  • Posts

    131
  • Joined

  • Last visited

Everything posted by MrDave2176

  1. 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. Omega? ;) 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. 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. 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. the music genome project people? do they know who you REALLY are? do they mind this grabber project? Well they've been helping someone else doing much the same thing at http://pandorafm.real-ity.com/controls.php and it was their discussions that helped me figure it out. http://www.simran.in/blog/?p=65
  6. A Fixed, Up-to-date Source, with some minor bug fixes and the new Pandora's Jar ClientID for last.fm is ONLINE http://wildandbad.com/pandora.beta.7.3.zip Technically it is 7.3.1 (and is available as http://wildandbad.com/pandora.beta.7.3.1.zip) but since 7.3 was such a fuckup I just copied over it. I've spent a lot of time today making sure it compiles, runs and WORKS
  7. 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.
  8. This was part of the last.fm problem it was using an unrecognised client id. I've secured this id for Pandora's Jar.
  9. I have FINALLY gotten my home-based web server to work. And so i am going to try again working on a 7.3.1 release tomorrow. Lets see if I can't FIX some of this stuff rather than just mucking it up.
  10. 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.
  11. 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.
  12. 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
  13. 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.
  14. 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
  15. 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?
  16. Yeah, I wasn't sure about it and didn't rigorously test it. It just opens a new window to http://pandora.com/backstage/ anyways. No biggie, but Pandora.com saw fit to make it so I linked it. To be honest I have yet to have the iTunes synch work at all.
  17. 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'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. 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.
  18. Updated Pandora's Jar (7.3) Changes: * Fixed URL to mini player * Fixed positioning of Mini Player (thanks unmaster!) * Added style switcher * Added "Backstage" button * Bundled l0ki76117 skins with distro. (thanks!) * cleaned out some redundant files * added 'favorites' icon * added process?version (in utils/Constants.java) Check the unofficial page and the N00bs guide for more info
  19. It should be back up. Go to: http://wildandbad.com:8080 or http://wildandbad.no-ip.info
  20. Wildandbad.com is going to be up and down for the next few days. I've changed ISPs and sso it'll mean adjusting to the new way of doing things. FOR NOW...http://72.81.231.172:8080/ Will get you there. But you'll have to use port 8080 for everything until I get the redirect in place. Sorry for any problems
  21. Nope. Require will look in the local directory first and then in the "REQUIRE_PATH" variable for php.
  22. 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.
  23. Years in prison: 28 Potential fine: £9500 Damn, I'd be 70 when I got out!
  24. I've just uploaded it. Looks like we BOTH fumbled the ball.
×
×
  • Create New...