Jay Tuley

Posts tagged with ieatbrainz

iEatBrainz 1.06 by Jay

Been really busy, but posted some minor updates to iEatBrainz since it’s been a while

What’s new in 1.06 • Auto Check for updates. • FAQ is now online http://www.indyjt.com/wiki/pmwiki.php/IEatBrainz/FAQ • optional iTunes Chooser Playlist for songs that haven’t been tagged. • Minor performance enhancements • Bug fix for “Acoustic Fingerprint not in database error” so it now allows you to choose manual match without regenerating the fingerprint. • Auto Retry when trm server that generating fingerprints is busy, now waits a progressive amount of time before retrying.

Might be the last minor update for awhile, as I’m re-writing the main controller code, but by adding my new IndyKit to this version it has an automatic update checker added with very little work. So when that new version is ready a window will pop up like this:

Update Check Screenshot

NicePlayer 0.88 by Jay

Robert Chin and I have released NicePlayer 0.88, it has some significant enhancements.

Version 0.88: • Widgets show up when application is inactive • Clicking on time elapsed toggles between time remaining and time elapsed. • File icons for recognized types • Customizable fast forward and rewind speeds • Preferences for looping, time elapsed/remaining default display, fast forward/rewind speed • Fixes for network loading of files • Auto Update Check

Being able to access the player controls without having to click once on the window, because the application is not the active app, is one of the best enhancements in this update. It wasn’t even something that was on my radar, but Robert it was on Robert’s and he got it working. w00t!

In the last version the compressed file size broke the 100k barrier, which was kind of sad, people seemed to like that it was such a crazily small download, but of course it was n’t going to last as more features are added. However, this time the compressed filesize almost doubled!! But it’s only due to the fact that I added icons for each of the supported quicktime movie types. I looked for awhile on the net, trying to find Apple’s Aqua Icon Kit, but alas it was no where to be found. However, I knew I had downloaded it at some point because I used it on 3DOSX, so luckily I found it on an old backup. I don’t know why apple got rid of it, it was a really useful set of Photoshop templates and actions, Oh well.

I was glad to get the “Auto Update Check” into this version, it’s actually part of my IndyKit framework, I’ll be releasing a minor update soon of iEatBrainz that has it too. I was supposed to have the auto update done in summer, but just don’t have as much time these days to work on personal projects (It’s frustrating I’ve got too many Ideas argggh). Robert kept hassling about releasing this version, but I was holding off because I really wanted to get the automatic check for updates in, and I’m glad I did.

Anyway my lunch break is over, back to paying job.

In one day... by Jay

In one day, NicePlayer downloads eclipsed the downloads of iEatBrainz for the month of November, thanks to to 500 visit through this page http://mac.page.ne.jp/ . Okay so we are only 7 days into the month of November, still I’d accept a donation of a NicePlayer nib translated to Japanese.

For an iEatBrainz update, it’s going through some much need code bloodletting.

Back from Vacation by Jay

Just got back from a family vacation to Monterey. It was a lots of fun, but of course that means for the last 6 days no real coding work has progressed. And I had very little internet access while I was there, so I have several emails to respond to, especially with iEatBrainz bugs/problems (using the email author menu in iEatBrainz (to my gmail account) is the best way to get a reply for bugs BTW). I will be responding to email as soon as I can, but right now I must go to bed.

iEatBrainz applescript to add iTunes selection by Jay

I received an email a little earlier asking what iEatBrainz applescript commands would allow you to add songs from an iTunes selection. iEatBrainz only has a applescript dictionary because it’s an Apple Script Studio app with a lot of Obj-C and just a small bit of applescript. However, since the applescript dictionary encompasses almost all of cocoa, it wasn’t too hard to write a script that takes the currently selected song in iEatBrainz and add it to the tagging list (As long as you know what methods to call).

Open this script in Script Editor

on addSongWithDatabaseID(aDatabaseID, aLibrary, aTaggingController)
    
tell application “iEatBrainz”
        
set aTrack to call method “trackForTrackID:” of aLibrary with parameter (aDatabaseID as string)
        
call method “addiTunesTrack:” of aTaggingController with parameter aTrack
    
end tell
end
addSongWithDatabaseID

tell application “iEatBrainz”
    
set myLibrary to call method “musicLibrary” of call method “mediator” of call method “delegate” of application
    
    set
taggingController to call method “musicMatchings” of call method “mediator” of call method “delegate” of application
end tell

tell
application
“iTunes”
    
set these_tracks to the selection of browser window 1
    —
if no selection
    
if these_tracks is {} then error “No tracks are selected in the front window.”
end tell

repeat with
i from 1 to number of items in these_tracks
    
set this_item to item i of these_tracks
    
tell application “iTunes”
        
set dbID to database ID of this_item
    
end tell
    
addSongWithDatabaseID(dbID, myLibrary, taggingController)
end repeat

This still will have problems on occasion when iEatBrainz gets out of sync with iTunes, due to iTunes renumbering its database.