<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.12-alpha" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: An AJAX Erlang Jukebox</title>
	<link>http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox</link>
	<description>What happens at LShift</description>
	<pubDate>Tue, 06 Jan 2009 22:28:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.12-alpha</generator>

	<item>
		<title>by: Paul Crowley</title>
		<link>http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox#comment-16214</link>
		<pubDate>Tue, 14 Nov 2006 09:42:20 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox#comment-16214</guid>
					<description>&lt;p&gt;A friend pointed out &lt;a href="http://www.musicpd.org/" rel="nofollow"&gt;Music Playing Daemon&lt;/a&gt; to me; it's the first thing I've found that makes it clear that it has similar goals to our jukebox software, ie a single playlist that's under the control of multiple users.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>A friend pointed out <a href="http://www.musicpd.org/" rel="nofollow">Music Playing Daemon</a> to me; it&#8217;s the first thing I&#8217;ve found that makes it clear that it has similar goals to our jukebox software, ie a single playlist that&#8217;s under the control of multiple users.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: tonyg</title>
		<link>http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox#comment-15647</link>
		<pubDate>Sat, 11 Nov 2006 13:57:18 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox#comment-15647</guid>
					<description>&lt;p&gt;Tobbe, thanks for the tip. I'm still getting to grips with the Erlang way of working - anyway, I've just found the guide to &lt;a href="http://www.erlang.se/doc/doc-5.5.2/doc/design_principles/applications.html#7.4" rel="nofollow"&gt;application directory structure&lt;/a&gt;, and I'll take your advice regarding &lt;code&gt;priv&lt;/code&gt;. I'll post again when I've committed the changes to darcs.&lt;/p&gt;

&lt;p&gt;Oh - there's a &lt;a href="http://www.lshift.net/~tonyg/erlang-jukebox/util/hmix-0.1.tar.gz" rel="nofollow"&gt;copy of the hmix source code&lt;/a&gt; in the &lt;code&gt;util/&lt;/code&gt; subdirectory.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Tobbe, thanks for the tip. I&#8217;m still getting to grips with the Erlang way of working - anyway, I&#8217;ve just found the guide to <a href="http://www.erlang.se/doc/doc-5.5.2/doc/design_principles/applications.html#7.4" rel="nofollow">application directory structure</a>, and I&#8217;ll take your advice regarding <code>priv</code>. I&#8217;ll post again when I&#8217;ve committed the changes to darcs.</p>
<p>Oh - there&#8217;s a <a href="http://www.lshift.net/~tonyg/erlang-jukebox/util/hmix-0.1.tar.gz" rel="nofollow">copy of the hmix source code</a> in the <code>util/</code> subdirectory.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Tobbe</title>
		<link>http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox#comment-15614</link>
		<pubDate>Sat, 11 Nov 2006 09:02:18 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox#comment-15614</guid>
					<description>&lt;p&gt;Also: Where do I find this 'hmix' program that volume.erl wants to use ? (I'm running Gentoo btw and it doesn't seem to exist among Gentoo's packages)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Also: Where do I find this &#8216;hmix&#8217; program that volume.erl wants to use ? (I&#8217;m running Gentoo btw and it doesn&#8217;t seem to exist among Gentoo&#8217;s packages)</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Tobbe</title>
		<link>http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox#comment-15610</link>
		<pubDate>Sat, 11 Nov 2006 08:57:40 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox#comment-15610</guid>
					<description>&lt;p&gt;Update: Found that I need to start Yaws in the same directory as the code. So now I don't get any errors in the log at least. Still doesn't work though. &lt;/p&gt;

&lt;p&gt;It could be a good idea to structure the code under src,ebin,priv directories. The execdaemon binary then goes into the priv directory. You can then locate it with code:priv_dir/1.
Example:&lt;/p&gt;

&lt;pre&gt;
# erl -pa `pwd`/erlang_jukebox
1&#62; l(spider).
{module,spider}
2&#62;  code:priv_dir(erlang_jukebox).
"/home/www/site/erlang_jukebox/priv"
&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>Update: Found that I need to start Yaws in the same directory as the code. So now I don&#8217;t get any errors in the log at least. Still doesn&#8217;t work though. </p>
<p>It could be a good idea to structure the code under src,ebin,priv directories. The execdaemon binary then goes into the priv directory. You can then locate it with code:priv_dir/1.<br />
Example:</p>
<pre>
# erl -pa `pwd`/erlang_jukebox
1&gt; l(spider).
{module,spider}
2&gt;  code:priv_dir(erlang_jukebox).
"/home/www/site/erlang_jukebox/priv"
</pre>
]]></content:encoded>
				</item>
	<item>
		<title>by: Henry</title>
		<link>http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox#comment-15602</link>
		<pubDate>Sat, 11 Nov 2006 08:08:11 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox#comment-15602</guid>
					<description>&lt;p&gt;Another cool AJAX jukebox is at http://www.streampad.com &lt;/p&gt;

