<?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: SharpMusique 1.0</title>
	<atom:link href="http://nanocr.eu/2005/09/17/sharpmusique-10/feed/" rel="self" type="application/rss+xml" />
	<link>http://nanocr.eu/2005/09/17/sharpmusique-10/</link>
	<description>Jon Lech Johansen’s blog</description>
	<lastBuildDate>Fri, 12 Jun 2009 05:59:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Peter Davoust</title>
		<link>http://nanocr.eu/2005/09/17/sharpmusique-10/comment-page-2/#comment-231</link>
		<dc:creator>Peter Davoust</dc:creator>
		<pubDate>Sat, 15 Jul 2006 17:21:48 +0000</pubDate>
		<guid isPermaLink="false">http://nanocr.eu/2005/09/17/sharpmusique-10/#comment-231</guid>
		<description>Yeah, iTunes definately just updated. Any way to fix that?</description>
		<content:encoded><![CDATA[<p>Yeah, iTunes definately just updated. Any way to fix that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dandapani</title>
		<link>http://nanocr.eu/2005/09/17/sharpmusique-10/comment-page-2/#comment-228</link>
		<dc:creator>Dandapani</dc:creator>
		<pubDate>Mon, 22 May 2006 19:50:34 +0000</pubDate>
		<guid isPermaLink="false">http://nanocr.eu/2005/09/17/sharpmusique-10/#comment-228</guid>
		<description>Ooops. Looks like the blog code is joining the double dashes into a single long dash....

Single dash = &quot;-&quot;
Double dashes = &quot;--&quot;

So I guess his code is golden after all.  Thanks, again!</description>
		<content:encoded><![CDATA[<p>Ooops. Looks like the blog code is joining the double dashes into a single long dash&#8230;.</p>
<p>Single dash = &#8220;-&#8221;<br />
Double dashes = &#8220;&#8211;&#8221;</p>
<p>So I guess his code is golden after all.  Thanks, again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dandapani</title>
		<link>http://nanocr.eu/2005/09/17/sharpmusique-10/comment-page-2/#comment-227</link>
		<dc:creator>Dandapani</dc:creator>
		<pubDate>Mon, 22 May 2006 19:48:30 +0000</pubDate>
		<guid isPermaLink="false">http://nanocr.eu/2005/09/17/sharpmusique-10/#comment-227</guid>
		<description>Thanks to Joshua for fixing it.  But his changed line in VLC.cs has typos. Should be:

Error err = VLC_Init( iVLC, 4, new string[] { “vlc”, “–quiet”, “–aout”, “oss”} );

Double dashes, not single.</description>
		<content:encoded><![CDATA[<p>Thanks to Joshua for fixing it.  But his changed line in VLC.cs has typos. Should be:</p>
<p>Error err = VLC_Init( iVLC, 4, new string[] { “vlc”, “–quiet”, “–aout”, “oss”} );</p>
<p>Double dashes, not single.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed Swierk</title>
		<link>http://nanocr.eu/2005/09/17/sharpmusique-10/comment-page-2/#comment-225</link>
		<dc:creator>Ed Swierk</dc:creator>
		<pubDate>Thu, 18 May 2006 21:30:15 +0000</pubDate>
		<guid isPermaLink="false">http://nanocr.eu/2005/09/17/sharpmusique-10/#comment-225</guid>
		<description>I&#039;ve posted an rpm for FC5 (i386) at http://www-cs-students.stanford.edu/~eswierk/misc/packages/fc5/sharpmusique-1.0-eswierk.1.i386.rpm. Use yum localinstall to grab dependent packages automatically when you install sharpmusique.

The source rpm is at http://www-cs-students.stanford.edu/~eswierk/misc/packages/fc5/sharpmusique-1.0-eswierk.1.src.rpm.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve posted an rpm for FC5 (i386) at <a href="http://www-cs-students.stanford.edu/~eswierk/misc/packages/fc5/sharpmusique-1.0-eswierk.1.i386.rpm" rel="nofollow">http://www-cs-students.stanford.edu/~eswierk/misc/packages/fc5/sharpmusique-1.0-eswierk.1.i386.rpm</a>. Use yum localinstall to grab dependent packages automatically when you install sharpmusique.</p>
<p>The source rpm is at <a href="http://www-cs-students.stanford.edu/~eswierk/misc/packages/fc5/sharpmusique-1.0-eswierk.1.src.rpm" rel="nofollow">http://www-cs-students.stanford.edu/~eswierk/misc/packages/fc5/sharpmusique-1.0-eswierk.1.src.rpm</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://nanocr.eu/2005/09/17/sharpmusique-10/comment-page-2/#comment-226</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Tue, 16 May 2006 23:25:44 +0000</pubDate>
		<guid isPermaLink="false">http://nanocr.eu/2005/09/17/sharpmusique-10/#comment-226</guid>
		<description>Unofficial 1.0 version now gives the message that you must have a newer version of iTunes to purchase. :(</description>
		<content:encoded><![CDATA[<p>Unofficial 1.0 version now gives the message that you must have a newer version of iTunes to purchase. <img src='http://nanocr.eu/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://nanocr.eu/2005/09/17/sharpmusique-10/comment-page-2/#comment-224</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Sat, 06 May 2006 18:59:01 +0000</pubDate>
		<guid isPermaLink="false">http://nanocr.eu/2005/09/17/sharpmusique-10/#comment-224</guid>
		<description>SM 1.0 was working last week, but as of this morning I get a &quot;Purchase Failed, need new version of Mac OS&quot; error.
Any ideas?</description>
		<content:encoded><![CDATA[<p>SM 1.0 was working last week, but as of this morning I get a &#8220;Purchase Failed, need new version of Mac OS&#8221; error.<br />
Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua</title>
		<link>http://nanocr.eu/2005/09/17/sharpmusique-10/comment-page-2/#comment-223</link>
		<dc:creator>Joshua</dc:creator>
		<pubDate>Mon, 24 Apr 2006 20:01:27 +0000</pubDate>
		<guid isPermaLink="false">http://nanocr.eu/2005/09/17/sharpmusique-10/#comment-223</guid>
		<description>About the &quot;Manifest&quot; Error - set Internet  Explorer as standard browser and it&#039;ll work :-(

(reset to Firefox et al. later:-) )</description>
		<content:encoded><![CDATA[<p>About the &#8220;Manifest&#8221; Error &#8211; set Internet  Explorer as standard browser and it&#8217;ll work <img src='http://nanocr.eu/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>(reset to Firefox et al. later:-) )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jared</title>
		<link>http://nanocr.eu/2005/09/17/sharpmusique-10/comment-page-2/#comment-222</link>
		<dc:creator>Jared</dc:creator>
		<pubDate>Sat, 22 Apr 2006 07:08:54 +0000</pubDate>
		<guid isPermaLink="false">http://nanocr.eu/2005/09/17/sharpmusique-10/#comment-222</guid>
		<description>I managed to fix the problems with libvlc and song previews occuring in Fedora Core 5.  The problem (for me anyway) had two parts.  The first had to do with the SELinux security context on the libvlc shared object.  To fix this run:
    sudo chcon -t texrel_shlib_t /usr/local/lib/sharpmusique/libvlc.so

The second problem I had after fixing the security context was that Sharpmusique would crash with the following error when I tried to preview:
    pcm_plug.c:384: snd_pcm_plug_change_channels: Assertion `snd_pcm_format_linear(slv-&gt;format)&#039; failed.

This has something to do with incompatabilities between vlc and alsa.  The fix is to switch vlc to use the oss audio output framework instead of alsa.  This is done by modifying the VLC.cs source file for Sharpmusique.  It&#039;s a one line change on (in my version) line 132.  Change it from:
    Error err = VLC_Init( iVLC, 2, new string[] { &quot;vlc&quot;, &quot;--quiet&quot; } );
to:
    Error err = VLC_Init( iVLC, 4, new string[] { &quot;vlc&quot;, &quot;--quiet&quot;, &quot;--aout&quot;, &quot;oss&quot;} );
and recompile sharpmusique.

The downside to this fix is that oss is the old audio framework for linux and doesn&#039;t support software mixing.  That means sharpmusique will only be able to play the preview clips if you don&#039;t have any other applications which are using the soundcard.  So you  have to shut down your music player before using sharpmusique.  No the greatest solution, but I can preview songs again.</description>
		<content:encoded><![CDATA[<p>I managed to fix the problems with libvlc and song previews occuring in Fedora Core 5.  The problem (for me anyway) had two parts.  The first had to do with the SELinux security context on the libvlc shared object.  To fix this run:<br />
    sudo chcon -t texrel_shlib_t /usr/local/lib/sharpmusique/libvlc.so</p>
<p>The second problem I had after fixing the security context was that Sharpmusique would crash with the following error when I tried to preview:<br />
    pcm_plug.c:384: snd_pcm_plug_change_channels: Assertion `snd_pcm_format_linear(slv-&#38;gt;format)&#8217; failed.</p>
<p>This has something to do with incompatabilities between vlc and alsa.  The fix is to switch vlc to use the oss audio output framework instead of alsa.  This is done by modifying the VLC.cs source file for Sharpmusique.  It&#8217;s a one line change on (in my version) line 132.  Change it from:<br />
    Error err = VLC_Init( iVLC, 2, new string[] { &#8220;vlc&#8221;, &#8220;&#8211;quiet&#8221; } );<br />
to:<br />
    Error err = VLC_Init( iVLC, 4, new string[] { &#8220;vlc&#8221;, &#8220;&#8211;quiet&#8221;, &#8220;&#8211;aout&#8221;, &#8220;oss&#8221;} );<br />
and recompile sharpmusique.</p>
<p>The downside to this fix is that oss is the old audio framework for linux and doesn&#8217;t support software mixing.  That means sharpmusique will only be able to play the preview clips if you don&#8217;t have any other applications which are using the soundcard.  So you  have to shut down your music player before using sharpmusique.  No the greatest solution, but I can preview songs again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jared</title>
		<link>http://nanocr.eu/2005/09/17/sharpmusique-10/comment-page-2/#comment-221</link>
		<dc:creator>Jared</dc:creator>
		<pubDate>Fri, 21 Apr 2006 00:27:56 +0000</pubDate>
		<guid isPermaLink="false">http://nanocr.eu/2005/09/17/sharpmusique-10/#comment-221</guid>
		<description>I&#039;m having the same libvlc problems in Fedora Core 5 that were reported earlier.  The recompile on a clean directory with -fPIC and -fpic flags doesn&#039;t seem to have helped.  Anybody been able to make it work, or have other ideas?</description>
		<content:encoded><![CDATA[<p>I&#8217;m having the same libvlc problems in Fedora Core 5 that were reported earlier.  The recompile on a clean directory with -fPIC and -fpic flags doesn&#8217;t seem to have helped.  Anybody been able to make it work, or have other ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dandapani</title>
		<link>http://nanocr.eu/2005/09/17/sharpmusique-10/comment-page-2/#comment-220</link>
		<dc:creator>Dandapani</dc:creator>
		<pubDate>Thu, 20 Apr 2006 12:38:57 +0000</pubDate>
		<guid isPermaLink="false">http://nanocr.eu/2005/09/17/sharpmusique-10/#comment-220</guid>
		<description>I&#039;ve made some progress on figuring out the SharpMusique problem on Fedora Core 5.

I found how to turn debugging on in mono:

MONO_LOG_LEVEL=&quot;info&quot; /usr/local/bin/sharpmusique

(then I tried to preview an song...)

Mono-INFO: DllImport attempting to load: &#039;libvlc&#039;.
Mono-INFO: DllImport loading location: &#039;libvlc&#039;.
Mono-INFO: DllImport error loading library: &#039;/usr/local/lib/sharpmusique/libvlc.so: cannot restore segment prot after reloc: Permission denied&#039;.

and I get the &quot;libvlc&quot; popup error.

I found looking in http://bugzilla.redhat.com that they changed the SElinux permissions and some programs have problems like this.  Have to change the permissions on the shared library.

chcon -t textrel_shlib_t /usr/local/lib/sharp*/libvlc.so

This enables loading, but I get a different failure and mono dies.

mono: pcm_plug.c:384: snd_pcm_plug_change_channels: Assertion `snd_pcm_format_linear(slv-&gt;format)&#039; failed.
Abort

From what I can gather, SharpMusique uses VLC as its underlying player. And VLC doesn&#039;t play well with the new Linux ALSA sound package. There are workarounds for the VLC player, but SM only uses the library. I haven&#039;t found the knobs to turn yet to make it work.  I wonder if a later library would fix it up?  Anyone have any experience?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve made some progress on figuring out the SharpMusique problem on Fedora Core 5.</p>
<p>I found how to turn debugging on in mono:</p>
<p>MONO_LOG_LEVEL=&#8221;info&#8221; /usr/local/bin/sharpmusique</p>
<p>(then I tried to preview an song&#8230;)</p>
<p>Mono-INFO: DllImport attempting to load: &#8216;libvlc&#8217;.<br />
Mono-INFO: DllImport loading location: &#8216;libvlc&#8217;.<br />
Mono-INFO: DllImport error loading library: &#8216;/usr/local/lib/sharpmusique/libvlc.so: cannot restore segment prot after reloc: Permission denied&#8217;.</p>
<p>and I get the &#8220;libvlc&#8221; popup error.</p>
<p>I found looking in <a href="http://bugzilla.redhat.com" rel="nofollow">http://bugzilla.redhat.com</a> that they changed the SElinux permissions and some programs have problems like this.  Have to change the permissions on the shared library.</p>
<p>chcon -t textrel_shlib_t /usr/local/lib/sharp*/libvlc.so</p>
<p>This enables loading, but I get a different failure and mono dies.</p>
<p>mono: pcm_plug.c:384: snd_pcm_plug_change_channels: Assertion `snd_pcm_format_linear(slv-&#38;gt;format)&#8217; failed.<br />
Abort</p>
<p>From what I can gather, SharpMusique uses VLC as its underlying player. And VLC doesn&#8217;t play well with the new Linux ALSA sound package. There are workarounds for the VLC player, but SM only uses the library. I haven&#8217;t found the knobs to turn yet to make it work.  I wonder if a later library would fix it up?  Anyone have any experience?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
