[wip] bezelTunes

Ever seen those nice smooth bezels that pop up when you hit the function key and the brightness or volume key on your keyboard? Me and Brian are working on this widget. So far we have the back, foward, and play/pause buttons working, and are currently working on the album art feature.

Updated!

Currently working?

Album Art (retrieving from iTunes library! :))

Resizing album art

Scrolling track & artist name

Last song

Play/Pause

Next song

Hover

Volume Control

To be added?

Make Seeker and Rating work.

#227247

this sounds awesome, can't wait for the release...how about a preview though? ;)

#227259

There is a screenshot in the first post ;)

#227264

Great work man, looks great.

#227325

Looks awesome :)

#227329

Good work guys, keep it up!

AFAIK Konfabulator doesn't support album art yet. Maybe you will able to make up sth via Javascript, correct me if I'm wrong....

#227370

It's kind of easy to use javascript to extract album art.....

People have already use it for Kapsules, so you can ask them......

Plus, I think apple gives some sample to explain how to do it on windows....

I'm sure we can display Album art

#227422

That would be great :)

#227427

screenshot doesn't work anymore.

#227448

http://www.konfabulator.com/workshop/Konfa...tor_Ref_1.8.pdf

tells the entire story:

"Application Attributes and Functions

These give Konfabulator JavaScript code access to certain applications allowing remote control and retrieval of data.

Currently the only supported application is iTunes (available from

http://www.apple.com/itunes for both Windows and Mac OS X)."

Hence, as with 1.8 and documentation, the album art is not available via the iTunes library. Also, the employed javascript engine is an entirely kapsulated, err, sandboxed environment that can't reach outside except running a DOS/UNIX command e.g. by calling runCommandInBg().

The apparent short term solution would be writing a "getnowplayingartwork.exe", calling that from the script and simply trust that it extracts an artwork or overwrites it with the "not found" imagery - still not truely cross platform.

hth,

herd

#227453

The one in the screenshot is on my Mac. It also works on my PC except I can't run it a lot because it crashes frequently (256mb ram...).

#227471

ok. Here is an update! Now album art works (downloading from Amazon), and the seek feature will be deleted (no one uses it and it cramps it up).

Here's a screenshot!

bezeltunes.jpg

#227587

looks nice mate..well done

#227683

Updated!

This version of bezelTunes no longer supports anything below Konfabulator 1.8! :)

#230771

and i would be the coder

:o

;)

#230793

you mean you are the coder ;)

#230981

I'm a bit confused now, are covers downloaded from Amazone or got directly from the mp3s??

#231746

this is looking great so far. just one thing i have notice with amazon and using sputnik. sometimes it loads the wrong album art. a great feature would be to take what u assigned it in iTunes to be what it displays. example. I spend some of my own time with iTunes and the web to load art work into iTunes, when i load the widget, instead of it searching amazon (using my web connection and sometimes getting the wrong art work) have it just look at what i've loaded in itunes.

Just a thought. A little more work for the end user, but hey, if you want cool things, you should have to work for it, lol.

#232445

Nope, loads from iTunes ;)

#235763

Nope, loads from iTunes ;)

does it load artworks from iTunes on Windows version too???

#235770

If someone could write an .exe to retrieve album art, it could be done. ;) Right now only Macs can use it because the widget uses AppleScript to get the Album Art.

#236087

Its easier than that, using the windws way of scripting:

  dim app, success, target, blank

success = false
target = wscript.arguments(0)

set app = createobject("itunes.application")
if not app is nothing then
dim trk
set trk = app.currenttrack
if not trk is nothing then
if trk.artwork.count then
trk.artwork.item(1).saveartworktofile target
success = true
end if
end if
end if

if success then
wscript.echo "success"
else
wscript.echo "failed"
end if

save the above script to iTunesArt.vbs to your resources folder and call it as:

  var location = runCommand("echo $temp") + "CurrArt.dat";
var retval = runCommand("cscript /nologo ResourcesiTunesArt.vbs " +
convertPathToPlatform(location);

if( retval == "success" ) // I guess it returns an excess linefeed
myImage.src = location;
else
myImage.src = notFoundLocation;

#236097

hmm thanks a lot

i think i will put that in after the mac version is completed. dont worry wont be much of a time gap

#236409

hrmm mebe 8)

we both threw away our wintel boxes :P anyone wanna beta test :naughty:

#236865