<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for professafresh's blog</title>
	<atom:link href="http://professafresh.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://professafresh.wordpress.com</link>
	<description>ramblings of an idiot</description>
	<lastBuildDate>Wed, 01 Oct 2008 23:38:26 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Fun with Automator by InfoMofo</title>
		<link>http://professafresh.wordpress.com/2007/10/18/fun-with-automator/#comment-471</link>
		<dc:creator>InfoMofo</dc:creator>
		<pubDate>Wed, 01 Oct 2008 23:38:26 +0000</pubDate>
		<guid isPermaLink="false">http://professafresh.wordpress.com/2007/10/18/fun-with-automator/#comment-471</guid>
		<description>I know it&#039;s almost a year later, but this page is still the best source for this information!

I just got this working perfectly, using  josephbphillips&#039;s metadata script above.  This is great for getting shows onto my iPhone, and also for streaming movies to my mac mini&#039;s frontrow (my network seems to be too slow to stream the full hd downloaded eps).</description>
		<content:encoded><![CDATA[<p>I know it&#8217;s almost a year later, but this page is still the best source for this information!</p>
<p>I just got this working perfectly, using  josephbphillips&#8217;s metadata script above.  This is great for getting shows onto my iPhone, and also for streaming movies to my mac mini&#8217;s frontrow (my network seems to be too slow to stream the full hd downloaded eps).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fun with Automator by Chris</title>
		<link>http://professafresh.wordpress.com/2007/10/18/fun-with-automator/#comment-470</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sat, 28 Jun 2008 00:35:21 +0000</pubDate>
		<guid isPermaLink="false">http://professafresh.wordpress.com/2007/10/18/fun-with-automator/#comment-470</guid>
		<description>I just spent several hours trying to get your automation scripts to run.  The comments about the &quot;&quot; issue is valid - a copy and paste from the above text will insert the wrong quotes.  The part that I struggled with (since I am new to Automator) was that after AtomicParsley64 ran everything came to a dead stop.  I stepped through the workflow and everything worked correctly.  I ended up having to insert a &quot;Pause&quot; for 5 seconds right after the Shell Script but before the Find Finder.  This is on a OS X 10.5.3 2.66GHz iMac 2GB RAM.  Works fine now.  Thanks!</description>
		<content:encoded><![CDATA[<p>I just spent several hours trying to get your automation scripts to run.  The comments about the &#8220;&#8221; issue is valid &#8211; a copy and paste from the above text will insert the wrong quotes.  The part that I struggled with (since I am new to Automator) was that after AtomicParsley64 ran everything came to a dead stop.  I stepped through the workflow and everything worked correctly.  I ended up having to insert a &#8220;Pause&#8221; for 5 seconds right after the Shell Script but before the Find Finder.  This is on a OS X 10.5.3 2.66GHz iMac 2GB RAM.  Works fine now.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fun with Automator by drnkusv</title>
		<link>http://professafresh.wordpress.com/2007/10/18/fun-with-automator/#comment-460</link>
		<dc:creator>drnkusv</dc:creator>
		<pubDate>Mon, 25 Feb 2008 04:11:37 +0000</pubDate>
		<guid isPermaLink="false">http://professafresh.wordpress.com/2007/10/18/fun-with-automator/#comment-460</guid>
		<description>This was a real time-saver.  Thanks.  One thing that is driving me a little crazy, though.  Why does VisualHub restart itself at the end of the workflow?  (In your workflow, you instruct VisualHub to quit and then you have another instruction later on to quit VisualHub.  I have also noticed when running a slightly modified version of this, that VisualHub restarts itself right before the workflow ends.  It seems that the workflow loops back up to the top when it finishes, but I cannot figure out why.  I notice this only happens when it is called via folder actions -- it does not happen if you run the workflow as a test directly through automator. 

Not a major problem -- but it would be nice to understand.

Thanks again.</description>
		<content:encoded><![CDATA[<p>This was a real time-saver.  Thanks.  One thing that is driving me a little crazy, though.  Why does VisualHub restart itself at the end of the workflow?  (In your workflow, you instruct VisualHub to quit and then you have another instruction later on to quit VisualHub.  I have also noticed when running a slightly modified version of this, that VisualHub restarts itself right before the workflow ends.  It seems that the workflow loops back up to the top when it finishes, but I cannot figure out why.  I notice this only happens when it is called via folder actions &#8212; it does not happen if you run the workflow as a test directly through automator. </p>
<p>Not a major problem &#8212; but it would be nice to understand.</p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fun with Automator by professafresh</title>
		<link>http://professafresh.wordpress.com/2007/10/18/fun-with-automator/#comment-458</link>
		<dc:creator>professafresh</dc:creator>
		<pubDate>Sat, 19 Jan 2008 22:43:17 +0000</pubDate>
		<guid isPermaLink="false">http://professafresh.wordpress.com/2007/10/18/fun-with-automator/#comment-458</guid>
		<description>http://www.techspansion.com/visualhub/vh-automationpreview.pdf has all the info you need on getting VisualHub automated.</description>
		<content:encoded><![CDATA[<p><a href="http://www.techspansion.com/visualhub/vh-automationpreview.pdf" rel="nofollow">http://www.techspansion.com/visualhub/vh-automationpreview.pdf</a> has all the info you need on getting VisualHub automated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fun with Automator by InfoMofo</title>
		<link>http://professafresh.wordpress.com/2007/10/18/fun-with-automator/#comment-457</link>
		<dc:creator>InfoMofo</dc:creator>
		<pubDate>Sat, 19 Jan 2008 22:32:08 +0000</pubDate>
		<guid isPermaLink="false">http://professafresh.wordpress.com/2007/10/18/fun-with-automator/#comment-457</guid>
		<description>Grr, I&#039;m so close to getting this to work, but I&#039;m getting an error in the applescript with the line:

&lt;blockquote&gt;
tell application &quot;VisualHub&quot; to set VisualHub to load script (scripts path of main bundle &amp; &quot;/automation.scpt&quot; as POSIX file)
&lt;/blockquote&gt;

The AppleScript error occurs at &quot;bundle&quot;, and I get &quot;Syntax error: Expected &quot;,&quot; but found identifier&quot;.

Any ideas?  Also, is there a way to make this watch a higher level folder and automatically set the TV show metadata name with the folder name?</description>
		<content:encoded><![CDATA[<p>Grr, I&#8217;m so close to getting this to work, but I&#8217;m getting an error in the applescript with the line:</p>
<blockquote><p>
tell application &#8220;VisualHub&#8221; to set VisualHub to load script (scripts path of main bundle &amp; &#8220;/automation.scpt&#8221; as POSIX file)
</p></blockquote>
<p>The AppleScript error occurs at &#8220;bundle&#8221;, and I get &#8220;Syntax error: Expected &#8220;,&#8221; but found identifier&#8221;.</p>
<p>Any ideas?  Also, is there a way to make this watch a higher level folder and automatically set the TV show metadata name with the folder name?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fun with Automator by Nathan</title>
		<link>http://professafresh.wordpress.com/2007/10/18/fun-with-automator/#comment-333</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Sat, 01 Dec 2007 00:19:38 +0000</pubDate>
		<guid isPermaLink="false">http://professafresh.wordpress.com/2007/10/18/fun-with-automator/#comment-333</guid>
		<description>Hey, have you looked at maybe using TVShows (http://tvshows.sourceforge.net/) in this setup? You could probably throw out the NetNewsWire and TVRss bits all together!

My setup at the moment uses TVShows and Transmission, so my shows automatically download to my Downloads folder. But, seeing as i&#039;m probably going to be getting a iPhone pretty soon, i&#039;m gonna add the VisualHub transcoding stuff to my setup.

Also, is there not a better way to do the meta-data stuff? Maybe setup a smart playlist with shows added in the last 24 hours that syncs to your iPod?</description>
		<content:encoded><![CDATA[<p>Hey, have you looked at maybe using TVShows (<a href="http://tvshows.sourceforge.net/" rel="nofollow">http://tvshows.sourceforge.net/</a>) in this setup? You could probably throw out the NetNewsWire and TVRss bits all together!</p>
<p>My setup at the moment uses TVShows and Transmission, so my shows automatically download to my Downloads folder. But, seeing as i&#8217;m probably going to be getting a iPhone pretty soon, i&#8217;m gonna add the VisualHub transcoding stuff to my setup.</p>
<p>Also, is there not a better way to do the meta-data stuff? Maybe setup a smart playlist with shows added in the last 24 hours that syncs to your iPod?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fun with Automator by Nic</title>
		<link>http://professafresh.wordpress.com/2007/10/18/fun-with-automator/#comment-314</link>
		<dc:creator>Nic</dc:creator>
		<pubDate>Sat, 17 Nov 2007 16:30:57 +0000</pubDate>
		<guid isPermaLink="false">http://professafresh.wordpress.com/2007/10/18/fun-with-automator/#comment-314</guid>
		<description>It appears that the problem (at least for me) is in the Shell Script part. It won&#039;t actually change the tags for me - Just adds it as a Movie file with original name.

Great work so far though!

Any ideas?
Cheers.</description>
		<content:encoded><![CDATA[<p>It appears that the problem (at least for me) is in the Shell Script part. It won&#8217;t actually change the tags for me &#8211; Just adds it as a Movie file with original name.</p>
<p>Great work so far though!</p>
<p>Any ideas?<br />
Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fun with Automator by josephbphillips</title>
		<link>http://professafresh.wordpress.com/2007/10/18/fun-with-automator/#comment-302</link>
		<dc:creator>josephbphillips</dc:creator>
		<pubDate>Mon, 12 Nov 2007 01:58:03 +0000</pubDate>
		<guid isPermaLink="false">http://professafresh.wordpress.com/2007/10/18/fun-with-automator/#comment-302</guid>
		<description>I think I am on the right track now! I cobbled together a script that will add metadata to all of the files in a user-created smart playlist. I set up folder rules to monitor my download folder and open video files with the &quot;fooler&quot; script, and then use a separate script to add the resulting file to iTunes. Lastly, i run an instance of this script for each show I regularly download. I know there is a better way to roll this in to a single script with if statements, but baby steps. I hope it is helpful:

--Before running, create a smart playlist using the &quot;name contains&quot; variable to select the appropriate files.  This example presumes you have set a smart folder named &quot;Sample Show Name&quot;.  It will edit all of the metadata for the shows in this smart playlist as set below.  Thanks to allenhuffman on macosxhints.com for the script that I modified to achieve this.
tell application &quot;iTunes&quot;
	
	set smartPlaylists to (get every user playlist whose smart is true and name contains &quot;Sample Show Name&quot;)
	repeat with thisPlaylist in smartPlaylists
		set allTracks to every track of thisPlaylist
		repeat with this_track in allTracks
			try
				set video kind of this_track to TV show
				set show of this_track to &quot;Sample Show Name&quot;
				set season number of this_track to &quot;1&quot;
			on error
				display dialog &quot;Failed to add Metadata&quot;
			end try
		end repeat
	end repeat
	
end tell
----end---</description>
		<content:encoded><![CDATA[<p>I think I am on the right track now! I cobbled together a script that will add metadata to all of the files in a user-created smart playlist. I set up folder rules to monitor my download folder and open video files with the &#8220;fooler&#8221; script, and then use a separate script to add the resulting file to iTunes. Lastly, i run an instance of this script for each show I regularly download. I know there is a better way to roll this in to a single script with if statements, but baby steps. I hope it is helpful:</p>
<p>&#8211;Before running, create a smart playlist using the &#8220;name contains&#8221; variable to select the appropriate files.  This example presumes you have set a smart folder named &#8220;Sample Show Name&#8221;.  It will edit all of the metadata for the shows in this smart playlist as set below.  Thanks to allenhuffman on macosxhints.com for the script that I modified to achieve this.<br />
tell application &#8220;iTunes&#8221;</p>
<p>	set smartPlaylists to (get every user playlist whose smart is true and name contains &#8220;Sample Show Name&#8221;)<br />
	repeat with thisPlaylist in smartPlaylists<br />
		set allTracks to every track of thisPlaylist<br />
		repeat with this_track in allTracks<br />
			try<br />
				set video kind of this_track to TV show<br />
				set show of this_track to &#8220;Sample Show Name&#8221;<br />
				set season number of this_track to &#8220;1&#8243;<br />
			on error<br />
				display dialog &#8220;Failed to add Metadata&#8221;<br />
			end try<br />
		end repeat<br />
	end repeat</p>
<p>end tell<br />
&#8212;-end&#8212;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fun with Automator by professafresh</title>
		<link>http://professafresh.wordpress.com/2007/10/18/fun-with-automator/#comment-299</link>
		<dc:creator>professafresh</dc:creator>
		<pubDate>Sun, 11 Nov 2007 03:21:24 +0000</pubDate>
		<guid isPermaLink="false">http://professafresh.wordpress.com/2007/10/18/fun-with-automator/#comment-299</guid>
		<description>Oooh, awesome, I&#039;ll have to play with that and see what happens.  Thanks for the heads-up.

I know already that since there&#039;s no M68K version of Perian for the iPhone, it might get interesting from there...</description>
		<content:encoded><![CDATA[<p>Oooh, awesome, I&#8217;ll have to play with that and see what happens.  Thanks for the heads-up.</p>
<p>I know already that since there&#8217;s no M68K version of Perian for the iPhone, it might get interesting from there&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fun with Automator by josephbphillips</title>
		<link>http://professafresh.wordpress.com/2007/10/18/fun-with-automator/#comment-297</link>
		<dc:creator>josephbphillips</dc:creator>
		<pubDate>Sat, 10 Nov 2007 23:03:38 +0000</pubDate>
		<guid isPermaLink="false">http://professafresh.wordpress.com/2007/10/18/fun-with-automator/#comment-297</guid>
		<description>Ok, I am trying to go another direction to simplify things.  Rather than converting, I am trying to use &quot;apple tv fooler&quot; (http://wiki.awkwardtv.org/wiki/Talk:How_to_get_iTunes_to_sync_other_video_formats_to_Apple_TV).  

If you installed Perian on your apple tv through the Patchstick or through the ATVLoader, your apple tv can play other formats, but it won&#039;t sync them.  The fooler works by appending a little clip to the front of a movie that is in the format Apple TV expects.  That way, even though the bulk of the file is an unconverted AVI, it has a MOV extension and is imported to iTunes and synced to apple tv the same as a file that has been converted with VH.  

This simplifies the entire process, reduces the processing time dramatically, and preserves the picture quality of the original file.  The only downside is that the new file is not able to be manipulated with atomic parsley as this is not a true mp4 file.

Doug&#039;s Applescript for Set Video of Kind does, however, allow you to set metadata on these files.  That means that I need to figure out how to use applescript to add metadata in the same way he does.  The end result will be a smaller, higher quality file with the same meta data- and it is handled in exactly the same way by iTunes and Apple TV.  This also eliminates the issue of trying to add a new file to the batch while VH is running, as the conversion time is seconds and can, I believe, run with concurrent sessions.

So as it stands, my new workflow is 1. Run as folder script on all .avi files in my &quot;downloads&quot; folder 2. run script &quot;apple tv fooler&quot; 3. ???? 4. Run Script &quot;add to itunes&quot;.  I just need to figure out that step 3 syntax to add meta data.  The answer may be that it is actually done after the import to itunes- I&#039;m not sure yet.  

The syntax for adding the meta data seems to be something like 
on open fileList
	tell application &quot;iTunes&quot;
		set video kind to TV show
	end tell
end open

Any ideas?

Hope this is helpful to you!!</description>
		<content:encoded><![CDATA[<p>Ok, I am trying to go another direction to simplify things.  Rather than converting, I am trying to use &#8220;apple tv fooler&#8221; (<a href="http://wiki.awkwardtv.org/wiki/Talk:How_to_get_iTunes_to_sync_other_video_formats_to_Apple_TV)" rel="nofollow">http://wiki.awkwardtv.org/wiki/Talk:How_to_get_iTunes_to_sync_other_video_formats_to_Apple_TV)</a>.  </p>
<p>If you installed Perian on your apple tv through the Patchstick or through the ATVLoader, your apple tv can play other formats, but it won&#8217;t sync them.  The fooler works by appending a little clip to the front of a movie that is in the format Apple TV expects.  That way, even though the bulk of the file is an unconverted AVI, it has a MOV extension and is imported to iTunes and synced to apple tv the same as a file that has been converted with VH.  </p>
<p>This simplifies the entire process, reduces the processing time dramatically, and preserves the picture quality of the original file.  The only downside is that the new file is not able to be manipulated with atomic parsley as this is not a true mp4 file.</p>
<p>Doug&#8217;s Applescript for Set Video of Kind does, however, allow you to set metadata on these files.  That means that I need to figure out how to use applescript to add metadata in the same way he does.  The end result will be a smaller, higher quality file with the same meta data- and it is handled in exactly the same way by iTunes and Apple TV.  This also eliminates the issue of trying to add a new file to the batch while VH is running, as the conversion time is seconds and can, I believe, run with concurrent sessions.</p>
<p>So as it stands, my new workflow is 1. Run as folder script on all .avi files in my &#8220;downloads&#8221; folder 2. run script &#8220;apple tv fooler&#8221; 3. ???? 4. Run Script &#8220;add to itunes&#8221;.  I just need to figure out that step 3 syntax to add meta data.  The answer may be that it is actually done after the import to itunes- I&#8217;m not sure yet.  </p>
<p>The syntax for adding the meta data seems to be something like<br />
on open fileList<br />
	tell application &#8220;iTunes&#8221;<br />
		set video kind to TV show<br />
	end tell<br />
end open</p>
<p>Any ideas?</p>
<p>Hope this is helpful to you!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
