<?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/"
		>
<channel>
	<title>Comments on: MOC Audio Player &#8212; advanced tricks</title>
	<atom:link href="http://polishlinux.org/apps/cli/moc-audio-player-advanced-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://polishlinux.org/apps/cli/moc-audio-player-advanced-tricks/</link>
	<description>All About GNU/Linux and BSD - reviews, comparisons, articles</description>
	<lastBuildDate>Sun, 13 May 2012 17:43:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: spyro</title>
		<link>http://polishlinux.org/apps/cli/moc-audio-player-advanced-tricks/#comment-152591</link>
		<dc:creator>spyro</dc:creator>
		<pubDate>Mon, 13 Sep 2010 21:47:27 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/apps/cli/moc-audio-player-advanced-tricks/#comment-152591</guid>
		<description>Being a new Linux-convert myself, I find this tutorial really helpful..just installed MOC in my PC and now enjoying this simple yet efficient program. I hope you continue writing tutorials/how-tos to help those like me who have just made the move to Linux..more power to you!!!</description>
		<content:encoded><![CDATA[<p>Being a new Linux-convert myself, I find this tutorial really helpful..just installed MOC in my PC and now enjoying this simple yet efficient program. I hope you continue writing tutorials/how-tos to help those like me who have just made the move to Linux..more power to you!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laptop Pugilist</title>
		<link>http://polishlinux.org/apps/cli/moc-audio-player-advanced-tricks/#comment-128035</link>
		<dc:creator>Laptop Pugilist</dc:creator>
		<pubDate>Tue, 17 Mar 2009 02:43:57 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/apps/cli/moc-audio-player-advanced-tricks/#comment-128035</guid>
		<description>Great article, mocp is just what I didn&#039;t know I was missing. Your scripts for conky are great too, though it&#039;s faster to just call mocp -i once:

#!/bin/sh

mocp -i &gt; mocpinfo

STATE=&quot;`cat /home/user/.moc/mocpinfo &#124; grep &#039;State:&#039; &#124; sed -e &#039;s/^.*: //&#039;`&quot;;
TITLE=&quot;`cat /home/user/.moc/mocpinfo &#124; grep -m 1 &#039;Title:&#039; &#124; sed -e &#039;s/^.*: //&#039;`&quot;;
if [ &quot;$STATE&quot; = &quot;STOP&quot; ]; then echo â€žMOCâ€;
elif [ &quot;$TITLE&quot; = &quot;&quot; ]; then
  FILE=&quot;`cat /home/user/mocpinfo &#124; grep &#039;File:&#039; &#124; sed -e &#039;s/^.*: //&#039;`&quot;;
  echo &quot;  $FILE  &quot;;
else echo &quot;  $TITLE  &quot;;
fi

The speedup isn&#039;t amazing unles (like I) you are also making a bar and paused/stopped indicator out of the same data. Those two scripts became three times as fast. As an added bonus it makes top look much neater!</description>
		<content:encoded><![CDATA[<p>Great article, mocp is just what I didn&#8217;t know I was missing. Your scripts for conky are great too, though it&#8217;s faster to just call mocp -i once:</p>
<p>#!/bin/sh</p>
<p>mocp -i &gt; mocpinfo</p>
<p>STATE=&#8221;`cat /home/user/.moc/mocpinfo | grep &#8216;State:&#8217; | sed -e &#8216;s/^.*: //&#8217;`&#8221;;<br />
TITLE=&#8221;`cat /home/user/.moc/mocpinfo | grep -m 1 &#8216;Title:&#8217; | sed -e &#8216;s/^.*: //&#8217;`&#8221;;<br />
if [ "$STATE" = "STOP" ]; then echo â€žMOCâ€;<br />
elif [ "$TITLE" = "" ]; then<br />
  FILE=&#8221;`cat /home/user/mocpinfo | grep &#8216;File:&#8217; | sed -e &#8216;s/^.*: //&#8217;`&#8221;;<br />
  echo &#8221;  $FILE  &#8220;;<br />
else echo &#8221;  $TITLE  &#8220;;<br />
fi</p>
<p>The speedup isn&#8217;t amazing unles (like I) you are also making a bar and paused/stopped indicator out of the same data. Those two scripts became three times as fast. As an added bonus it makes top look much neater!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LETRA</title>
		<link>http://polishlinux.org/apps/cli/moc-audio-player-advanced-tricks/#comment-126361</link>
		<dc:creator>LETRA</dc:creator>
		<pubDate>Sat, 15 Nov 2008 20:08:15 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/apps/cli/moc-audio-player-advanced-tricks/#comment-126361</guid>
		<description>Good article, moc is my first music player option since three years. Thanks from Spain. Greets.</description>
		<content:encoded><![CDATA[<p>Good article, moc is my first music player option since three years. Thanks from Spain. Greets.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allison</title>
		<link>http://polishlinux.org/apps/cli/moc-audio-player-advanced-tricks/#comment-121421</link>
		<dc:creator>Allison</dc:creator>
		<pubDate>Fri, 16 May 2008 07:08:23 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/apps/cli/moc-audio-player-advanced-tricks/#comment-121421</guid>
		<description>Wonderful article. I use both Moc and Mpd. Even though Moc is my primary music player, My roomy loves Mpd + Sonata. I share my computer with her so it&#039;s kind of give and take. Both are very cool music players!

For some time I&#039;ve been trying to get a conky execibar to display a songs length correctly. I don&#039;t know much about scripting, but I can sure botch up a script a perectly good script with some fiddling! How would you add that fuction to your script above?</description>
		<content:encoded><![CDATA[<p>Wonderful article. I use both Moc and Mpd. Even though Moc is my primary music player, My roomy loves Mpd + Sonata. I share my computer with her so it&#8217;s kind of give and take. Both are very cool music players!</p>
<p>For some time I&#8217;ve been trying to get a conky execibar to display a songs length correctly. I don&#8217;t know much about scripting, but I can sure botch up a script a perectly good script with some fiddling! How would you add that fuction to your script above?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: finferflu</title>
		<link>http://polishlinux.org/apps/cli/moc-audio-player-advanced-tricks/#comment-95152</link>
		<dc:creator>finferflu</dc:creator>
		<pubDate>Mon, 24 Dec 2007 16:48:54 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/apps/cli/moc-audio-player-advanced-tricks/#comment-95152</guid>
		<description>@ Ravi S. Ghosh
While your argument is valid, I don&#039;t think MPD is that heavy on resources, not even noticeable.

@ tash
I use MPD to play files straight from my HD. MPD can play both locally and remotely. 

I personally like MPD a lot, but I&#039;m not completely satisfied by the MPD clients. I only wish MOC had support for MPD.</description>
		<content:encoded><![CDATA[<p>@ Ravi S. Ghosh<br />
While your argument is valid, I don&#8217;t think MPD is that heavy on resources, not even noticeable.</p>
<p>@ tash<br />
I use MPD to play files straight from my HD. MPD can play both locally and remotely. </p>
<p>I personally like MPD a lot, but I&#8217;m not completely satisfied by the MPD clients. I only wish MOC had support for MPD.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tash</title>
		<link>http://polishlinux.org/apps/cli/moc-audio-player-advanced-tricks/#comment-73330</link>
		<dc:creator>tash</dc:creator>
		<pubDate>Tue, 30 Oct 2007 14:26:27 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/apps/cli/moc-audio-player-advanced-tricks/#comment-73330</guid>
		<description>i used to use mpd but switched to moc b. it more fits my needs, i&#039;m not playing remotely and moc can play files straight from my hd which mpd cant.</description>
		<content:encoded><![CDATA[<p>i used to use mpd but switched to moc b. it more fits my needs, i&#8217;m not playing remotely and moc can play files straight from my hd which mpd cant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravi S Ghosh</title>
		<link>http://polishlinux.org/apps/cli/moc-audio-player-advanced-tricks/#comment-49025</link>
		<dc:creator>Ravi S Ghosh</dc:creator>
		<pubDate>Sat, 11 Aug 2007 00:08:04 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/apps/cli/moc-audio-player-advanced-tricks/#comment-49025</guid>
		<description>Moc is better than mpd in my opinion since, mpd keeps on running all the time draining the processor even when it is not required.</description>
		<content:encoded><![CDATA[<p>Moc is better than mpd in my opinion since, mpd keeps on running all the time draining the processor even when it is not required.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pedro-kun</title>
		<link>http://polishlinux.org/apps/cli/moc-audio-player-advanced-tricks/#comment-47152</link>
		<dc:creator>pedro-kun</dc:creator>
		<pubDate>Fri, 03 Aug 2007 10:29:51 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/apps/cli/moc-audio-player-advanced-tricks/#comment-47152</guid>
		<description>Excelent article, indeed :)

I&#039;m not gonna use moc, but i do use mpd all the time, which is pretty much the same thing, with some database capabilities.

I highly recomend this tutorial for everyone :)</description>
		<content:encoded><![CDATA[<p>Excelent article, indeed <img src='http://polishlinux.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;m not gonna use moc, but i do use mpd all the time, which is pretty much the same thing, with some database capabilities.</p>
<p>I highly recomend this tutorial for everyone <img src='http://polishlinux.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

