<?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: Using Amarok Generated Playlists (m3u) on Sansa Clip</title>
	<atom:link href="http://www.guyrutenberg.com/2009/07/11/using-amarok-generated-playlists-m3u-on-sansa-clip/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.guyrutenberg.com/2009/07/11/using-amarok-generated-playlists-m3u-on-sansa-clip/</link>
	<description>Keeping track of what I do</description>
	<lastBuildDate>Tue, 07 Feb 2012 23:33:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Tommy Stanton</title>
		<link>http://www.guyrutenberg.com/2009/07/11/using-amarok-generated-playlists-m3u-on-sansa-clip/comment-page-1/#comment-57999</link>
		<dc:creator>Tommy Stanton</dc:creator>
		<pubDate>Sat, 08 Jan 2011 06:19:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/?p=405#comment-57999</guid>
		<description>Excellent post, thanks for the helpful tip!

Related to what Junior suggested, I used your idea and created a shell function.  I put these lines in my ~/.bashrc:

sansa-m3u () {
    sed &#039;s&#124;^\./&#124;&#124;;s&#124;/&#124;\\&#124;g&#039; -i&#039;&#039; &quot;$@&quot;
}

Then (after using &quot;. ~/.bashrc&quot; to source it) all I had to do was:
$ sansa-m3u *.m3u

...before deploying the playlists to my Sansa.

-Tommy</description>
		<content:encoded><![CDATA[<p>Excellent post, thanks for the helpful tip!</p>
<p>Related to what Junior suggested, I used your idea and created a shell function.  I put these lines in my ~/.bashrc:</p>
<p>sansa-m3u () {<br />
    sed &#8216;s|^\./||;s|/|\\|g&#8217; -i&#8221; &#8220;$@&#8221;<br />
}</p>
<p>Then (after using &#8220;. ~/.bashrc&#8221; to source it) all I had to do was:<br />
$ sansa-m3u *.m3u</p>
<p>&#8230;before deploying the playlists to my Sansa.</p>
<p>-Tommy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dazed</title>
		<link>http://www.guyrutenberg.com/2009/07/11/using-amarok-generated-playlists-m3u-on-sansa-clip/comment-page-1/#comment-26998</link>
		<dc:creator>Dazed</dc:creator>
		<pubDate>Fri, 01 Jan 2010 23:27:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/?p=405#comment-26998</guid>
		<description>Man, you are awesome. Thanks. A lot. I stored that one liner as &quot;sansatize&quot; in my bash.rc-

Makes life a lot easier.</description>
		<content:encoded><![CDATA[<p>Man, you are awesome. Thanks. A lot. I stored that one liner as &#8220;sansatize&#8221; in my bash.rc-</p>
<p>Makes life a lot easier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Junior</title>
		<link>http://www.guyrutenberg.com/2009/07/11/using-amarok-generated-playlists-m3u-on-sansa-clip/comment-page-1/#comment-24942</link>
		<dc:creator>Junior</dc:creator>
		<pubDate>Thu, 05 Nov 2009 01:12:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/?p=405#comment-24942</guid>
		<description>Sed dosen&#039;t need to use &quot;/&quot; for seperation. I believe any character will work.  So especially when the pattern or replacemnt involves a &quot;/&quot;, it&#039;s sensible to use something else. I use a &quot;-&quot;.  The &quot;\&quot; still need so be escaped though. Just makes it easier to read.
sed  &#039;s-^./--;s-/-\\-g&#039;

I also had to add a line with 
#EXTM3U 
to the beginning of the playlist.  Or maybe that wasn&#039;t from Amarok... Anyway, I sure like my Clip with it&#039;s good sound and ability to play ogg and flac files!</description>
		<content:encoded><![CDATA[<p>Sed dosen&#8217;t need to use &#8220;/&#8221; for seperation. I believe any character will work.  So especially when the pattern or replacemnt involves a &#8220;/&#8221;, it&#8217;s sensible to use something else. I use a &#8220;-&#8221;.  The &#8220;\&#8221; still need so be escaped though. Just makes it easier to read.<br />
sed  &#8216;s-^./&#8211;;s-/-\\-g&#8217;</p>
<p>I also had to add a line with<br />
#EXTM3U<br />
to the beginning of the playlist.  Or maybe that wasn&#8217;t from Amarok&#8230; Anyway, I sure like my Clip with it&#8217;s good sound and ability to play ogg and flac files!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.236 seconds -->

