<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://archivedforum.beoworld.org:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Beo-Mac</title><link>https://archivedforum.beoworld.org:443/forums/27.aspx</link><description>Through the Beo-Mac Forum the goal is to pursue the seamless integration of the two worlds of Bang &amp; Olufsen and that of the Mac PC - eventually creating whole-house integration of Sound and Vision.</description><dc:language>en</dc:language><generator>CommunityServer 2008 SP2 (Build: 31104.93)</generator><item><title>Re: Command line interface for iTunes/N.MUSIC</title><link>https://archivedforum.beoworld.org:443/forums/thread/346426.aspx</link><pubDate>Wed, 16 Nov 2011 14:03:29 GMT</pubDate><guid isPermaLink="false">41a2a90c-3a1e-4bd3-b144-3883695a7f38:346426</guid><dc:creator>Evan</dc:creator><slash:comments>0</slash:comments><comments>https://archivedforum.beoworld.org:443/forums/thread/346426.aspx</comments><wfw:commentRss>https://archivedforum.beoworld.org:443/forums/commentrss.aspx?SectionID=27&amp;PostID=346426</wfw:commentRss><description>&lt;p&gt;Very cool!&lt;/p&gt;
&lt;p&gt;Back in one of my programming classes last&amp;nbsp;year I made an interface that used these scripts (PC version) for a touchscreen monitor to control iTunes. &lt;/p&gt;
&lt;p&gt;I did not know there was this sort of capability though!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Command line interface for iTunes/N.MUSIC</title><link>https://archivedforum.beoworld.org:443/forums/thread/346283.aspx</link><pubDate>Tue, 15 Nov 2011 15:38:21 GMT</pubDate><guid isPermaLink="false">41a2a90c-3a1e-4bd3-b144-3883695a7f38:346283</guid><dc:creator>psand</dc:creator><slash:comments>0</slash:comments><comments>https://archivedforum.beoworld.org:443/forums/thread/346283.aspx</comments><wfw:commentRss>https://archivedforum.beoworld.org:443/forums/commentrss.aspx?SectionID=27&amp;PostID=346283</wfw:commentRss><description>&lt;p&gt;A few days ago I discovered an old Unix shell script for basic command line control of iTunes via AppleScript. It was written in 2001 but, amazingly, it still works with the current iTunes version. The original script can be found &lt;a href="http://hints.macworld.com/article.php?story=20011108211802830"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Trying to avoid more useful work, I hacked away on this script and produced something which could be marginally useful. I have a Mac Mini server providing N.MUSIC through the BM-Link software, and navigating this music collection with a Beo4 in a link room can be a frustrating experience. Now I imagined myself logging in to the Mac Mini with ssh, controlling iTunes from my iPhone instead (using the excellent Prompt app).&lt;/p&gt;
&lt;p&gt;Oh, well &amp;ndash; and then yesterday I suddenly discovered Apple&amp;#39;s free Remote app. So the need for a complicated CLI interface isn&amp;#39;t really there anymore. However, my little script can do at least one thing that the Remote app can&amp;#39;t do on an iPhone: display lyrics for a track. I can imagine a few esoteric uses for it as well (like when you are sitting in front of your vintage Sun-3/60 workstation in a link room and don&amp;#39;t have an iPhone nearby).&lt;/p&gt;
&lt;p&gt;Here are a couple of screenshots from my iPhone to give you the idea. First, the options:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://idisk.mac.com/psand-Public/itunes-cli-help.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;And then this is what it looks like when queried for the current N.MUSIC status:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://idisk.mac.com/psand-Public/itunes-cli-status.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;I tried to emulate the N.MUSIC display on my BeoCenter 2, with the addition of color hints for Beo4 operation of artist, genre, album and playlist selection.&lt;/p&gt;
&lt;p&gt;If anyone would like to try it out, the script can be downloaded at&amp;nbsp;&lt;a href="http://idisk.mac.com/psand-Public/itunes-cli.zip"&gt;http://idisk.mac.com/psand-Public/itunes-cli.zip&lt;/a&gt;. It&amp;#39;s a standard Unix Bourne shell script, using osascript to talk to iTunes with AppleScript commands and some inelegant AWK stuff thrown in to handle output formatting. Place it in /usr/local/bin (or anywhere else), make it executable (chmod 755) and run it from the terminal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>