{"id":251,"date":"2007-01-07T18:29:39","date_gmt":"2007-01-08T01:29:39","guid":{"rendered":"http:\/\/www.red-sweater.com\/blog\/251\/itunes-script-recent-podcasts"},"modified":"2007-01-08T10:58:13","modified_gmt":"2007-01-08T17:58:13","slug":"itunes-script-recent-podcasts","status":"publish","type":"post","link":"https:\/\/redsweater.com\/blog\/251\/itunes-script-recent-podcasts","title":{"rendered":"iTunes Script: Recent Podcasts"},"content":{"rendered":"<p>If you use iTunes to manage your podcast subscriptions, and you have enough of them, it can become quite difficult to sift through the list to see what has been recently updated. I often find myself wanting to quickly check whether anything new has arrived in say, the past day or two.<\/p>\n<p>\nMy <a href=\"http:\/\/www.red-sweater.com\/AppleScript\/RecentPodcasts.zip\">Recent Podcasts<\/a> script makes this a breeze:\n<\/p>\n<p>\n<img decoding=\"async\" src=\"http:\/\/www.red-sweater.com\/blog\/images\/RecentPodcasts.png\"\/>\n<\/p>\n<p>\nIf any podcasts are found, they&#8217;ll be presented in a list, where you can choose one to automatically start listening to it (though I personally rarely listen in iTunes itself):\n<\/p>\n<p>\n<img decoding=\"async\" src=\"http:\/\/www.red-sweater.com\/blog\/images\/FoundPodcasts.png\"\/>\n<\/p>\n<p>\nNote there is a user-customizable flag in the script itself: kIgnoreAlreadyPlayedPodcasts, set to false by default. But if you would like to limit the listing to items that you haven&#8217;t already listened to, just set this flag to true.\n<\/p>\n<p>\nBest part is that all of these dialogs are keyboard-navigable. So I popped the script into my iTunes script folder, and gave it an application-specific shortcut <strong>Cmd-Opt-R<\/strong> (with <a href=\"http:\/\/www.red-sweater.com\/fastscripts\/\">FastScripts<\/a>, naturally).\n<\/p>\n<p>\nEnjoy!<\/p>\n<p>\n<strong>Update January 8:<\/strong> It&#8217;s been pointing out in the comments that <a href=\"http:\/\/www.apple.com\/lae\/itunes\/smartplaylists.html\">Smart Playlists<\/a> might be a better solution for this kind of scenario. I tend to agree, but I&#8217;m leaving the script and entry up here in case people find this preferable, or if they just want an example of the scripting techniques.\n<\/p>\n<p>\nSee <a href=\"http:\/\/boredzo.org\/blog\/archives\/2007-01-07\/itunes-smart-playlists-recent-podcasts\">Peter Hosey&#8217;s<\/a> example of how you might accomplish the same thing with a Smart Playlist.<\/p>\n<p> Note that the workflows he demonstrates could be even simpler by using the &#8220;Podcast &#8211; is &#8211; true&#8221; rule. He reminds me that smart playlists can be nested, which is just really, really cool.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you use iTunes to manage your podcast subscriptions, and you have enough of them, it can become quite difficult to sift through the list to see what has been recently updated. I often find myself wanting to quickly check whether anything new has arrived in say, the past day or two. My Recent Podcasts [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,7,19,4],"tags":[],"class_list":["post-251","post","type-post","status-publish","format-standard","hentry","category-apple","category-applescript","category-technology","category-web"],"_links":{"self":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/posts\/251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/comments?post=251"}],"version-history":[{"count":0,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/posts\/251\/revisions"}],"wp:attachment":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/media?parent=251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/categories?post=251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/tags?post=251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}