Jump to content

ColdFusion

Active Members
  • Posts

    105
  • Joined

  • Last visited

Posts posted by ColdFusion

  1. I have got PJ working fine (sorted the Flash 8 hack & got it recording MP3s ok)

    what fix did you use for the "flash upgrade required" problem?

    this looks like something related to CSS, do you have any related plugins?

    The pandora player put itself in a div with id "TunerContainer" or in an iframe named "tunerFrame", i'm not sure which is the one that causes it to get displayed there.

    <div id="TunerContainer">
    
                <iframe src="http://www.pandora.com/?cmd=mini" scrolling=no id="tunerFrame" name="tunerFrame"></iframe>
    
                <script type="text/javascript" src="js/pandora.js"></script>
    
            </div>

    try putting a few line breaks ("<br>") in the pandoraGrabber.html file, just before the code shown above, let me know if this workaround works.

  2. Didn't know Pandora's Jar had a SF project. I'll be able to contribute when I have the time (have to settle into my classes first). No homepage yet (or maybe this is for a reason...).

    it's not really a 'pandora's-jar' sourceforge project, more like "pandoar's jar CF branch".

    www.sourceforge.net/projects/pandoras-jar

    I'll upload a homepage when I have time to do so.

  3. Hey there mrmath,

    first of all - thanks for helping us all improve pandora. I too have created a split since I saw no one was really working on keeping stuff up to date on the 7.4.0 branch and no source-repository was available.

    second, bugs... adding features is great but what about solving bugs? does your version still have the "&" bug that's in 7.4.0?

    now for the rest of the comments...

    I think we should work together instead of in parallel, my version is available on sourceforge, you are more than welcome to join the project and contribute. there are even a few open bugs.

    here are my comments about your version, this is just my opinion and thoughts - nothing more:

    - Changed the save format form Artist-Song.mp3 to Artist - Song.mp3. This is just my personal preference.

    My version supports arbitrary file name format with custom string %a/%a-%t and so on, I think that's much better.

    - Added pandora.db file.

    by preventing files from being re-ripped you indeed avoid ripping files that you have deleted - but what if a file was ripped but under the wrong name? you're stuck with it.

    In addition - take a look at my mp3md5 (both local and online modes) feature - this is my way of fixing (though not completely) the wrongfully named tracks problems

    I think a good solution would be to fetch all the info needed and combine it into the already saved files. actually there is even an open bug on SF that says we should never overwrite a file with a smaller file if they have the same first few kilobytes (as that would mean it is the same song but it got stuck before it finished downloading), I guess that when fixing that I could apply the solution presented here.

    - Added exclude.db file.

    great feature.

    - Fixed the album art

    great!

    - Added a preference to save the file in a directory with the artist's name.

    - Added a preference to save the file in a directory with the station's name. Won't have any affect if you set it to NOT save it in the artist's name directory.

    again, it is much better to enable the user to enter a generic string for the file path.

    - Added a preference to use as a default genre.

    - Made it use the Pandora Radio station name as the genre. It takes the part of the name before the " Radio" and makes that the genre. If, for example, you had a radio station called "Country Radio", the genre would be "Country". If this doesn't work, or you're listening to the QuickMix station, then it uses the default genre.

    the default genre sound nice, though from my experience pandora does not really play a single genre no matter how hard you try to make it stick to one type of music. my solutions was just to enable the user to use the entire station name as the genre, I also offered a "mapping file" to map a station name to a certain genre - but that was unpopular.

    - This one won't be popular, I'm sure, but I needed to do it for me. Pandora is supported by ads. The ads pay the royalties. By not showing the ads, ...

    I think this will be popular. I really don't mind having a look at the ads, they're quite easy to ignore and the service it totally worth it.

    p.s.

    If you'd like me to store your version on my server for everyone to download - let me know.

  4. could you provide more info about that software "Replay Music".

    Notice that there are a lot of mp3-tagging solutions out there, little apps that complete the id3 tag based on the artist/title. but for that the artist/title must be correct to begin with.

    there are also apps that find out which song is which by analyzing what it sounds like (See http://musicbrainz.org/).

    I'm working in the direction of being able to fetch info from pandora's backstage website. as the mp3 we're working with are all from there - that should be a good source for most of the info.

    I'll also be working on improving cddb integration soon.

  5. SporkRocker, take a look at you default.properties file, specifically the lines:

    #File/directory name format
    
    # %a - artist; %b - album; %t - title; %s - station
    
    # NOTICE: if no album / station data they will be replaced with "UNKNOWN"
    
    # if nothing specified here, defaulting to: "%s/%a/%b/%a-%t"
    
    # spaces are fine, don't add .mp3, use forward slashes don't start with /
    
    #filename.format=%a/%a-%t

    uncomment the last line (remove the "#").

    and set it's value to whatever you want.

    from what you say, I guess you'd prefer this:

    filename.format=%a/%b/%a-%t

    Cheers,

    CF

  6. the Comment field

    would still read as "ripped by [PaNDoRas jAR] your

    source for listening pleasure", though. Any saved

    item could be found in a sub-directory similar to:

    mp3UNKNOWN STATION{The band's name}{The album's name}

    What are you trying to say? what's the problem with the comment?

    Strangely enough, the genuine Pandora player won't

    complain about the Flash version while it says "In

    order to use Pandora, we request...", etc. when it

    connects via the Pandora's Jar JAVA applet page...

    That's not strange at all. pandora requests a flash upgrade only if it's not running in the topmost frame.

    The "Waiting..." messages which are shown before i

    can try the [Grab It] button now last forever, the

    3rd experiment was my last and cleaning up the tmp

    directory didn't fix it. That's all the feed-back

    i got.

    Which "waiting" messages? there are two that I can think of, one relates to the file not being fully downloaded, the other to not having pandora's jar loaded before pandora.com.

    I suggest using one of the following solutions:

    1) the greasemonkey solution.

    2) the new solution by Razor512.

    (http://www.hak5.org/forums/viewtopic.php?p=55620#55620)

    3) the noscript solution.

    the "open in a new tab" seems to stop working after a refresh, or after a few songs, I don't know, haven't tried it much.

  7. works great but has 1 problem

    sometimes after a song when the next one starts and you click on grab this track, it will grab the last song played instead of the current one. then if you wait a little more and try it again, you get this error

    Same MD5 as last time (stopping!)

    ef542d5693b3c630e89577762c5c25e4

    and other times, it will tag the new song with the name of the song last played

    (the remote control works great :) )

    dude, read everything before you ask...

    1)

    In this mode - a click on "Grab this track" in firefox will not grab the song, a second click on the same song will grab it. (notice that clicking the link in the monitoring console will init a rip anyway. no two clicks needed there. if you click when a song just started playing - it will be saved with the info of the old song!)

    2) the "same-md5" error means that the file you are trying to grab is the same as the last file grabbed. it prevents saving the same file under two names. in this case - the second click is the correct name... too bad.

    don't click within the first 15 seconds!!! the timestamp on the "current playing" song should help you know if it's the right time... if the song you want to grab just started and the timestamp is more than 2 minutes... obviously this is not the time to click "grab"... refresh the page, and when you see the new song name - hit the grab link.

    notice. do not "refresh" the result page (the one saying the file was grabbed) - it will cause another grab attempt.

  8. Horray, CF7 is out. not what I expected to have in this release, but some neat features nonetheless.

    same download page on sourceforge...

    http://sourceforge.net/project/showfiles.php?group_id=184854

    If you don't need any of the features here - there's no real reason to upgrade from CF6.

    Changelog for PJ_CF7 (released 13-Jan-2007)

    1) bug fixes

    none

    2) new features

    2.1) added an option called "remote grab", when it is on - pandora's jar must be in cruise control.

    the grabbing done in cruise control will not actually cause the file to be ripped, but rather just let the server know that a new song is playing (with artist / title info). then, the server can be accessed using the address http://localhost:port/monitor this will display a short text page with info about the song currently playing (if the cruise control sent the info already (default: 15 seconds into the song)):

    a) the amount of time that passed since the info currently displayed has been sent (to verify sanity of the data before hitting "grab")

    b) a link to initiate a grab (just like hitting "grab this song").

    c) the name of the last grabbed song + the time passed since it was grabbed. (again for 'sanity QA' purposes)

    In this mode - a click on "Grab this track" in firefox will not grab the song, a second click on the same song will grab it. (notice that clicking the link in the monitoring console will init a rip anyway. no two clicks needed there. if you click when a song just started playing - it will be saved with the info of the old song!)

    Main use case: this feature has been requested by a user that is listening on a wireless headset and would like to be able to grab songs remotely using his PDA (equipped with WIFI). if you have a wireless headset but no PDA you can also access the page remotely using you cellular phone and WAP / GPRS / EDGE (etc). [usefull as a remote for grabbing while listening in bed and so on...]

    3) chages in configuration default.properties

    - enabled setting port number, specify "server.port=" , good if you want to run pj simply by double

    clicking the jar file (if they're mapped to be run by java on your pc), but you don't want to us port 80.

    - added "mp3.maxsize", defaults to 25MB, comment out in order to disable limit. will not save any grabbed

    file if it is larger than specified size. (this was done because someone was experiencing a bug where files >80MB were grabbed!) 25MB limit seems more than reasonable.

    - changed mp3md5 config format to support three options "off , local, online"

    off = don't try to verify anything (md5 comparison to last file grabbed is still made)

    local = create and use a local text file for collecting md5->songinfo votes

    online = connect to an online mp3md5 database (hence opt-in to collaborate with others on the voting)

    4) changes in log

    minor changes, for new features.

    Waiting for feature requests, but reports, suggestions, solutions and developers who wish to contribute from their time to the project

  9. That's it!

    I'm uploading version CF7 code and jar to sourceforge right now.

    debugged the hell out of the new remote monitor feature.

    seems to work correctly.

    let me know how it works for you!

    Cheers on the flash solution thingie!

    Here's how this works:

    added an option called "remote grab", when it is on - pandora's jar must be in cruise control.

    the grabbing done in cruise control will not actually cause the file to be ripped, but rather just let the server know that a new song is playing (with artist / title info). then, the server can be accessed using the address http://localhost:port/monitor this will display a short text page with info about the song currently playing (if the cruise control sent the info already (default: 15 seconds into the song)):

    a) the amount of time that passed since the info currently displayed has been sent (to verify sanity of the data before hitting "grab")

    b) a link to initiate a grab (just like hitting "grab this song").

    c) the name of the last grabbed song + the time passed since it was grabbed. (again for 'sanity QA' purposes)

    In this mode - a click on "Grab this track" in firefox will not grab the song, a second click on the same song will grab it. (notice that clicking the link in the monitoring console will init a rip anyway. no two

    clicks needed there. if you click when a song just started playing - it will be saved with the info of the old song!)

    Main use case: this feature has been requested by a user that is listening on a wireless headset and would

    like to be able to grab songs remotely using his PDA (equipped with WIFI). if you have a wireless headset

    but no PDA you can also access the page remotely using you cellular phone and WAP / GPRS / EDGE (etc).

    [usefull as a remote for grabbing while listening in bed and so on...]

  10. dude, I'm sorry, but there's no way that 7.4.0 worked with flash 9.

    unless you were running some kind of beta version of 9 which is not publicly available or you had 8 in the cache and firefox somehow used that or something like that.

    use flashswitcher to overcome the flash version problem.

    use greasemonkey (or noscript) to overcome pandora asking you to upgrade your flash.

    this is how it works for all of us since they started requiring flash 9.

    While I'm extremely interested in figuring out how/why flash 9 did work for you - I don't think it's possible until you are able to reproduce that situation. most likely you are confused.

    good luck.

    I'm here if you have any more questions.

  11. what did you do on the PPC to get: (?)

    Invalid request: action_grab_mp3

    NARUTO connected to server.

    Invalid request: requestid

    I assume your PPC is named NARUTO. (after the ninja?)

    anyway - I'm proud to say that in CF7 which is about to be released there is an option do initiate the grabbing remotely.

    to do so - uncomment the config entry:

    "remotemonitoronly.mode=true"

    (or add this line to your config file - if you're not using the config that came with the release)

    I'm not so proud of the code thats involved in this, as it is very messy. I'll clean it up sometime (hopefully soon).

    more info will be available with the release.

  12. Different Pandora accounts doesn't work on the same PC. :(

    Alas!

    (I think this is something that will be hard to overcome.)

    my best suggestion to you is to listen to different stations, change once every few hours.

    after a few days - just set pandora to 0-volume and listen to the files in your archive with shuffle on - it will be the same as quickmix.

    if you want to quickmix only some of the stations - load their m3u files into your player and shuffle on that...

    pandora will be downloading new files into your archive, while you'll get the same experience as listening to quickmix of the selected stations - with the abitlity to hit back and next as many times as you'd like.

    what do you think?

  13. Well, is there a way to open multiple Pandora sites?

    If you do that now, they will all download the same song.

    Do you mean "they will all grab the same song"? or do they actually play the same song?

    Even if you can get multiple pandoras running - pj will mix up the temp files.

    so don't do that! most of the files grabbed will be named incorrectly.

    play one station at a time, or use multiple computers.

    a clever trick might be to run multiple firefox instances using different temp directories.

    if anyone manages to do that - and check if the flash is also fooled into using the other temp dir - this could be a good opportunity for some experiments in parallel ripping!

    NOTICE: even if you rip in parallel (even on different computers) only one station name will be detected - and it will be the same on both machines! for parallel ripping - either listen to the same station on all instances or use different pandora accounts!

    [/b]

  14. ... now the genre is "Quickmix" :oops:

    birra, stop quoting everything! leave just the relevant part (if anything).

    As I've said - there's no way for me to know which station the quick mix is currently playing.

    I suggest that if station info is that important to you - quickmix on your own... listen to a different station every time - for a few hours each.

    notice that when you switch stations - pandora's jar is most likely to grab the first file wrongfully.

    this is a known bug - it is caused because the song that was supposed to be next on your previous station is already waiting in the temp folder - hence pandora's jar detects it as the one that's currently playing.

    as we didn't get correct station info until now - I didn't have any way of working around it... but I suppose some sort of solution will be integrated into CF7 which is on it's way.

    If you have any suggestions of how to know which station quickmix is using - I'll be thrilled!

  15. I'm using ver 9.

    ver 9 of what? flash?

    I transfered the install stuff for pandora over to my laptop via usb drive and new pandora account. I wondering if pandora is just now streaming online instead of putting it on the hdd cause it possibly recognizes my ip...

    I can't understand a word, could you rephrase that please?

  16. I am working on something for the pocket pc that will allow me to have pandora jar grab a track using the pocket pc.

    Sounds like the kind of thing I'd like to write!

    I'm on it, Let me know what you've tried so far - or at least what ideas you've had.

    just a small question - why not use cruise control?

    cheers.

×
×
  • Create New...