Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Fix iTunes' expiring of unplayed podcast subscriptions' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Fix iTunes' expiring of unplayed podcast subscriptions
Authored by: DougAdams on Feb 15, '07 04:46:58AM
I could only try this once, since all my podcasts got updated and I'd have to wait five days to test it again ;).

This AppleScript will update all podcasts without altering any playcounts and so on:
tell application "iTunes"
	set podcast_playlist to some playlist whose special kind is Podcasts
	set all_podcasts to album of every track of podcast_playlist
	set each_podcast to {}
	repeat with this_podcast in all_podcasts
		set this_podcast to this_podcast as string
		considering case
			if each_podcast does not contain this_podcast and this_podcast is not "" then
				copy this_podcast to the end of each_podcast
			end if
		end considering
	end repeat
	
	if each_podcast is not {} then
		repeat with this_podcast in each_podcast
			set the_podcast to (some track of podcast_playlist whose album contains this_podcast)
			updatePodcast the_podcast
		end repeat
	end if
	
end tell

---
Doug's AppleScripts for iTunes
http://www.dougscripts.com/itunes/

[ Reply to This | # ]

This Script available for download
Authored by: DougAdams on Feb 15, '07 05:37:08AM
BTW: I have posted this script at my site.

---
Doug's AppleScripts for iTunes
http://www.dougscripts.com/itunes/

[ Reply to This | # ]