Sometimes, You Can’t Wait for Apple to Fix It

Posted: September 28th, 2009 | Author: Jamie Phelps | Filed under: All Posts | No Comments »
   <div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'>       <div style="float: left; margin-right: 5px; overflow: visible;"><a href='http://posterous.com/getfile/files.posterous.com/jxpx777/zrXF6fRZi8fkCo7YbCuEKapEWVSkVeS8ZkAEC7WG162Ko8EnwZGyNHSVYhx5/KillComputedRatings.scpt' style='color: #bc7134;'><img src='http://posterous.com/images/filetypes/unknown.png' style='border: none;'/></a></div>       <div style="font-size: 10px; color: #424037;line-height: 16px;">Click here to download:</div>       <b><a href='http://posterous.com/getfile/files.posterous.com/jxpx777/zrXF6fRZi8fkCo7YbCuEKapEWVSkVeS8ZkAEC7WG162Ko8EnwZGyNHSVYhx5/KillComputedRatings.scpt' style='color: #bc7134;'>KillComputedRatings.scpt</a></b> <span style="font-size: 10px; color: #424037;">(1 KB)</span>       <br style="clear: both;"/></div>      <p>I’ve been wailing about this silly bug in iTunes for a while. Basically, iTunes tries to be cute and calculate a rating for unrated tracks based on the album rating or an album rating for unrated albums by the rating of individual tracks. If you use smart playlists that have rating or album rating in the criteria, iTunes can’t actually exclude any of those calculated ratings from the predicate that creates the smart playlist. So, if you rated an album a **** overall but you haven’t yet rated the individual tracks in the album, all of the tracks that are unrated will have a **** calculated rating. Create a smart playlist with rating at least **** and you’ll end up with those unrated tracks in your playlist. Awesome, huh? <p /> I was sincerely hoping that iTunes 9 would fix this stupid bug. (To prove how stupid it is, you can look at the Applescript dictionary for iTunes. There’s already a flag for whether the rating or album rating is calculated.) Unfortunately, that doesn’t appear to be the case. According to Apple, the engineers are aware of the bug and will fix it… well, whenever they get around to adding that little BOOL check I guess. <p /> In the mean time, I got tired of waiting. Since the problem is that the ratings are calculated rather than actually set, I ran a dumb Applescript to set the rating and album rating to every track that had a calculated rating for either of those items to 1 rather than 0. (Ratings are on a 0-100 scale.) The tracks still show as a zero star rating or album rating but now they don’t pollute my smart playlists because they’re no longer calculated. Here’s the script: <p /> </p><pre> <br />tell application "iTunes" <br /> repeat with t from 1 to count of every file track of library playlist 1 <br />      set thisTrack to (file track t of library playlist 1) <br />        if rating kind of thisTrack is computed then <br />         set rating of thisTrack to 1 <br />     end if <br />       if album rating kind of thisTrack is computed then <br />           set album rating of thisTrack to 1 <br />       end if <br />   end repeat <br />end tell <br /></pre> <p /> It’s pretty stupid really to have to do this and have to do this for new tracks, but it’s fast enough for me on my paltry 25GB collection until Apple decides they want to fix it.      <p style="font-size: 10px;">  <a href="http://jxpx777.posterous.com">Posted via email</a>   from <a href="http://jxpx777.posterous.com/sometimes-you-cant-wait-for-apple-to-fix-it">jxpx777's posterous</a>  </p>

Popularity: 5% [?]


Devs Getting Their Pizza On at Gino’s East of Chicago

Posted: September 26th, 2009 | Author: Jamie Phelps | Filed under: All Posts | No Comments »

See and download the full gallery on posterous
  <p style="font-size: 10px;">  <a href="http://jxpx777.posterous.com">Posted via email</a>   from <a href="http://jxpx777.posterous.com/devs-getting-their-pizza-on-at-ginos-east-of">jxpx777's posterous</a>  </p>

Popularity: 4% [?]


Untitled

Posted: September 13th, 2009 | Author: Jamie Phelps | Filed under: All Posts | No Comments »
   <div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'>       <div style="float: left; margin-right: 5px; overflow: visible;"><a href='http://posterous.com/getfile/files.posterous.com/jxpx777/pfW8ucLvCkOstLJh8rPgwB000nm0W2DGTll7Pyn696Y9n7Kb3zfWRp5uMwDl/IMG_0105.mov' style='color: #bc7134;'><img src='http://posterous.com/images/filetypes/mov.png' style='border: none;'/></a></div>       <div style="font-size: 10px; color: #424037;line-height: 16px;">Download now or <a href='http://jxpx777.posterous.com/3868813-0' style='color: #bc7134;'>watch on posterous</a></div>       <b><a href='http://posterous.com/getfile/files.posterous.com/jxpx777/pfW8ucLvCkOstLJh8rPgwB000nm0W2DGTll7Pyn696Y9n7Kb3zfWRp5uMwDl/IMG_0105.mov' style='color: #bc7134;'>IMG_0105.MOV</a></b> <span style="font-size: 10px; color: #424037;">(2402 KB)</span>       <br style="clear: both;"/></div>      <p>Man was not meant to watch football like this. :( </p>      <p style="font-size: 10px;">  <a href="http://jxpx777.posterous.com">Posted via email</a>   from <a href="http://jxpx777.posterous.com/3868813-0">jxpx777's posterous</a>  </p>

Popularity: 4% [?]