&lt;p&gt;Seems a lot more advanced than this although certainly not as tiny!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Another cool AJAX jukebox is at http://www.streampad.com </p>
<p>Seems a lot more advanced than this although certainly not as tiny!</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: tonyg</title>
		<link>http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox#comment-15512</link>
		<pubDate>Fri, 10 Nov 2006 19:31:39 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox#comment-15512</guid>
					<description>&lt;p&gt;@Tobbe: yes, just enqueueing it ought to do the trick. It's very strange, the installation you have: it seems that some of the features are working, while others aren't. For instance, typing in a chat message causes the history list to update, but the timer-based history (and playlist) refresh seems to be broken. Weird.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Tobbe: yes, just enqueueing it ought to do the trick. It&#8217;s very strange, the installation you have: it seems that some of the features are working, while others aren&#8217;t. For instance, typing in a chat message causes the history list to update, but the timer-based history (and playlist) refresh seems to be broken. Weird.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: tonyg</title>
		<link>http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox#comment-15510</link>
		<pubDate>Fri, 10 Nov 2006 19:27:23 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox#comment-15510</guid>
					<description>&lt;p&gt;There's really no comparison. This is a new, small, simple program, weighing in at 1,400 lines of Erlang and Javascript; Jinzora is a mature, large, complex program, with over 100,000 (!) lines of PHP code. Both are open-source, and both have something to do with playing MP3s in some kind of jukebox-like configuration, but that's about where the similarities end, it seems to me.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>There&#8217;s really no comparison. This is a new, small, simple program, weighing in at 1,400 lines of Erlang and Javascript; Jinzora is a mature, large, complex program, with over 100,000 (!) lines of PHP code. Both are open-source, and both have something to do with playing MP3s in some kind of jukebox-like configuration, but that&#8217;s about where the similarities end, it seems to me.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Samir</title>
		<link>http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox#comment-15502</link>
		<pubDate>Fri, 10 Nov 2006 18:16:42 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox#comment-15502</guid>
					<description>&lt;p&gt;Have you looked at jinzora? How is your Jukebox different than Jinzora? It has same functionality as yours and then some. Thanks.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Have you looked at jinzora? How is your Jukebox different than Jinzora? It has same functionality as yours and then some. Thanks.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Tobbe</title>
		<link>http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox#comment-15478</link>
		<pubDate>Fri, 10 Nov 2006 16:04:25 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox#comment-15478</guid>
					<description>&lt;p&gt;Well, actually; I can't get it to work :-)
Follow my link and see if it works for you.
It could be my server, I'll have to check more closely.
Btw: how do I start playing a tune, just by enque it, or ?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Well, actually; I can&#8217;t get it to work :-)<br />
Follow my link and see if it works for you.<br />
It could be my server, I&#8217;ll have to check more closely.<br />
Btw: how do I start playing a tune, just by enque it, or ?</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: tonyg</title>
		<link>http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox#comment-15457</link>
		<pubDate>Fri, 10 Nov 2006 11:51:01 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox#comment-15457</guid>
					<description>&lt;p&gt;Hey, great that you have it running!&lt;/p&gt;

&lt;p&gt;The CSS problem is odd - how does it manifest itself? I'm using 1.5.0.7 here and it seems to work okay. Perhaps you have a developer plugin I've not tried?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey, great that you have it running!</p>
<p>The CSS problem is odd - how does it manifest itself? I&#8217;m using 1.5.0.7 here and it seems to work okay. Perhaps you have a developer plugin I&#8217;ve not tried?</p>
]]></content:encoded>
				</item>
</channel>
</rss>
