<?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>Void And Any &#187; webapp</title>
	<atom:link href="http://voidandany.free.fr/index.php/tag/webapp/feed/" rel="self" type="application/rss+xml" />
	<link>http://voidandany.free.fr</link>
	<description>mon bazar...</description>
	<lastBuildDate>Sat, 09 Dec 2017 09:24:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Générer des flux RSS complets à partir des flux tronqués (service auto-hébergé)</title>
		<link>http://voidandany.free.fr/index.php/generer-des-flux-rss-complets-a-partir-des-flux-tronques-service-auto-heberge/</link>
		<comments>http://voidandany.free.fr/index.php/generer-des-flux-rss-complets-a-partir-des-flux-tronques-service-auto-heberge/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 14:32:46 +0000</pubDate>
		<dc:creator>voidAndAny</dc:creator>
				<category><![CDATA[Non classé]]></category>
		<category><![CDATA[site web]]></category>
		<category><![CDATA[webapp]]></category>

		<guid isPermaLink="false">http://voidandany.free.fr/?p=4388</guid>
		<description><![CDATA[Pour ma veille je suis 281 flux RSS (après avoir fait du ménage ce matin), or il existe quelques sites qui ne proposent qu&#8217;une version tronquée des articles, par exemple Numérama : &#160; Je comprends leurs motivations mais ça m&#8217;enquiquine (pour être &#8230; <a href="http://voidandany.free.fr/index.php/generer-des-flux-rss-complets-a-partir-des-flux-tronques-service-auto-heberge/">Continuer la lecture <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Pour ma veille je suis 281 flux RSS (après avoir fait du ménage ce matin), or il existe quelques sites qui ne proposent qu&#8217;une <strong>version tronquée des articles</strong>, par exemple Numérama :</p>
<p style="text-align: center;"><a href="http://voidandany.free.fr/wp-content/uploads/2012-01-04_105549.png"><img class="aligncenter" title="2012-01-04_105549" src="http://voidandany.free.fr/wp-content/uploads/2012-01-04_105549.png" alt="" width="508" height="246" /></a></p>
<p>&nbsp;</p>
<p>Je comprends leurs motivations mais ça m&#8217;enquiquine (pour être poli).</p>
<p>Je me suis donc mis en quête d&#8217;un service permettant d&#8217;<strong>avoir le flux complet </strong>à partir d&#8217;un flux tronqué.</p>
<p>J&#8217;ai tout d&#8217;abord trouvé le service <a href="http://fulltextrssfeed.com/">Full Text RSS Feed Builder</a>, le premier test n&#8217;a pas été concluant le jour même mais semble avoir fonctionné les jours suivants (une histoire de cache dans Google Reader ?)</p>
<p>Mais qu&#8217;importe puisqu&#8217;entre temps je me suis souvenu que j&#8217;avais bookmarké un article décrivant un script remplissant le même rôle et pouvant être <strong>auto-hébergé</strong> : <a href="http://blog.tomamplius.net/index.php?post/2010/04/29/fivefilters-%3A-RSS-avec-les-articles-complets">fivefilters : RSS avec les articles complets</a></p>
<p>Le service s&#8217;appelle<strong> <a href="http://fivefilters.org/content-only/">Create Full-Text Feeds</a></strong> de <a href="http://fivefilters.org/content-only/">fivefilters.org</a></p>
<p>Par contre depuis que <a href="http://blog.tomamplius.net/index.php?post/2010/04/29/fivefilters-%3A-RSS-avec-les-articles-complets">Tom@mplius à publié son article</a> (Mai 2010) les conditions de distributions semblent avoir changées, le site <a href="http://fivefilters.org/content-only/">fivefilters.org</a> ne propose plus que son service en ligne gratuit mais limité (3 articles max par flux) et il faut payer (20 €) pour avoir les sources et l’auto-héberger.</p>
<p>En cherchant un peu j&#8217;ai trouvé le site sur lequel les <strong>sources</strong> de l&#8217;ancienne version sont distribués : <a href="http://code.fivefilters.org/p/full-text-rss/">http://code.fivefilters.org/p/full-text-rss/</a></p>
<p>Il s&#8217;agit de la version 2.7 et en payant on a la version 2.9, à vous de voir si <a href="http://fivefilters.org/content-only/changelog.txt">les changements</a> entre ces 2 versions vous sont nécessaires, en ce qui me me concerne la 2.7 me convient.</p>
<p>Pour <strong>l&#8217;installation</strong>, c&#8217;est un peu comme tous les services web :</p>
<ul>
<li><a href="http://code.fivefilters.org/p/full-text-rss/source/download/master/">Téléchargement des sources</a> </li>
<li>Décompression dans un répertoire de votre serveur web</li>
<li>Fixer les droits sur les fichiers pour s&#8217;assurer que c&#8217;est l&#8217;utilisateur faisant  tourner votre serveur web (www-data) qui est propriétaire des fichiers</li>
<li>Paramétrage de votre serveur web pour prendre en compte ce nouveau site</li>
</ul>
<p>Et on peut tester en allant sur l&#8217;URL de votre serveur web :</p>
<p style="text-align: center;"><a href="http://voidandany.free.fr/wp-content/uploads/2012-01-04_110342.png"><img class="aligncenter" title="2012-01-04_110342" src="http://voidandany.free.fr/wp-content/uploads/2012-01-04_110342.png" alt="" width="420" height="329" /></a></p>
<p>Un peu comme service gratuit <a href="http://fivefilters.org/content-only/">fivefilters.org</a> on entre l&#8217;URL du flux compléter et on valide.</p>
<p>Par contre à la différence du service gratuit hébergé, on a accès aux options notamment le nombre d&#8217;article par flux.</p>
<p>Un petit test avec le flux de Numérama, résultat de la page :</p>
<p style="text-align: center;"><a href="http://voidandany.free.fr/wp-content/uploads/2012-01-04_110249.png"><img class="aligncenter size-full wp-image-4398" title="2012-01-04_110249" src="http://voidandany.free.fr/wp-content/uploads/2012-01-04_110249.png" alt="" width="420" height="316" /></a><a href="http://voidandany.free.fr/wp-content/uploads/2012-01-04_135433.png"></a></p>
<p>&nbsp;</p>
<p style="text-align: left;">On copie l&#8217;URL résultante et hop on ajoute le flux dans Google Reader, ça marche parfaitement&#8230;.<a href="http://voidandany.free.fr/wp-content/uploads/2012-01-04_135433.png"><br />
 </a><a href="http://voidandany.free.fr/wp-content/uploads/2012-01-04_110342.png"><br />
 </a><a href="http://voidandany.free.fr/wp-content/uploads/2012-01-04_105549.png"></a><a href="http://voidandany.free.fr/wp-content/uploads/2012-01-04_135433.png"><img class="aligncenter" title="2012-01-04_135433" src="http://voidandany.free.fr/wp-content/uploads/2012-01-04_135433.png" alt="" width="420" height="412" /></a></p>
<p>&nbsp;</p>
<p>J&#8217;ai ensuite effectué quelques configurations supplémentaires.</p>
<p>En premier lieu il faut copier le fichier config.php en custom_config.php et éditer ce dernier.</p>
<p><span style="text-decoration: underline;"><strong>Activation du cache :</strong></span></p>
<p>Cela se fait simplement en positionnant la variable suivante :</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$options</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">caching</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span></pre></div></div>

<p>Il faut ensuite créer le répertoire paramétré dans $options-&gt;cache_dir et 2 sous répertoires rss et rss-with-key en effet les sources 2.7 ne contiennent pas ces répertoires et s&#8217;assurer que ces répertoires appartiennent à l&#8217;utilisateur faisant  tourner votre serveur web (www-data).</p>
<p><span style="text-decoration: underline;"><strong>Protection du service : </strong></span></p>
<p>Le service fonctionne parfaitement mais je veux en protéger l&#8217;accès, en effet je ne souhaite pas que tout le monde puisse l&#8217;utiliser.</p>
<p>Full Text Feed contient un mécanisme de clé permettant de différencier les utilisateur avec clé de ceux sans clé (en terme de fonctionnalité), mais malgré ce qui est indiqué dans <a href="http://help.fivefilters.org/customer/portal/articles/223410-configure">cette page</a>, l&#8217;ajout de la variable $options-&gt;key_required à true n’oblige pas l&#8217;utilisation d&#8217;une clé</p>
<p>J&#8217;ai donc modifié les sources pour le permettre. Dans le fichier makefulltextfeed.php j&#8217;ai ajouté le test  suivant :</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$options</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">key_required</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$valid_key</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'A valid key is mandatory'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Après le test suivant :</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$valid_key</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'key'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'hash'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$options</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">api_keys</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#40;</span>int<span style="color: #009900;">&#41;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'key'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$valid_key</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'hash'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #990000;">sha1</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$options</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">api_keys</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#40;</span>int<span style="color: #009900;">&#41;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'key'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Dans le fichier custom_config.php on indique ensuite la/les clés valides et l&#8217;option indiquant qu&#8217;une clé est obligatoire :</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$options</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">api_keys</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$options</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">api_keys</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'xxxx'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$options</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">key_required</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://voidandany.free.fr/index.php/generer-des-flux-rss-complets-a-partir-des-flux-tronques-service-auto-heberge/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Script de mise à jour de Shaarli</title>
		<link>http://voidandany.free.fr/index.php/script-de-mise-a-jour-de-shaarli/</link>
		<comments>http://voidandany.free.fr/index.php/script-de-mise-a-jour-de-shaarli/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 19:50:58 +0000</pubDate>
		<dc:creator>voidAndAny</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[dockstar]]></category>
		<category><![CDATA[shaarli]]></category>
		<category><![CDATA[webapp]]></category>

		<guid isPermaLink="false">http://voidandany.free.fr/?p=4337</guid>
		<description><![CDATA[Dans mon dernier article je présentais Shaarli développé par Sebsauvage, ce dernier en plus d&#8217;avoir fait un formidable travail, le met à jour très très régulièrement et la liste des améliorations à venir est encore bien fournie. Bref bien que &#8230; <a href="http://voidandany.free.fr/index.php/script-de-mise-a-jour-de-shaarli/">Continuer la lecture <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Dans <a title="Outil de bookmarks en ligne : Shaarli" href="http://voidandany.free.fr/index.php/outil-de-bookmarks-en-ligne-shaarli/">mon dernier article</a> je présentais <a href="http://sebsauvage.net/wiki/doku.php?id=php:shaarli">Shaarli</a> développé par Sebsauvage, ce dernier en plus d&#8217;avoir fait un formidable travail, <a href="http://sebsauvage.net/wiki/doku.php?id=php:shaarli#history">le met à jour très très régulièrement</a> et la <a href="http://sebsauvage.net/wiki/doku.php?id=php:shaarli#ideas_fixme">liste des améliorations à venir</a> est encore bien fournie.</p>
<p>Bref bien que le déploiement soit simplissime, je suis feignant et j&#8217;ai écrit un petit script maison qui le fait pour moi :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #007800;">REP_INTALLATION</span>=<span style="color: #ff0000;">&quot;/var/www/shaarli&quot;</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>sebsauvage.net<span style="color: #000000; font-weight: bold;">/</span>files<span style="color: #000000; font-weight: bold;">/</span>shaarli.zip
<span style="color: #c20cb9; font-weight: bold;">unzip</span> <span style="color: #660033;">-d</span> shaarli_tmp shaarli.zip
&nbsp;
<span style="color: #007800;">version_en_ligne</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">cat</span> shaarli_tmp<span style="color: #000000; font-weight: bold;">/</span>index.php <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-Ei</span> <span style="color: #ff0000;">&quot;'shaarli_version'&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-rn</span> <span style="color: #ff0000;">&quot;s/.*,'(.*)'.*/\1/p&quot;</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #007800;">version_installee</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #007800;">$REP_INTALLATION</span><span style="color: #000000; font-weight: bold;">/</span>index.php <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-Ei</span> <span style="color: #ff0000;">&quot;'shaarli_version'&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-rn</span> <span style="color: #ff0000;">&quot;s/.*,'(.*)'.*/\1/p&quot;</span><span style="color: #000000; font-weight: bold;">`</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$version_en_ligne</span>&quot;</span> <span style="color: #000000; font-weight: bold;">!</span>= <span style="color: #ff0000;">&quot;<span style="color: #007800;">$version_installee</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>;
<span style="color: #000000; font-weight: bold;">then</span>  
 <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Version installée (<span style="color: #007800;">$version_installee</span>) différente de la dernière version disponible (<span style="color: #007800;">$version_en_ligne</span>)&quot;</span>
 <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Installation en cours...&quot;</span>
 <span style="color: #c20cb9; font-weight: bold;">mv</span> shaarli_tmp<span style="color: #000000; font-weight: bold;">/*</span> <span style="color: #007800;">$REP_INTALLATION</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> shaarli_tmp
<span style="color: #c20cb9; font-weight: bold;">rm</span> shaarli.zip</pre></div></div>

<p>Il faudra évidemment que l&#8217;utilisateur qui lance le script ait les droits d&#8217;écriture dans le répertoire d’installation de Shaarli (ce que j&#8217;ai résolu en ajoutant mon utilisateur au groupe www-data propriétaire du répertoire).</p>
<p>Une petite tache cron tous les 2 jours et voila mon shaarli toujours à jour&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://voidandany.free.fr/index.php/script-de-mise-a-jour-de-shaarli/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Outil de bookmarks en ligne : Shaarli</title>
		<link>http://voidandany.free.fr/index.php/outil-de-bookmarks-en-ligne-shaarli/</link>
		<comments>http://voidandany.free.fr/index.php/outil-de-bookmarks-en-ligne-shaarli/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 20:01:15 +0000</pubDate>
		<dc:creator>voidAndAny</dc:creator>
				<category><![CDATA[site web]]></category>
		<category><![CDATA[dockstar]]></category>
		<category><![CDATA[webapp]]></category>

		<guid isPermaLink="false">http://voidandany.free.fr/?p=4317</guid>
		<description><![CDATA[Une nouvelle fonctionnalité pour mon Dockstar un service de marque-pages en ligne. Cela me permettra ainsi d’accéder à mes bookmark de n&#8217;importe où, d&#8217;en partager certains, de purger un peu le dossier &#171;&#160;Marque-pages non classés&#160;&#187; de Firefox et de résoudre &#8230; <a href="http://voidandany.free.fr/index.php/outil-de-bookmarks-en-ligne-shaarli/">Continuer la lecture <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Une nouvelle fonctionnalité pour mon <a href="http://voidandany.free.fr/index.php/tag/dockstar/">Dockstar</a> un <strong>service de marque-pages en ligne</strong>.</p>
<p>Cela me permettra ainsi d’accéder à mes bookmark de n&#8217;importe où, d&#8217;en partager certains, de purger un peu le dossier &laquo;&nbsp;Marque-pages non classés&nbsp;&raquo; de Firefox et de résoudre les problèmes de synchronisation entre PC / navigateur.</p>
<p>Petit aparte concernant ce dernier point : j&#8217;ai bien mis en œuvre un <a title="Installer un serveur Firefox Sync minimal avec NGINX (ex Weave)" href="http://voidandany.free.fr/index.php/installer-un-serveur-firefox-sync-minimal-avec-nginx-ex-weave/">serveur sync</a> mais il ne répond que partiellement à mes besoins : pas d&#8217;addon pour chrome/IE, pas de consultation en ligne et pas de synchronisation partiel des marques pages (Xmark répond à tous ces besoins mais dans ma quête d&#8217;indépendance j&#8217;ai décidé de m&#8217;en passer&#8230;)</p>
<p>Revenons au sujet de cet article, je voulais mettre en œuvre un <strong>Delicious ou Diigo auto-hébergé</strong>&#8230;</p>
<p>Lors de mes premières recherches (lorsque je référençait ce que je voudrais voir tourner sur mon Dockstar) j&#8217;avais trouvé <a hreflang="en" href="http://sourceforge.net/projects/scuttle/">Scuttle</a> puis son &laquo;&nbsp;remplaçant&nbsp;&raquo; <a hreflang="fr" href="https://sourceforge.net/projects/semanticscuttle/">SemanticScuttle</a> et puis ayant des chantiers prioritaires j&#8217;en étais resté là.</p>
<p>Il y a quelques jours un blogueur que je respect pour son éthique (en plus d&#8217;avoir des articles très intéressants) aka <a href="http://sebsauvage.net/">sebsauvage</a> à publié ceci :<a href="http://sebsauvage.net/rhaa/index.php?2011/09/16/09/29/58-adieu-delicious-diigo-et-stumbleupon-salut-shaarli-"> Adieu Delicious, Diigo et StumbleUpon. Salut Shaarli !</a></p>
<p>Il ne m&#8217;en a pas fallu plus pour que le sujet revienne sur le devant de la scène. Qui plus est l&#8217;installation de son outil de bookmarks en ligne <a href="http://sebsauvage.net/wiki/doku.php?id=php:shaarli">Shaarli</a> est simplissime donc il ne m&#8217;a pas fallu beaucoup de temps.</p>
<p>Pas de dépendances exotique, pas de base de données juste un serveur web et php&#8230;</p>
<p>On télécharge l&#8217;archive, on la décompresse dans son arborescence web, on s&#8217;assure que les droits sont bons</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mkdir</span> shaarli
<span style="color: #7a0874; font-weight: bold;">cd</span> shaarli
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>sebsauvage.net<span style="color: #000000; font-weight: bold;">/</span>files<span style="color: #000000; font-weight: bold;">/</span>shaarli_0.0.14beta.zip
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">unzip</span> shaarli_0.0.14beta.zip
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chown</span> www-data:www-data ..<span style="color: #000000; font-weight: bold;">/</span>shaarli <span style="color: #660033;">-R</span></pre></div></div>

<p>(Lignes de commande à adapter à sa configuration, lien de téléchargement à mettre à jour, Sebsauvage met à jour son script tous les jours&#8230;)</p>
<p>&nbsp;</p>
<p>Ensuite on paramètre son serveur web pour autoriser l&#8217;accès au répertoire créé, on se connecte sur le site, on choisi un login et mot de passe et on drag/drop le snippet dans sa barre des marques page de son navigateur et voila tout est prèt.</p>
<p>Plus de détails <a href="http://sebsauvage.net/wiki/doku.php?id=php:shaarli">sur le wiki de Sebsauvage</a>.</p>
<p>Page principal du service :</p>
<p><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_039.resized1.png"><img class="aligncenter size-full wp-image-4327" title="Sélection_039.resized" src="http://voidandany.free.fr/wp-content/uploads/Sélection_039.resized1.png" alt="" width="455" height="480" /></a></p>
<p>&nbsp;</p>
<p>Page, pop-up d&#8217;ajout de marque-page</p>
<p><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_039.resized1.png"></a><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_0381.png"><img class="aligncenter size-full wp-image-4325" title="Sélection_038" src="http://voidandany.free.fr/wp-content/uploads/Sélection_0381.png" alt="" width="607" height="339" /></a></p>
<p>Après quelques jours de tests <strong>je suis comblé</strong>, c&#8217;est simple, ça fonctionne, parfaitement dans l&#8217;esprit <a href="http://fr.wikipedia.org/wiki/Keep_it_Simple,_Stupid">KISS</a>, le design  pourrait être amélioré mais cela va, présence de bookmarks publiques et privés, une description du bookmark, des tags (une discipline à prendre)&#8230;.</p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><em><strong>Sources : </strong></em></span></p>
<p>Autres outils :<a title="Scuttle : bookmark manager" href="http://blog.tomamplius.net/index.php?post/2010/05/23/Scuttle-%3A-bookmark-manager"></a></p>
<ul>
<li><a title="Scuttle : bookmark manager" href="http://blog.tomamplius.net/index.php?post/2010/05/23/Scuttle-%3A-bookmark-manager">Scuttle : bookmark manager</a></li>
<li><a href="http://blog.tomamplius.net/index.php?post/2010/10/08/Migration-de-Scuttle-vers-SemanticScuttle">Scuttle vers SemanticScuttle</a></li>
<li><a href="http://sourceforge.net/projects/semanticscuttle/">SemanticScuttle</a> </li>
<li><a href="http://sarahhaim.wordpress.com/2008/05/15/6-outils-de-bookmarking-delicious-lik/">Revue : 6 outils de bookmarking opensource (del.icio.us like) « Opensource et médias sociaux</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://voidandany.free.fr/index.php/outil-de-bookmarks-en-ligne-shaarli/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ecouter sa musique partout sans Google Music : Ampache, Subsonic et co</title>
		<link>http://voidandany.free.fr/index.php/ecouter-sa-musique-partout-sans-google-music-ampache-subsonic-et-co/</link>
		<comments>http://voidandany.free.fr/index.php/ecouter-sa-musique-partout-sans-google-music-ampache-subsonic-et-co/#comments</comments>
		<pubDate>Mon, 19 Sep 2011 20:16:28 +0000</pubDate>
		<dc:creator>voidAndAny</dc:creator>
				<category><![CDATA[site web]]></category>
		<category><![CDATA[dockstar]]></category>
		<category><![CDATA[musique]]></category>
		<category><![CDATA[webapp]]></category>

		<guid isPermaLink="false">http://voidandany.free.fr/?p=4150</guid>
		<description><![CDATA[Le dernier service Google à la mode est Google Music. Vous confiez/uploadez toute votre musique à Google et vous pouvez y accéder via une interface Web ou une application Android. C&#8217;est bien mais ce n&#8217;est pas révolutionnaire (à part peut &#8230; <a href="http://voidandany.free.fr/index.php/ecouter-sa-musique-partout-sans-google-music-ampache-subsonic-et-co/">Continuer la lecture <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Le dernier service Google à la mode est Google Music. Vous confiez/uploadez toute votre musique à Google et vous pouvez y accéder via une interface Web ou une application Android.</p>
<p>C&#8217;est bien mais ce n&#8217;est pas révolutionnaire (à part peut être le fait que Google &laquo;&nbsp;offre&nbsp;&raquo; 100Go de stockage dans le cloud) et cela fait une chose de plus (un bout de votre vie) que vous confiez à un géant du Web.</p>
<p>Cette idée de <strong>bibliothèque musicale sur le web</strong>, accessible de partout, je l&#8217;ai depuis pas mal de temps (voir <a title="Lien permanent vers Marques pages : Choisir un lecteur audio pour Ubuntu" rel="bookmark" href="../index.php/marques-pages-choisir-un-lecteur-audio-pour-ubuntu/">Marques pages : Choisir un lecteur audio pour Ubuntu</a> et plus particulièrement la fin Lecteurs audio « client-serveur ») et après pas mal de tests, d&#8217;exploration de solutions non pérennes (daap, icecast, etc), j&#8217;ai enfin trouvé <a href="http://ampache.org/"><em><em>Ampache.</em></em></a></p>
<p>Dans cet article je vais décrire l&#8217;<strong>installation d&#8217;Ampache</strong> mais aussi d&#8217;autres logiciels ayant la même vocation :</p>
<ul>
<li><a href="http://www.subsonic.org/pages/index.jsp">Subsonic</a></li>
<li><a href="http://web.psung.name/zeya/">Zeya</a></li>
<li><a href="http://www.pancake.org/zina">Zina</a></li>
<li><a href="http://github.com/daveisadork/Blofeld">Blofeld</a></li>
<li><a href="https://github.com/chaffneue/streeme">Streeme</a></li>
</ul>
<p>Mes critère de choix, outre la possibilité d&#8217;écouter ma musique via internet était que le service doit pouvoir fonctionner sur mon <a title="Marques-pages : Un mini serveur le Seagate Dockstar" href="http://voidandany.free.fr/index.php/marques-pages-un-mini-serveur-le-seagate-dockstar/">Dockstar</a> avec son petit processeur ARM et ses 128 Mo de RAM !!</p>
<p>&nbsp;</p>
<h2>Ampache</h2>
<p>Commençons par le gagnant.</p>
<p>Ampache n&#8217;est pas le logiciel le plus beau ni celui offrant le plus fonctionnalité mais il offre l&#8217;immense avantage de s&#8217;installer sur un pile serveur web + MySQL et de ne pas consommer trop de ressources</p>
<p>Ampache est dans les dépôts Debian (avec une petite particularité nous le verrons plus tard) on l&#8217;installe donc avec son gestionnaire de paquet préféré (aptitude pour moi) :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> ampache</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Les NOUVEAUX paquets suivants vont être installés :
 ampache libjs-prototype{a} libmysqlclient16{a} libnusoap-php{a} libphp-snoopy{a} mysql-common{a} php5{a} php5-auth-pam{a}
 php5-mysql{a} php5-xmlrpc{a} ttf-freefont{a}
 Les paquets suivants sont RECOMMANDÉS mais ne seront pas installés :
 ampache-themes apache2-mpm-prefork eyed3 javascript-common lighttpd x-ttcidfont-conf
 0 paquets mis à jour, 11 nouvellement installés, 0 à enlever et 0 non mis à jour.
 Il est nécessaire de télécharger 4 177 ko/6 087 ko d'archives. Après dépaquetage, 17,9 Mo seront utilisés.</pre></div></div>

<p>On remarquera que le paquet conseil d&#8217;installer apache ou lighttpd, mais j&#8217;ai déjà <a title="Installer un serveur web (nginx) sur le Seagate Dockstar" href="http://voidandany.free.fr/index.php/installer-un-serveur-web-nginx-sur-le-seagate-dockstar/">NGINX</a> d&#8217;installé&#8230;</p>
<p>On <a title="Lien permanent vers Installer et configurer Mysql sur le Dockstar" rel="bookmark" href="../index.php/installer-et-configurer-mysql-sur-le-dockstar/">Installera aussi le serveur MySQL</a>, bien qu&#8217;il ne soit pas dans les paquets nécessaires ni recommandés (pour la bonne raison que l&#8217;on peut utiliser une base distante)</p>
<p>Le paquet Ampache installe les pages HTML/php constituant le logiciel dans /usr/share/ampache  et il faut donc les rendre accessible de son serveur web, j&#8217;ai pour ma part choisi de créer un lien symbolique entre la racine de mon serveur web et le répertoire d&#8217;Ampache :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>ampache<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span> ampache
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chown</span> www-data:www-data ampache<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">-R</span></pre></div></div>

<p>On se connecte ensuite à son serveur Web :</p>
<p>http://IP-du-serveur/ampache</p>
<p>Et on passe les différents écran de configuration :</p>
<p>Tout d&#8217;abord on vérifie que tous les pré-requis système sont présents :</p>
<p><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_025.resized1.png"><img class="aligncenter size-full wp-image-4294" title="Sélection_025.resized" src="http://voidandany.free.fr/wp-content/uploads/Sélection_025.resized1.png" alt="" width="640" height="452" /></a>Dans mon cas j&#8217;ai eu un problème avec le pré-requis &laquo;&nbsp;MySQL for php&nbsp;&raquo; et ce malgré l&#8217;installation du paquet php5-mysql, je l&#8217;ai corrigé en <a href="http://voidandany.free.fr/index.php/ajouter-le-support-mysql-a-php/">ajoutant une ligne dans mon php.ini</a></p>
<p>Sélectionner ensuite la langue d&#8217;installation.</p>
<p>&nbsp;</p>
<p>Renseigner ensuite les données MySQL : l&#8217;utilisateur root, son mot de passe, la machine hébergeant MySQL (localhost le plus souvant) et le nom de la base à créer (ampache pour faire simple)</p>
<p>On indique aussi que l&#8217;on veut créer un nouvel utilisateur MySQL nommé ampache (ou comme vous le souhaitez)</p>
<p><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_026.resized1.png"><img class="aligncenter size-full wp-image-4295" title="Sélection_026.resized" src="http://voidandany.free.fr/wp-content/uploads/Sélection_026.resized1.png" alt="" width="546" height="480" /></a></p>
<p>Ayant faire divers essai j&#8217;ai remarqué que si on coche la case &laquo;&nbsp;Ecraser la configuration existante&nbsp;&raquo; on a l&#8217;erreur :</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Error: Unable to make Database Connection Access denied for user 'root'@'localhost' (using password: NO)</pre></div></div>

<p>Si on a déjà une base ampache que l&#8217;on souhaite écraser, il n&#8217;y a pas d&#8217;autre moyen que de supprimer les tables et la base précédente via un requeteur</p>
<p>&nbsp;</p>
<p>Normalement à l&#8217;étape suivante la base, l&#8217;utilisateur dédié et les table doivent être créés, on indique alors les informations choisies précédemment (nom de la base, utilisateur et mot de passe de ce dernier)</p>
<p><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_027.resized.png"><img class="aligncenter size-full wp-image-4296" title="Sélection_027.resized" src="http://voidandany.free.fr/wp-content/uploads/Sélection_027.resized.png" alt="" width="616" height="480" /></a></p>
<p>Le bouton &laquo;&nbsp;écrire la configuration&nbsp;&raquo; télécharge un fichier ampache.cfg.php   qu&#8217;il faut copier sous /var/www/ampache/config (penser au droit accès)</p>
<p>Un fois copié, cliquer sur le lien &laquo;&nbsp;teste de la configuration&nbsp;&raquo; et tout devrait être OK :<a href="../wp-content/uploads/S%C3%A9lection_029.resized.png"><br />
 </a><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_029.png"><img class="aligncenter size-full wp-image-4305" title="Sélection_029" src="http://voidandany.free.fr/wp-content/uploads/Sélection_029.png" alt="" width="213" height="49" /></a></p>
<p>Créer ensuite un compte administrateur :</p>
<p><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_029.png"></a><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_030.resized.png"><img class="aligncenter size-full wp-image-4299" title="Sélection_030.resized" src="http://voidandany.free.fr/wp-content/uploads/Sélection_030.resized.png" alt="" width="640" height="355" /></a></p>
<p>Et la configuration est terminée, reste plus qu&#8217;a aller sur la page d&#8217;accueil et se logguer avec le compte administrateur défini précedemment :</p>
<p><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_030.resized.png"></a><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_031.resized.png"><img class="aligncenter size-full wp-image-4300" title="Sélection_031.resized" src="http://voidandany.free.fr/wp-content/uploads/Sélection_031.resized.png" alt="" width="574" height="480" /></a></p>
<p>Voici l&#8217;interface par défaut d&#8217;Ampache (vous verrez par la suite il y a d&#8217;autres logiciel plus beaux mais aussi des plus moches&#8230;)</p>
<p><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_032.resized.png"><img class="aligncenter size-full wp-image-4301" title="Sélection_032.resized" src="http://voidandany.free.fr/wp-content/uploads/Sélection_032.resized.png" alt="" width="640" height="338" /></a></p>
<p>L&#8217;étape suivante à aller dans les pages de paramétrage et d&#8217;ajouter un répertoire contenant de la musique :</p>
<p><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_033.resized.png"><img class="aligncenter size-full wp-image-4302" title="Sélection_033.resized" src="http://voidandany.free.fr/wp-content/uploads/Sélection_033.resized.png" alt="" width="640" height="441" /></a>Attention Ampache (via l&#8217;utilisateur www-data de votre serveur web) doit avoir accès en lecture aux fichiers&#8230;</p>
<p>&nbsp;</p>
<p>Pour la lecture de la musique Ampache propose de télécharger une playlist avec les adresses des morceaux sélectionnés (en http) ou de piloter un serveur MPD ou dans le cas qui nous intéresse de jouer la musique directement dans l&#8217;interface via un lecteur en Flash.</p>
<p>Or ce lecteur Flash n&#8217;est packagé dans l&#8217;archive Debian/Ubuntu (pour des raison de droits ?), il faut donc l&#8217;installer manuellement.</p>
<p>Pour cela télécharger l&#8217;archive des sources sur le site d&#8217;Ampache, la décompresser et copier les fichiers xspf_jukebox.fla et swf présents dans le répertoire module/flash dans le répertoire correspondant de votre installation.</p>
<p>&nbsp;</p>
<p>Enfin si on veut rendre Ampache plus (les goûts et les couleurs&#8230;) on pourra installer le paquet ampache-themes qui propose des thème supplémentaire par rapport a ceux embarqués par défaut.</p>
<p>Pour ma part j&#8217;ai installé un thème trouvé sur le forum d&#8217;Ampache :</p>
<h3><a href="http://ampache.org/forums/viewtopic.php?f=5&amp;t=3392#p16587">Fresh theme (r5 &#8211; now playing update)</a></h3>
<p><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_038.resized.png"><img class="aligncenter size-full wp-image-4306" title="Sélection_038.resized" src="http://voidandany.free.fr/wp-content/uploads/Sélection_038.resized.png" alt="" width="640" height="311" /></a></p>
<p>&nbsp;</p>
<h2>Subsonic</h2>
<p>Subsonic a été le plus sérieux concurrent à Ampache.</p>
<p>Il est beau, bourré de fonctionnalité, ergonomique :</p>
<p><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_013.resized.png"><img class="aligncenter size-full wp-image-4276" title="Sélection_013.resized" src="http://voidandany.free.fr/wp-content/uploads/Sélection_013.resized.png" alt="" width="640" height="410" /></a></p>
<p>MAIS il est en Java.</p>
<p>Il occupe donc beaucoup de place disque (90Mo rien que pour le JRE), mémoire et CPU.</p>
<p>Ces 2 derniers points sont bloquant pour mon Dockstar :</p>
<p><a href="http://voidandany.free.fr/wp-content/uploads/cpu-day3.png"><img class="aligncenter size-full wp-image-4265" title="memory-day3" src="http://voidandany.free.fr/wp-content/uploads/memory-day3.png" alt="" width="497" height="424" /><img class="aligncenter size-full wp-image-4264" title="cpu-day3" src="http://voidandany.free.fr/wp-content/uploads/cpu-day3.png" alt="" width="497" height="364" /></a></p>
<p>En pré-requis Subsonic à le JRE, sur un serveur comme le Dockstar il est impératif de prendre la version headless, sinon on se retrouve à télécharger xorg et 50 Mo supplémentaires de librairies graphiques&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> openjdk-jre-headless</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Les NOUVEAUX paquets suivants vont être installés :
 ca-certificates-java{a} java-common{a} libavahi-client3{a}   libavahi-common-data{a} libavahi-common3{a} libcups2{a} libdbus-1-3{a}   libfreetype6{a} liblcms1{a} libnspr4-0d{a}
 libnss3-1d{a} openjdk-6-jre-headless openjdk-6-jre-lib{a} tzdata-java{a}
 Les paquets suivants sont RECOMMANDÉS mais ne seront pas installés :
 dbus icedtea-6-jre-cacao
 0 paquets mis à jour, 14 nouvellement installés, 0 à enlever et 0 non mis à jour.
 Il est nécessaire de télécharger 32,0 Mo/32,4 Mo d'archives. Après dépaquetage, 87,3 Mo seront utilisés.</pre></div></div>

<p>On téléchargera ensuite le paquet correspondant à Debian/Ubuntu sur la page du projet :</p>
<h3><a href="http://subsonic.org/"><em>Subsonic</em> » Free Music Streamer</a></h3>
<p>Et on l&#8217;installera :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> subsonic<span style="color: #000000; font-weight: bold;">*</span>.deb</pre></div></div>

<p>Pour finir l&#8217;installation / la configuration il suffit d&#8217;aller sur le serveur sur lequel vous avez installé Subsonic sur le port 4040 :</p>
<p>http://IP-du-serveur:4040</p>
<p>On se connecte avec l&#8217;utilisateur et mot de passe &laquo;&nbsp;admin&nbsp;&raquo;</p>
<p><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_0099.png"><img class="aligncenter size-full wp-image-4268" title="Sélection_009" src="http://voidandany.free.fr/wp-content/uploads/Sélection_0099.png" alt="" width="516" height="208" /></a></p>
<p>Et la page d&#8217;accueil s&#8217;affiche :</p>
<p><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_010.resized.png"><img class="aligncenter size-full wp-image-4275" title="Sélection_010.resized" src="http://voidandany.free.fr/wp-content/uploads/Sélection_010.resized.png" alt="" width="640" height="389" /></a></p>
<p>Et indique les étapes à réaliser (les étapes sont cliquables) :</p>
<p><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_0152.png"><img class="aligncenter size-full wp-image-4272" title="Sélection_015" src="http://voidandany.free.fr/wp-content/uploads/Sélection_0152.png" alt="" width="523" height="430" /></a></p>
<p>Premièrement pour des raisons de sécurité, changer le mot de passe administrateur :</p>
<p><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_0162.png"><img class="aligncenter size-full wp-image-4273" title="Sélection_016" src="http://voidandany.free.fr/wp-content/uploads/Sélection_0162.png" alt="" width="498" height="403" /></a></p>
<p>Puis configurer les lieux de stockage de la musique :</p>
<p><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_0173.png"><img class="aligncenter size-full wp-image-4274" title="Sélection_017" src="http://voidandany.free.fr/wp-content/uploads/Sélection_0173.png" alt="" width="626" height="320" /></a></p>
<p>Lorsque l&#8217;indexation est terminée on peut profiter de Subsonic</p>
<p><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_0173.png"></a><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_014.resized.png"><img class="aligncenter size-full wp-image-4277" title="Sélection_014.resized" src="http://voidandany.free.fr/wp-content/uploads/Sélection_014.resized.png" alt="" width="640" height="407" /></a></p>
<p>&#8230; pour peu que sa machine le supporte, c&#8217;est à dire pas un Dockstar, vraiment dommage &#8230;</p>
<p>&nbsp;</p>
<h2>Zeya</h2>
<p>Zeya est un petit serveur musical ne proposant que très peu de fonctionnalités : une liste de morceau, on en choisi un et il est joué dans le navigateur&#8230;</p>
<p><a href="../wp-content/uploads/S%C3%A9lection_007-600x370.png"><img title="Zeya " src="../wp-content/uploads/S%C3%A9lection_007-600x370.png" alt="" width="600" height="370" /></a></p>
<p>Zeya est disponible dans les dépôts Debian/Ubuntu (v0.4) il suffit donc de faire :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> zeya</pre></div></div>

<p>Sur ma Debian cela prend 8 675 ko et installe les paquets suivants :</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">libao-common{a} libao4{a} libboost-python1.42.0{a} libflac8{a} libogg0{a} libspeex1{a} libtag1-vanilla{a} libtag1c2a{a}
 libvorbis0a{a} libvorbisenc2{a} libvorbisfile3{a} python-simplejson{a} python-tagpy{a} vorbis-tools{a} zeya</pre></div></div>

<p>Et recommande les paquets suivants :</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">flac libjs-jquery mpg123 mpg321</pre></div></div>

<p>Le lancement de Zeya se fait ensuite avec un simple :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">zeya <span style="color: #660033;">--path</span>=<span style="color: #000000; font-weight: bold;">/</span>data<span style="color: #000000; font-weight: bold;">/</span>multimedia<span style="color: #000000; font-weight: bold;">/</span>Musiques</pre></div></div>

<p>Le premier démarrage est long car Zeya scanne le répertoire passé en paramètre en vue d&#8217;indexer les morceaux de musique qu&#8217;il contient :</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Using 'dir' backend.
 Scanning for music in '/data/multimedia/Musiques/Musique'...
 TagLib: MPEG::Header::parse() -- Invalid sample rate.
&nbsp;
TagLib: MPEG::Properties::read() -- Could not find a valid last MPEG frame in the stream
&nbsp;
TagLib: Ogg::File::packet() -- Could not find the requested packet.
 TagLib: Vorbis::File::read() - Could not find the Vorbis comment header.
&nbsp;
TagLib: ID3v2.4 no longer supports the frame type RVAD.  It will be discarded from the tag.</pre></div></div>

<p>Les erreurs que j&#8217;ai eu (ci-dessus) seraient sûrement corrigées avec l&#8217;installation des paquets recommandés.</p>
<p>Ensuite Zeya démarre un serveur web sur le port  8080, sert l&#8217;interface et stream la musique :</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Loading library...
 Listening on port 8080
 ::ffff:192.168.1.100 - - [16/Jun/2011 21:37:18] &quot;GET / HTTP/1.1&quot; 200 -
 ::ffff:192.168.1.100 - - [16/Jun/2011 21:37:18] &quot;GET /zeya.css HTTP/1.1&quot; 200 -
 ::ffff:192.168.1.100 - - [16/Jun/2011 21:37:18] &quot;GET /zeya.js HTTP/1.1&quot; 200 -
 ::ffff:192.168.1.100 - - [16/Jun/2011 21:37:18] &quot;GET /previous.png HTTP/1.1&quot; 200 -
 ::ffff:192.168.1.100 - - [16/Jun/2011 21:37:18] &quot;GET /play.png HTTP/1.1&quot; 200 -
 ::ffff:192.168.1.100 - - [16/Jun/2011 21:37:18] &quot;GET /next.png HTTP/1.1&quot; 200 -
 ::ffff:192.168.1.100 - - [16/Jun/2011 21:37:18] &quot;GET /pause.png HTTP/1.1&quot; 200 -
 ::ffff:192.168.1.100 - - [16/Jun/2011 21:37:18] &quot;GET /spinner.gif HTTP/1.1&quot; 200 -
 ::ffff:192.168.1.100 - - [16/Jun/2011 21:37:18] &quot;GET /repeat.png HTTP/1.1&quot; 200 -
 ::ffff:192.168.1.100 - - [16/Jun/2011 21:37:18] &quot;GET /shuffle.png HTTP/1.1&quot; 200 -
 ::ffff:192.168.1.100 - - [16/Jun/2011 21:37:18] &quot;GET /search.png HTTP/1.1&quot; 200 -
 ::ffff:192.168.1.100 - - [16/Jun/2011 21:37:18] &quot;GET /favicon.png HTTP/1.1&quot; 200 -
 ::ffff:192.168.1.100 - - [16/Jun/2011 21:37:18] &quot;GET /favicon.png HTTP/1.1&quot; 200 -
 ::ffff:192.168.1.100 - - [16/Jun/2011 21:37:18] &quot;GET /getlibrary HTTP/1.1&quot; 200 -
 ::ffff:192.168.1.100 - - [16/Jun/2011 21:38:03] &quot;GET /getcontent?key=3797 HTTP/1.1&quot; 200 -
 Handling request for /data/multimedia/Musiques/Musique/Renan Luce/Repenti/Renan Luce - 13 - LIris Et La Rose.ogg
 ::ffff:192.168.1.100 - - [16/Jun/2011 21:40:25] &quot;GET /getcontent?key=3785 HTTP/1.1&quot; 200 -
 Handling request for /data/multimedia/Musiques/Musique/Renan Luce/Repenti/Renan Luce - 01 - Les Voisines.ogg</pre></div></div>

<p>Comme indiqué précédemment Zeya est simplissime et il manque tout de même quelques fonctionnalités, notamment la possibilité de gérer sa liste de lecture, en effet Zeya joue les morceau les un derrière les autres sans possibilité de les ordonner (par contre on peut les sélectionner avec la zone de recherche), de plus il n&#8217;est pas possible d&#8217;avancer dans un morceau et enfin dernier critère de non choix, sur mon Dockstar la CPU monte à 100% et les morceaux coupent toutes les 5s</p>
<p>&nbsp;</p>
<p><strong>Rque : </strong>pour installer le dernière version (v0.5), télécharger le paquet sur le site du projet : <br />
 <a href="http://web.psung.name/zeya/">http://web.psung.name/zeya/</a></p>
<p>Installer les dépendances (et éventuellement les paquets recommandés voir ci-dessus)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">vorbis-tools python-simplejson python-tagpy</pre></div></div>

<p>Et installer Zeya :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> zeya_0.5-<span style="color: #000000;">1</span>_all.deb</pre></div></div>

<p>&nbsp;</p>
<h2>Zina</h2>
<p><a href="http://www.pancake.org/zina">Zina</a> ressemble un peu à Ampache, mais en moins beau et avec le MySQL optionnel.</p>
<p>De plus il n&#8217;est plus maintenu (ou tout du moins en pause) depuis Août 2010&#8230;</p>
<p>Pour l&#8217;installer on télécharge l&#8217;archive sur le site, on la décompresse dans un répertoire accessible du serveur web et voila :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> https:<span style="color: #000000; font-weight: bold;">//</span>downloads.sourceforge.net<span style="color: #000000; font-weight: bold;">/</span>project<span style="color: #000000; font-weight: bold;">/</span>zina<span style="color: #000000; font-weight: bold;">/</span>Zina<span style="color: #000000; font-weight: bold;">/</span>2.0beta22<span style="color: #000000; font-weight: bold;">/</span>zina-2.0b22.tar.gz?<span style="color: #007800;">r</span>=<span style="color: #000000; font-weight: bold;">&amp;</span><span style="color: #007800;">ts</span>=<span style="color: #000000;">1315944029</span><span style="color: #000000; font-weight: bold;">&amp;</span><span style="color: #007800;">use_mirror</span>=freefr
<span style="color: #c20cb9; font-weight: bold;">mv</span> zina-2.0b22.tar.gz<span style="color: #000000; font-weight: bold;">*</span> zina-2.0b22.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xvf</span> zina-2.0b22.tar.gz
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mv</span> zina<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight: bold;">/</span>data<span style="color: #000000; font-weight: bold;">/</span>www
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chown</span> www-data.www-data <span style="color: #000000; font-weight: bold;">/</span>data<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>zina <span style="color: #660033;">-R</span></pre></div></div>

<p>Il suffit ensuite d&#8217;accéder à Zina en http (adresse en fonction de votre serveur web) : http://IP_erveur/zina/index.php</p>
<p>Zina permet de jouer la musique en téléchargeant une playlist contenant les lien http vers les morceaux sélectionnés</p>
<p><a href="../wp-content/uploads/S%C3%A9lection_0221.png"><img title="Sélection_022" src="../wp-content/uploads/S%C3%A9lection_0221.png" alt="" width="640" height="371" /></a></p>
<p>&nbsp;</p>
<p>Ou via un lecteur flash embarqué (d’ailleurs mieux intégré que celui d&#8217;Ampache)</p>
<p><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_0242.png"><img class="aligncenter size-full wp-image-4293" title="Sélection_024" src="http://voidandany.free.fr/wp-content/uploads/Sélection_0242.png" alt="" width="640" height="410" /></a><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_0221.png"><img class="aligncenter size-full wp-image-4292" title="Sélection_023" src="http://voidandany.free.fr/wp-content/uploads/Sélection_0231.png" alt="" width="640" height="266" /><br />
 </a><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_0211.png"><img class="aligncenter size-full wp-image-4290" title="Sélection_021" src="http://voidandany.free.fr/wp-content/uploads/Sélection_0211.png" alt="" width="629" height="480" /></a></p>
<p><a href="http://voidandany.free.fr/wp-content/uploads/Sélection_0202.png"><img class="aligncenter size-full wp-image-4289" title="Sélection_020" src="http://voidandany.free.fr/wp-content/uploads/Sélection_0202.png" alt="" width="640" height="372" /></a></p>
<h2>Blofeld</h2>
<p>L&#8217;annonce de Blofeld est alléchante : <a rel="next" href="http://www.davehayes.org/2010/07/22/introducing-blofeld">Introducing Blofeld</a></p>
<p>Mais la phrase &laquo;&nbsp;Difficult to install and configure&nbsp;&raquo; en parlant des autres serveurs musicaux me fait doucement rire car je n&#8217;ai pas réussi à installer Blofeld, pire j&#8217;ai planté mon Dockstar ce qui m&#8217;a valu une belle frayeur (<a title="Mon Dockstar ne boot plus sous Debian" href="http://voidandany.free.fr/index.php/mon-dockstar-ne-boot-plus-sous-debian/">voir cet article</a>).</p>
<p>Peut être est ce dû au fait que j&#8217;ai essayé de l&#8217;installer sur une Debian ARM alors que l&#8217;auteur semble privilégier Ubuntu&#8230;</p>
<p>De plus depuis l&#8217;annonce le <a href="https://github.com/daveisadork/Blofeld">github du projet</a> ne semble pas beaucoup bouger&#8230;</p>
<p>&nbsp;</p>
<p>Voici les étapes que j&#8217;ai suivi :</p>
<p>Installation des dépendances (attention ça fait mal, pire que le JRE) :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> python-cheetah python-imaging python-mutagen python-couchdbkit couchdb python-gst0.10 gstreamer0.10-ffmpeg python-cherrypy3</pre></div></div>

<p>Ce qui installe :</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">couchdb erlang-base{a} erlang-crypto{a} erlang-inets{a} erlang-mnesia{a} erlang-public-key{a} erlang-runtime-tools{a}
 erlang-ssl{a} erlang-tools{a} erlang-webtool{a} erlang-xmerl{a} gstreamer0.10-ffmpeg iso-codes{a} libavcodec52{a}
 libavformat52{a} libavutil49{a} libdirac-encoder0{a} libfaad2{a} libffi5{a} libgsm1{a} libgstreamer-plugins-base0.10-0{a}
 libgstreamer0.10-0{a} libicu44{a} libjs-jquery{a} liblcms1{a} libmozjs2d{a} libnspr4-0d{a} libogg0{a} liboil0.3{a}
 libopenjpeg2{a} liborc-0.4-0{a} libpostproc51{a} libpython2.6{a} libschroedinger-1.0-0{a} libspeex1{a} libswscale0{a}
 libtheora0{a} libvorbis0a{a} libvorbisenc2{a} python-anyjson{a} python-cheetah python-cjson{a} python-couchdbkit
 python-gobject{a} python-gst0.10 python-imaging python-libxml2{a} python-mutagen python-restkit{a}</pre></div></div>

<p>Soit plus de 110 Mo !!</p>
<p>Récupération et installation de Blofeld :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> https:<span style="color: #000000; font-weight: bold;">//</span>github.com<span style="color: #000000; font-weight: bold;">/</span>daveisadork<span style="color: #000000; font-weight: bold;">/</span>Blofeld<span style="color: #000000; font-weight: bold;">/</span>zipball<span style="color: #000000; font-weight: bold;">/</span>0.2.5
<span style="color: #c20cb9; font-weight: bold;">mv</span> 0.2.5 blofeld.zip
<span style="color: #c20cb9; font-weight: bold;">unzip</span> blofeld.zip
<span style="color: #c20cb9; font-weight: bold;">mv</span> daveisadork-Blofeld-96c363e<span style="color: #000000; font-weight: bold;">/</span> blofeld</pre></div></div>

<p>Lancement :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">blofeld</pre></div></div>

<p>Et là se fut le drame, la CPU est montée, le terminal ne répondait plus, la connexion SSH a été interrompue et j&#8217;ai du rebooter sauvagement le Dockstar avec pour conséquence de la planter&#8230;</p>
<p>Donc pas de copie d&#8217;écran&#8230;.</p>
<p>&nbsp;</p>
<h2>Streeme</h2>
<p>[Ajout du 17/06/2013]</p>
<p>Nouveau (enfin pas si nouveau que ça) venu, un serveur musical simple mais complet en HTML5 / PHP (Symfony 1)</p>
<h3><a rel="attachment wp-att-4765" href="http://voidandany.free.fr/index.php/ecouter-sa-musique-partout-sans-google-music-ampache-subsonic-et-co/selection_001-22/"><img class="aligncenter size-full wp-image-4765" title="Sélection_001" src="http://voidandany.free.fr/wp-content/uploads/Sélection_00121.png" alt="" width="639" height="398" /></a></h3>
<p>Installation des pré-requis :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> php-pear curl php5-curl php5-gd <span style="color: #c20cb9; font-weight: bold;">ffmpeg</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> pear <span style="color: #c20cb9; font-weight: bold;">install</span> HTTP_Download</pre></div></div>

<p>Clone du repo :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">git</span> clone https:<span style="color: #000000; font-weight: bold;">//</span>github.com<span style="color: #000000; font-weight: bold;">/</span>chaffneue<span style="color: #000000; font-weight: bold;">/</span>streeme.git streeme
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mv</span> streeme<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight: bold;">/</span>data<span style="color: #000000; font-weight: bold;">/</span>www
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chown</span> www-data.www-data <span style="color: #000000; font-weight: bold;">/</span>data<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>streeme <span style="color: #660033;">-R</span></pre></div></div>

<p>Création d&#8217;une base MySQL</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysql <span style="color: #660033;">-uroot</span> <span style="color: #660033;">-p</span>
CREATE DATABASE streeme  DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
grant usage on <span style="color: #000000; font-weight: bold;">*</span>.<span style="color: #000000; font-weight: bold;">*</span> to streeme<span style="color: #000000; font-weight: bold;">@</span>localhost identified by <span style="color: #ff0000;">'password'</span>;
grant all privileges on streeme.<span style="color: #000000; font-weight: bold;">*</span> to streeme<span style="color: #000000; font-weight: bold;">@</span>localhost ;</pre></div></div>

<p>Configuration :</p>
<p>&nbsp;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>streeme
<span style="color: #c20cb9; font-weight: bold;">cp</span> config<span style="color: #000000; font-weight: bold;">/</span>databases.template.yml config<span style="color: #000000; font-weight: bold;">/</span>databases.yml
<span style="color: #c20cb9; font-weight: bold;">cp</span> apps<span style="color: #000000; font-weight: bold;">/</span>client<span style="color: #000000; font-weight: bold;">/</span>config<span style="color: #000000; font-weight: bold;">/</span>app.template.yml apps<span style="color: #000000; font-weight: bold;">/</span>client<span style="color: #000000; font-weight: bold;">/</span>config<span style="color: #000000; font-weight: bold;">/</span>app.yml
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> cache
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">777</span> log cache</pre></div></div>

<p>&nbsp;</p>
<p>Édition de config/databases.yml et configuration de la section all (username, password)</p>
<p>Édition de apps/client/config/app.yml et configuration des attributs watched_folders,  allowed_file_types, ffmpeg_executable</p>
<p>Vidage des caches :</p>
<p>&nbsp;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>symfony <span style="color: #c20cb9; font-weight: bold;">cc</span></pre></div></div>

<p>&nbsp;</p>
<p>Vérification pré-requis Symfony</p>
<p>&nbsp;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">php check_configuration.php</pre></div></div>

<p>&nbsp;</p>
<p>Construction des tables :</p>
<p>&nbsp;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>symfony doctrine:build <span style="color: #660033;">--all</span> <span style="color: #660033;">--and-load</span></pre></div></div>

<p>&nbsp;</p>
<p>Scan de la librairie :</p>
<p>&nbsp;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>symfony scan-media <span style="color: #660033;">--type</span>=filesystem</pre></div></div>

<p>&nbsp;</p>
<p>Scan des album art (n&#8217;a pas marché chez moi)</p>
<p>&nbsp;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>symfony scan-art <span style="color: #660033;">--source</span>=folders
.<span style="color: #000000; font-weight: bold;">/</span>symfony scan-art <span style="color: #660033;">--source</span>=meta</pre></div></div>

<p>&nbsp;</p>
<p>Création d&#8217;un utilisateur :</p>
<p>&nbsp;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">symfony guard:create-user your_username your_password</pre></div></div>

<p>&nbsp;</p>
<p>Ma conf NGINX :</p>
<p>&nbsp;</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">server {
 listen       8095;
 server_name  music.xxx.fr;
 root         /var/www/xxx.fr/streeme/web;
&nbsp;
 access_log      /var/log/nginx/streeme.access.log ;
 include         /etc/nginx/common.conf ;
&nbsp;
 location ~ (/\.|^/(config|test)) {
 deny all;
 }
&nbsp;
 index           index.php;
&nbsp;
 rewrite ^/art/([a-zA-Z0-9]+|all)/([a-zA-Z0-9]+|all)$ /proxy_art.php?hash=$1&amp;size=$2 last;
 rewrite ^/client_dev.php/art/([a-zA-Z0-9]+|all)/([a-zA-Z0-9]+|all)$ /proxy_art.php?hash=$1&amp;size=$2 last;
&nbsp;
 location ~ ^/(index|proxy_art)\.php$ {
 include         /etc/nginx/fastcgi_params;
 fastcgi_param   SCRIPT_FILENAME  $document_root$fastcgi_script_name;
 fastcgi_pass    127.0.0.1:9000;
 }
&nbsp;
 location / {
 index index.php;
 try_files $uri /index.php?$args;
 }
&nbsp;
 location /sf/ {
 root /var/www/xxx.fr/streeme/lib/vendor/symfony/data/web/sf/;
 }
&nbsp;
}
#Music-proxy
server {
 listen 8096;
&nbsp;
 root /var/www/xxx.fr/streeme/web;
&nbsp;
 location ~ (/\.|^/(config|test)) {
 deny all;
 }
&nbsp;
 rewrite ^/play/([a-zA-Z0-9.]+|all)$ /proxy_play.php?unique_song_id=$1 last;
 rewrite ^/client_dev.php/play/([a-zA-Z0-9]+|all)$ /proxy_play.php?unique_song_id=$1 last;
&nbsp;
 location ~ ^/(proxy_play)\.php$ {
 include         /etc/nginx/fastcgi_params;
 fastcgi_param   SCRIPT_FILENAME  $document_root$fastcgi_script_name;
 fastcgi_pass    127.0.0.1:9000;
 }
&nbsp;
 location / {
 index index.php;
 try_files $uri /index.php?$args;
 }
}</pre></div></div>

<p>&nbsp;</p>
<p>Ne reste plus qu&#8217;a rediriger les ports et se connecter sur l&#8217;URL choisie port 8095 (par défaut)</p>
<p>A l&#8217;usage :</p>
<ul>
<li>Plutôt propre</li>
<li>Rapide</li>
<li>Léger</li>
</ul>
<p>Mais</p>
<ul>
<li>Pas très maintenu</li>
<li>Pas ultra sexy</li>
<li>Pb d&#8217;encodage (peut sûrement se résoudre)</li>
<li>Pas d&#8217;album art  (peut sûrement se résoudre)</li>
<li>Listes de lecture capriceuses</li>
</ul>
<p>&nbsp;</p>
<h2>Autres serveurs musicaux (non testés)</h2>
<h3>Ampjuke</h3>
<p><a href="http://www.ampjuke.org/">Ampjuke</a></p>
<p><a href="http://voidandany.free.fr/wp-content/uploads/AmpJuke_0.8.4_welcome.png1.jpeg"><img class="aligncenter size-full wp-image-4310" title="AmpJuke_0.8.4_welcome.png" src="http://voidandany.free.fr/wp-content/uploads/AmpJuke_0.8.4_welcome.png1.jpeg" alt="" width="600" height="468" /></a>Pré-requis matériel au dela des capacités du Dockstar :</p>
<p>&laquo;&nbsp;Access to a Computer w. min. 500MB memory, and a CPU running not less than 800MHz.&nbsp;&raquo;</p>
<ul>
</ul>
<h3>Music Browser</h3>
<p><a href="http://musicbrowser.sourceforge.net/index.php">Music Browser </a></p>
<p>Plus maintenu depuis 2009 et pas dans mes goûts&#8230;</p>
<p><a href="../wp-content/uploads/screenshot.resized.jpg"><img title="screenshot.resized" src="../wp-content/uploads/screenshot.resized.jpg" alt="" width="640" height="335" /></a></p>
<ul>
</ul>
<h3>Jinzora</h3>
<p><a href="http://en.jinzora.com/">Jinzora &#8211; Jinzora :: Free Your Media!</a></p>
<p><a href="../wp-content/uploads/slick_artists_screenshotlarge.resized.jpg"><img title="slick_artists_screenshotlarge.resized" src="../wp-content/uploads/slick_artists_screenshotlarge.resized.jpg" alt="" width="598" height="480" /></a></p>
<ul>
</ul>
<h3>GNUMP3d</h3>
<p><a href="http://www.gnu.org/software/gnump3d/">GNUMP3d [GNU MP3/Media Streamer]</a></p>
<p>Plus maintenu depuis 2007&#8230;</p>
<h3>Tunez</h3>
<p><a href="http://tunez.sourceforge.net/">Tunez</a></p>
<p>Plus maintenu depuis 2004 (qui dit mieux)</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><em><strong>Sources :</strong></em></span></p>
<p><a rel="bookmark" href="http://blog.sleeplessbeastie.eu/156">Web based media manager</a></p>
<p><a href="http://forums.fedora-fr.org/viewtopic.php?id=24229">ampache &#8211; jinzora &#8211; subsonic &#8211; mp3act &#8211; netjuke etc&#8230;.</a></p>
<p><a href="http://forum.ubuntu-fr.org/viewtopic.php?pid=3961864">Retour d&#8217;experience sur streaming souhaité (Ampache, Jinzora,&#8230;)</a></p>
<p><a href="http://1000umbrellas.com/2011/01/08/my-favorite-ubuntu-linux-music-server">My Favorite Ubuntu Linux Music Server &#8211; 1000umbrellas.com</a></p>
<p>Zeya :</p>
<ul>
<li><a href="http://web.psung.name/zeya/">Zeya: bring your music anywhere</a></li>
<li><a href="http://psung.blogspot.com/2009/07/zeya-bring-your-music-anywhere.html">Zeya: bring your music anywhere &#8212; I Still Know What You Learned Last Summer</a></li>
<li> <a href="http://ubuntuguide.net/zeya-bring-your-music-anywhere-with-a-web-browser">Zeya-bring your music anywhere with a web browser</a></li>
</ul>
<p>Subsonic :</p>
<ul>
<li><a href="http://www.subsonic.org/pages/index.jsp">Subsonic » Free Music Streamer</a></li>
<li><a href="http://www.gizeek.com/2010/06/24/subsonic-votre-musique-partout/">[Tuto]Subsonic: Votre musique, partout. | Gizeek</a></li>
<li><a title="Permanent Link to Install Subsonic on Ubuntu Server" rel="bookmark" href="http://blog.lundscape.com/2009/05/install-subsonic-on-ubuntu-server/">Install Subsonic on Ubuntu Server</a> : installation du WAR sur Tomcat</li>
</ul>
<p>Ampache :</p>
<ul>
<li><a href="http://ampache.org/">Ampache</a></li>
<li><a rel="bookmark" href="http://blog.sleeplessbeastie.eu/165">Web based media manager that suits me best – Ampache</a></li>
<li><a rel="bookmark" href="http://blog.sleeplessbeastie.eu/181">Viridian – python based front-end for an Ampache</a></li>
<li><a href="http://mementolinux.wordpress.com/2010/02/04/ecouter-sa-musique-depuis-un-serveur-distant-grace-a-mpd-et-ampache/">Ecouter sa musique depuis un serveur distant grâce à MPD et AMPACHE</a></li>
<li><a href="http://www.think-underground.com/post/2008/07/08/Ampache-et-votre-collection-de-musique-vous-suit-partout">Ampache&#8230; et votre collection de musique vous suit partout</a></li>
</ul>
<ul>
</ul>
<p>Zina :</p>
<ul>
<li><a href="http://www.linux.com/archive/feed/153895">Managing your MP3s with Zina</a></li>
<li><a href="http://www.pancake.org/zina">Zina</a></li>
</ul>
<p>Blofeld</p>
<ul>
<li><a href="http://github.com/daveisadork/Blofeld">Blofeld</a></li>
<li><a title="Permanent Link to Introducing Blofeld" rel="bookmark" href="http://www.davehayes.org/2010/07/22/introducing-blofeld">Introducing Blofeld</a></li>
</ul>
<p>Streeme :</p>
<ul>
<li><a title="Permanent Link to Streeme on debian with nginx / php-fpm" rel="bookmark" href="http://www.cybermilitia.net/2013/03/21/streeme-on-debian-with-nginx-php-fpm/">Streeme on debian with nginx / php-fpm</a></li>
</ul>
<p>Solutions à base de MPD + IceCast</p>
<ul>
<li><a href="http://www.finiderire.com/post/2010/04/27/MPD-%3A-le-stream-%C3%A9tait-presque-parfait">MPD : le stream était presque parfait</a></li>
<li><a href="http://forum.ubuntu-fr.org/viewtopic.php?id=382213">MPD &amp; Icecast2 (Page 1) / Serveurs / Forum Ubuntu-fr.org</a></li>
<li><a href="http://news.softpedia.com/news/Streaming-Audio-Using-MPD-and-Icecast-52181.shtml">Streaming Audio Using MPD and Icecast &#8211; Softpedia</a></li>
<li><a href="http://fluoblog.wordpress.com/2008/11/10/mpd-icecast/">Faites de la radio avec MPD et IceCast2 « ((fluoblog))</a></li>
<li><a rel="bookmark" href="http://peterebbelink.wordpress.com/2009/02/18/icecast-streaming-server-operational/">IceCast streaming server operational</a></li>
<li><a title="Webradio : MPD + Icecast2 + Pitchfork" href="http://pasfaciletouslesjours.org/2008/01/webradio-mpd-icecast2-pitchfork/">Webradio : MPD + Icecast2 + Pitchfork</a></li>
<li><a title="Music 2.0: Pitchfork" rel="bookmark" href="http://blog.snyke.net/2007/05/10/music-20-pitchfork/">Music 2.0: Pitchfork</a></li>
</ul>
<div id="_mcePaste" class="mcePaste" style="position: absolute; left: -10000px; top: 21753px; width: 1px; height: 1px; overflow: hidden;"><a href="http://sebsauvage.net/wiki/doku.php?id=php:shaarli">sur mon wiki</a>.</div>
]]></content:encoded>
			<wfw:commentRss>http://voidandany.free.fr/index.php/ecouter-sa-musique-partout-sans-google-music-ampache-subsonic-et-co/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
