found drama

get oblique

Tag Archives: Code

more SyncTunes

by Rob Friesel

Recent experimenting with launchd led us to today’s (failed) experiment in the on-going “SyncTunes” project. (See previous references here and here.) Short version: have tunesync-in.sh activate via launchd when a user logged in, copying a master $ituneslib file over to $userlib. Then, while the user was logged in and playing songs through iTunes, tunesync-out.sh would […]

up early with launchd

by Rob Friesel

Trouble sleeping last night. Dreams that aren’t worth posting here because all they really seem to be are chilling previews of some stuff scheduled for Friday. So instead I jumped out of bed and decided to try and cross off one of the things on my to do list. AFP548 had a great article that […]

toward week’s end

by Rob Friesel

After the other night I kind of wanted to give up… But the Malkovich restoration continues. I’ve managed to neglect DHL’ing the bunk hard drive back but soon enough. I guess I was holding out for the remote possibility I’d get stuff off of it. Not so much. Anyways…: …that was successful. But then I […]

notes, to do…

by Rob Friesel

Get started w/ launchd rather than cron Malkovich to death… Figure out some other way to automate exports from iCal to phpCal since there more/less isn’t an ics file to copy w/ a shell script any more and AppleScript support for iCal’s export feature is confusing and weak at best… currently playing: Amon Tobin “Reanimator”

Oblique Strategies widget

by Rob Friesel

With a little help I made my first Dashboard Widget: the Oblique Strategies widget This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License. For those unfamiliar with the Oblique Strategies, may I recommend Gregory Taylor’s site on the subject. Short version? Musician Brian Eno and artist Peter Schmidt, faced with the “creator’s block” […]

update: synctunes

by Rob Friesel

And just as mysteriously as my synctunes scripts appeared to stop working, they appeared to start working as expected. Keeping an eye on these though since I’m not so sure I trust their reliability at this point. Questions: Are both the LoginHook and the LogoutHook working? Is it successfully updating the play counts (etc.) on […]

synctunes

by Rob Friesel

Submitted for scrutiny (esp. since it doesn’t appear to be working…): synctunesin.sh gets the latest iTunes Library info from the iTunes User account #!/bin/bash TUNESHARE=/Users/itunes/Music/iTunes AMYLIB=/Users/amy/Music/iTunes GUESTLIB=/Users/guest/Music/iTunes ROBLIB=/Users/rob/Music/iTunes if [ $USER != itunes ]; then if [ $TUNESHARE/iTunes\ 4\ Music\ Library -nt $AMYLIB/iTunes\ 4\ Music\ Library ]; then cp $TUNESHARE/iTunes\ 4\ Music\ Library $AMYLIB/iTunes\ 4\ […]