<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>iRiver H320 &#8211; Harry Jackson</title>
	<atom:link href="http://127.0.0.1:8090/tag/iriver-h320/feed" rel="self" type="application/rss+xml" />
	<link>http://127.0.0.1:8090</link>
	<description>Parent, Painter, Programmer</description>
	<lastBuildDate>Mon, 27 Dec 2004 00:05:12 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>iRiver Playlist Error</title>
		<link>http://127.0.0.1:8090/iriver_playlist_error.htm</link>
					<comments>http://127.0.0.1:8090/iriver_playlist_error.htm#respond</comments>
		
		<dc:creator><![CDATA[harry]]></dc:creator>
		<pubDate>Mon, 27 Dec 2004 00:05:12 +0000</pubDate>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[iRiver H320]]></category>
		<guid isPermaLink="false">http://www.hjackson.org/wp/?p=235</guid>

					<description><![CDATA[I tried to make up a few playlists today for my H320 iRiver. I am using vim to make them not an application and this had me stumped for a while. Then I realised that the iRiver expects a DOS formatted file. Basically Linux text files use &#8220;\n&#8221; for a newline and MS windows uses &#8230; <p class="link-more"><a href="http://127.0.0.1:8090/iriver_playlist_error.htm" class="more-link">Continue reading<span class="screen-reader-text"> "iRiver Playlist Error"</span></a></p>]]></description>
										<content:encoded><![CDATA[<p>I tried to make up a few playlists today for my H320 iRiver. I am using vim to make them not an application and this had me stumped for a while.<span class="mt-enclosure mt-enclosure-image"><a href="http://www.hjackson.org/blog/iRiver_h320.jpg"><img fetchpriority="high" decoding="async" alt="iRiver_h320.jpg" src="http://www.hjackson.org/blog/iRiver_h320-thumb-250x250.jpg" width="250" height="250" class="mt-image-right" style="float: right;margin: 0 0 20px 20px" /></a></span><br />
Then I realised that the iRiver expects a DOS formatted file. Basically Linux text files use &#8220;\n&#8221; for a newline and MS windows uses &#8220;\r\n&#8221;. To get it to work I had to save the file as a dos file. This can be done in vim as follows.<br />
:set fileformat=dos<br />
For those that don&#8217;t like vim then a Perl one liner will do the same thing.<br />
perl -i.bak -pe &#8216;s/(?&lt;!\r)\n/\r\n/g;&#8217; *.m3u<br />
It is safe to run this on a file that has already been converted to the msdos format. It also creates a backup file in case anything goes horribly wrong.<br />
So a simple example of an m3u playlist is as follows:</p>
<blockquote><p>
#EXTM3U<br />
\cypress_hill\a_to_the_k.ogg
</p></blockquote>
<p>Of course the &#8220;\r\n&#8221; is not visible but its there <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /> The example m3u file above is in the ROOT directory of the mp3 player. Remember that on the H320 and probably on the other iRiver makes as well you need to use the A-B button to view your playlist when the player has stopped.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://127.0.0.1:8090/iriver_playlist_error.htm/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
