Artwork |
|
Submitted By Martin Crisp (Hypercube) |
DescriptionNew Version: v1.2Set your buddy icons to the artwork of the currently playing iTunes track. Usage: /makeDefaultArtwork Sets the buddy icon from one of your accounts as the icon for %_Artwork to use when the current track doesn't have artwork, or when iTunes isn't playing. %_Artwork Sets the buddy icon of all accounts to the first piece of artwork in the currently playing iTunes track, if any. If there is no associated artwork, or iTunes isn't playing, the icon chosen on first run (or from /makeDefaultArtwork) is used. Whether the change in an icon is visible to your buddies depends on their client, and the protocols you share in common. (I think :-/). For ICQ users, closing and reopening your conversation window seems to help the update be 'pushed' through. To improve speed, Artwork.AdiumScripts keeps a 'cache' of icons. It only replaces an icon if the iTunes track has been modified since the cached icon was made. Additionally, if %_Artwork is used twice (or more) consecutively for the same track, e.g. in an away message, then the buddy icon is not updated. Upgrading v1.1 to v1.2 & keeping your cached icons: You do not have to do this, but if you wish to? Your cached icons are in: ~/Library/Application Support/Adium 2.0/Scripts/Artwork.AdiumScripts/ Contents/Resources/ArtworkCache/ (That's the Library folder in your user directory; each entry thereafter is also a folder; but the Finder treats the Artwork.AdiumScripts 'bundle' differently; see below. ) Quit Adium. Control-click on the already-installed Artwork.AdiumScripts bundle, and choose "Show Package Contents" from the contextual menu. Now navigate to the Resources folder, and drag the ArtworkCache folder to somewhere else in your user space (so it is moved, not copied. Install v1.2. Now, using the same process as above to open the new AdiumScripts bundle replace the new (empty) ArtworkCache folder with the one you put aside. (You do not need to quit Adium while fiddling with the icon cache provided you aren't connected) Requirements: Relies on the "Image Events" application, bundled with OS X 10.3.x (Panther) Version History: 1.0 Uploaded, never released 1.1 Added code to give "Image Events" a 'nudge', as it otherwise seems to 'die' if ignored for too long.[1] 1.2 Removed that code. Set Image Events to never quit. Reworked code from top to bottom; extra comments, better error handling. (Though the error handlers don't seem to get called ;-)) Turned on 'PackBits' compression for the cached icons. [1] As it turns out, this appears to be the Adium X "remote quit bug". My comments regarding the flakiness of Image Events were premature. oops :-) CommentsYou can reply to individual comments by clicking the "Reply" link next to each. # by Hypercube on 11/21/04 at 23:37:22Thanks much!
The code needs more/better commenting. And I'd like to get a better handle on the included hack from Doug Adams. As the Version History (such as it is) notes, Image Events is a bit dicey. So there may be minor revisions soon. I'd much appreciate comments (or emails) about any problems "making icons". (Quit & re-launch Adium if this happens.) Thanks again, Have Fun Martin # by Eric Svingen on 11/23/04 at 01:50:09Is there any way to make %_Artwork run automatically, every minute or so? Or some other mechanism to have the artwork update automatically?
# by Eric Svingen on 11/23/04 at 01:58:56Hypercube was kind enough to answer my question ... put %_Artwork in your profile or away message and it will update automatically every 30 seconds.
Thanks! # by Hypercube on 11/23/04 at 02:03:20Heh :-)
I would have answered here, too, but was adding comments to the %_Math page :-) Have Fun Martin # by Hypercube on 11/23/04 at 02:15:08It appears that the current 'solution' to Image Events hiccoughs isn't as effective as hoped.
I'm revisiting the code (to make it more readable/understandable for weirdos like BlueRev ;-)). Expect an update in the next day or so. Have Fun # by Hypercube on 11/28/04 at 03:55:18Just for clarity: all the above comments are from v1.1.
I'd appreciate feedback on concerns (especially bugs) with 1.2 - suggestions for improvement would be good too :-) Have Fun Martin # by Si on 12/01/04 at 21:44:23I believe it's already on the todo list, but being able to set different Default Artwork for each IM account would be fantastic.
Other than that, excellent script! # by Hypercube on 12/02/04 at 12:10:14Thanks, glad you like it :-)
Yes, default-per-account artwork is on the todo list, there's also a minor bug in the current code for constructing the default icon (which shouldn't be a great problem to fix). Unfortunately, I'm not likely to be able to get to either in the immediate future. I will, however, get to them as soon as I am able. Have Fun Martin # by BlueRevolution on 12/29/04 at 20:20:39there is one other bug--
the script launches iTunes if it isn't running. something else for your to do list I guess :) ... thanks for the script, now I have more people than ever asking me if I change my name AND icon whenever my music changes :D # by Hypercube on 05/05/05 at 18:27:31:-)
Thanks. I'm afraid I'm not going to be doing the changes anytime soon :-( Life has been and continues to be a bitch. Anyone inclined to try to take it over... go for it :-) have funMartin # by webby on 11/21/05 at 13:33:14It is an awesome script super sweet idea, but... it doesn 't work for me? How exactly to you use. I put it nto the away message but I get an error #-1713.
# by gabyu on 12/15/05 at 21:28:24I have a problem using it., with adium 0.87
when i add %_Artwork in my buddy name in msn, i have a Adium notification "Your new MSN friendly name is too long.", then this long text in my buddy name "No user interaction allowed.-> from makeDefaultIcon(HD:Users:gabyu:Library:Application Support:Adium 2.0:Scripts:Artwork.AdiumScripts:Contents:Resources:ArtworkCache:DefaultAdiumIcon.tif) -> from substitute(): Error #-1713 " do you know what is it ? ... i'm a newbie... thanks a lot ! gab # by Mal on 05/25/06 at 19:08:41I'm having trouble figuring out how this actually works. Do you just send %_Artwork as a message, or is there somewhere else? Putting it in my profile didn't seem to work.
jW # by Mal on 05/26/06 at 23:15:46Nevermind, I figured out the technique, but it doesn't work. I'm getting the same error as gabyu.
jW # by quisp on 07/14/06 at 12:01:24Ugh, can someone explain how to use this? Where does "%_Artwork" go exactly?
# by zerock on 08/14/06 at 22:56:32does it work with the global icon setting?
# by quarterlifecrisis on 10/25/06 at 14:53:34like some of the users that came before me, i can't seem to figure out how to use this (read: where to put "%_Artwork"). could i trouble someone to spell it out exactly for beginners like me?
thanks! # by balupton on 10/19/08 at 15:47:40I get:
Adium got an error: Can’t get every «class acct».-> from makeDefaultIcon(OSX-HDD:Users:balupton:Library:Application Support:Adium 2.0:Scripts:Artwork.AdiumScripts:Contents:Resources:ArtworkCache:DefaultAdiumIcon.tif) -> from substitute( Error #-1728 # by govind.anand on 01/20/09 at 02:17:33I get the same error as well. Can't seem to figure out what the problem might be. I used this script before on an earlier version of adium and it worked great. But alas, no luck with the latest one.
# by stan.c on 02/02/09 at 16:02:41I fixed this bug. Get the correction here: http://dl.free.fr/c36Ys0Us2
Replace the file here: ~/Library/Application Support/Adium 2.0/Scripts/Artwork.AdiumScripts/Contents/Resources/%_Artwork.scpt Note that it works properly most of the time but sometimes it doesn't get the correct artwork. I can't find the reason for the moment. # by govind.anand on 02/02/09 at 17:53:26Hey there stan.c:
I checked out the the link but I am unable to download the script. Moreover, the site was in French and is hard to navigate. Any quick fixes to this? # by stan.c on 02/02/09 at 16:26:44To get %_Artwork work automatically, I suggest you place %_Artwork in the profile of an unused account. Otherwise, your contacts will get its errors messages.
# by chrl268 on 02/03/09 at 04:28:32link for it was dead?? and unused account as in, make up a random account and the dp for my msn account will change automatically??
# by chrl268 on 02/03/09 at 04:49:04and i've been bitching to my friend for ages to find this for me, thanks HEAPS, if only it would work now... lol
# by stan.c on 02/03/09 at 08:16:27OK, the first site seems to work only for France. I didn't know that. Here's a new link http://www.4shared.com/file/83866966/...rtwork.html
# by chrl268 on 02/03/09 at 08:27:11ta =]
omg it works - thank you thank you thank you thank you thank you thank you thank you!!!!!!!! haha, and yeah, the second link works =] # by stan.c on 02/05/09 at 10:05:53I found why it wasn't every time the correct artwork.
Here's a better version: http://www.4shared.com/file/84545779/...rtwork.html # by gonenutsbrb on 03/24/09 at 18:37:43can you post a current working version for a complete install and instructions on where to place the %_Artwork? I'm a bit confused and I seem to be having problems with the plugin, but I love the concept. Please keep up the good work.
# by stan.c on 03/25/09 at 14:22:38Here is a complete working version. I'm not the original developper but he allowed me to fix the script. So I can't post it as a current version in adiumxtras.com.
Get it there : http://www.4shared.com/file/94908967/...cripts.html # by Penegal on 09/03/09 at 14:30:24Excuse me, but it makes Adium crash under Snow Leopard. After a few seconds, Adium crashes, and only removing this Xtra's file allows a normal start of Adium.
Note : Adium 1.3.6, %_Artwork placed in Displayed name field... # by juanchi on 09/19/09 at 21:19:52I get the next error:
Adium got an error: Can’t get every «class acct».-> from makeDefaultIcon(Macintosh HD:Users:jbrasca:Library:Application Support:Adium 2.0:Scripts:Artwork.AdiumScripts:Contents:Resources:ArtworkCache:DefaultAdiumIcon.tif) -> from substitute(): Error #-1728 I try to uninstall y re install the script but it's the same, please help me I want to use this script. Thanks. # by stan.c on 09/22/09 at 17:09:35To Penegal & juanchi, did you download the version I posted ?
# by juanchi on 09/24/09 at 21:28:34No I didn't but now I get this diferent error
No user interaction allowed.-> from makeDefaultIcon(Macintosh HD:Users:jbrasca:Library:Application Support:Adium 2.0:Scripts:Artwork.AdiumScripts:Contents:Resources:ArtworkCache:DefaultAdiumIcon.tif) -> from substitute(): Error #-1713 Any idea? thanks # by westbuzz on 03/02/11 at 02:40:36cannot get this to work. I managed to create the defualtadiumicon.tif, its in the proper place. When I try %_artwork in a profile or chat message or away message i get the following error:
"Delicate file name. Macintosh HD:Users:cliffgreen:Library:Application Support:Adium 2.0:Scripts:Artwork.AdiumScripts:Contents:Resources:ArtworkCache:tmpIcon1E68ACD411AA0B4C.tif.jpg -> from makeArtwork(Macintosh HD:Users:cliffgreen:Library:Application Support:Adium 2.0:Scripts:Artwork.AdiumScripts:Contents:Resources:ArtworkCache:Icon1E68ACD411AA0B4C.tif) -> from substitute(): Error #-48" thats was when %_artwork is in a profile (i have yahoo and aim) running OSX 10.6.6 and Adium 1.4.1 with the plugin being the 3/25/09 version posted here by stan.c Any help? Post a New CommentYou must be logged in to post comments. |
|
# by BlueRevolution on 11/21/04 at 22:55:53