<?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>Eugeni&#039;s blog &#187; music</title>
	<atom:link href="http://dodonov.net/blog/category/music/feed/" rel="self" type="application/rss+xml" />
	<link>http://dodonov.net/blog</link>
	<description>My view on technology, open-source, Linux and other cool things.</description>
	<lastBuildDate>Sun, 29 Jan 2012 15:11:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>micro mpd-client :)</title>
		<link>http://dodonov.net/blog/2009/04/20/micro-mpd-client/</link>
		<comments>http://dodonov.net/blog/2009/04/20/micro-mpd-client/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 20:08:24 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mandriva]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=371</guid>
		<description><![CDATA[I am using MPD to play my small collection of mp3: [eugeni@eugeni 16:53:31 ~] $ mpc stats Artists: 787 Albums: 747 Songs: 9112 Everything is controlled by keybinding &#8211; for example, to run the play command, I press &#60; Super >+Up; to run next command I press &#60; Super >+Right, and so on. These shortcuts <a href='http://dodonov.net/blog/2009/04/20/micro-mpd-client/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I am using <a href="http://www.musicpd.org" onclick="urchinTracker('/outgoing/www.musicpd.org?referer=');">MPD</a> to play my small collection of mp3:</p>

<pre><code>[eugeni@eugeni 16:53:31 ~] $ mpc stats
Artists:    787
Albums:     747
Songs:     9112
</code></pre>

<p>Everything is controlled by keybinding &#8211; for example, to run the <strong>play</strong> command, I press <strong>&lt; Super >+Up</strong>; to run <strong>next</strong> command I press <strong>&lt; Super >+Right</strong>, and so on. These shortcuts start a small client to mpd, which is nothing more than a shell script which:</p>

<ol>
<li>Starts MPD if it is not running (I do not start it on startup to save a few seconds of boot time)</li>
<li>Runs mpdscribble in background to update the <a href="http://www.last.fm/users/eugeni_dodonov" onclick="urchinTracker('/outgoing/www.last.fm/users/eugeni_dodonov?referer=');">LAST.FM</a> statistics</li>
<li>Runs all required MPD commands</li>
<li>And displays the results in a nice way</li>
</ol>

<p>And it is multi-distro-oriented by the way <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>

<pre><code>    #!/bin/bash

    # Is mpd running
    mpc status 2&gt; /dev/null
    ret=$?
    if [ ! "$ret" = "0" ]; then
            notify-send -i audio "Music" "Starting mpd.."
            # are we on arch linux?
            if [ -x "/etc/rc.d/mpd" ]; then
                    sudo /etc/rc.d/mpd start
            else
                    sudo su -c "service mpd start"
            fi
            # starting mpdscribble
            mpdscribble
           # starting sonata
            sonata --hidden
    fi

    mpc $*
    # Some black magick to get a bit more advanced mpd status
    # and convert it to shell variables
    eval `echo -e 'status\ncurrentsong\nclose\n' | \
        nc localhost 6600 | \
        sed -e '/OK/d' -e 's/: \(.*\)/="\1"/g'`
    # show the results
    notify-send -i audio "$Artist - $Album - $Title" \
        "$(mpc status | sed -e 's/&amp;/and/g')"
</code></pre>

<p>Just yet one another script which contributes to world&#8217;s entropy <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2009/04/20/micro-mpd-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Iron Maiden, here we go!</title>
		<link>http://dodonov.net/blog/2008/12/03/iron-maiden-here-we-go/</link>
		<comments>http://dodonov.net/blog/2008/12/03/iron-maiden-here-we-go/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 12:05:21 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[metal]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/?p=202</guid>
		<description><![CDATA[No dia 15 de março de 2009 (que já está chegando!) Iron Maiden estará em São Paulo novamente, em Interlagos. A venda de ingressos começou ontem a meia-noite, e as 00:02 mais ou menos o meu já estava comprado. E (obviamente) ele não foi o primeiro, mais ou menos umas 100 pessoas tinham comprado antes <a href='http://dodonov.net/blog/2008/12/03/iron-maiden-here-we-go/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>No dia 15 de março de 2009 (que já está chegando!) Iron Maiden estará em São Paulo novamente, em Interlagos.</p>

<p>A venda de ingressos começou ontem a meia-noite, e as 00:02 mais ou menos o meu já estava comprado.</p>

<p>E (obviamente) ele não foi o primeiro, mais ou menos umas 100 pessoas tinham comprado antes de mim já (pelo menos, o número de série no ingresso diz isso).</p>

<p>Agora só esperar&#8230;</p>

<p>Up the irons! <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2008/12/03/iron-maiden-here-we-go/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Death Magnetic &#8211; review</title>
		<link>http://dodonov.net/blog/2008/09/05/death-magnetic-review/</link>
		<comments>http://dodonov.net/blog/2008/09/05/death-magnetic-review/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 02:48:42 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[metal]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/2008/09/05/death-magnetic-review/</guid>
		<description><![CDATA[Bem, depois de ouvir por alguns dias o Death Magnetic de Metallica, mudei a minha opinião sobre ele (e para melhor!). Acho que é um dos melhores CDs de Metallica dos últimos tempos. Com excessão de S&#38;M, é o melhor CD desde o Black Album. Tá certo que Load e Reload tinham algumas músicas excepcionais, <a href='http://dodonov.net/blog/2008/09/05/death-magnetic-review/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://dodonov.net/blog/wp-content/uploads/2008/09/200px-metallica_death_magnetic.jpg" title="Death Magnetic" alt="Death Magnetic" align="left" />Bem, depois de ouvir por alguns dias o Death Magnetic de Metallica, mudei a minha opinião sobre ele (e para melhor!). Acho que é um dos melhores CDs de Metallica dos últimos tempos. Com excessão de S&amp;M, é o melhor CD desde o Black Album. Tá certo que Load e Reload tinham algumas músicas excepcionais, mas.. foram só <strong>algumas</strong> músicas do cd.</p>

<p>De forma geral, o CD é muito bom. Todas as músicas são bem diferentes. Algumas são repetitivas dentro de si (e todas são bem longas), mas nem tanto quanto no St. Anger. Temos mais solos também, os riffs são mais marcantes, e o som em si parece ser muito mais detalhado (ao contrário do St. Anger, onde o CD inteiro parece ser tocado num ensaio).</p>

<p>E agora com mais detalhes sobre as músicas:</p>

<ul>
    <li>That Was Just Your Life &#8211; introdução lenta que se transforma num riff muito bom.  Em alguns pontos fica muito repetitivo, mas em geral eu daria nota 8/10 para ele.</li>
    <li> The End of the Line &#8211; muito bom. Só achei que fica muito repetitivo em alguns pontos também. 8/10.</li>
    <li>Broken, Beat &amp; Scarred &#8211; um dos melhores riffs do cd. Ele fica na cabeça e não sai mais. 8/10.</li>
    <li>The Day That Never Comes &#8211; achei ideia similar ao One. Tem alguns trechos que se repetem demais, mas a música não deixa de ser boa. Não é a minha favorita deste cd. 7/10.</li>
    <li>All Nightmare Long &#8211; uma das músicas mais rápidas do CD. E uma das que mais gostei. 9/10.</li>
    <li>Cyanide &#8211; achei muito boa também. Tem algumas variações inesperadas no meio da música (boas). 8/10.</li>
    <li>The Unforgiven III &#8211; falem a verdade, essa é a música que todo mundo mais esperou <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . E é a música mais &#8220;leve&#8221; do cd. É bastante diferente de Unforgiven I e Unforgiven II, mas tem o mesmo tema. Também tem alguns arranjos inesperados de um cd de Metallica (piano e instrumentos de sopro, aparentemente). No meio da música eu achei que fica um pouco mais fraca a letra, mas em geral gostei da música (embora menos que de Unforgiven e Unforgiven II). 7/10.</li>
    <li>The Judas Kiss &#8211; música bastante pesada. Achei que do CD inteiro é a que mais lembra o St. Anger pelo som, mas tem um solo marcante. 8/10.</li>
    <li>Suicide &amp; Redemption &#8211; depois de muitos anos, uma música instrumental de Metallica. Um detalhe importante &#8211; música intrumental de quase 10 minutos! 7/10.</li>
    <li>My Apocalypse &#8211; pelos reviews que eu li na Internet, é a música que o pessoal tem gostado menos. Na minha opinião, é uma das melhores deste cd, e é uma das mais rápidas. 8/10.</li>
</ul>

<p>De forma geral, achei o Death Magnetic muito bom. Não é o melhor CD de Metallica até agora, mas definitavamente é um CD bom.</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2008/09/05/death-magnetic-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Death Magnetic</title>
		<link>http://dodonov.net/blog/2008/09/03/death-magnetic/</link>
		<comments>http://dodonov.net/blog/2008/09/03/death-magnetic/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 20:10:09 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/2008/09/03/death-magnetic/</guid>
		<description><![CDATA[Após ouvir o novo CD de Metallica, fiquei com impressão meio dividida. Por um lado, achei esse cd bem melhor que o St. Anger. Por outro lado, acho que esperava mais de Metallica &#8211; ainda mais depois do intervalo que eles deram do último para o atual. Anyway, acho que vou ficar ouvindo ele por <a href='http://dodonov.net/blog/2008/09/03/death-magnetic/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Após ouvir o novo CD de Metallica, fiquei com impressão meio dividida.</p>

<p>Por um lado, achei esse cd bem melhor que o St. Anger. Por outro lado, acho que esperava mais de Metallica &#8211; ainda mais depois do intervalo que eles deram do último para o atual.</p>

<p>Anyway, acho que vou ficar ouvindo ele por um bom tempo ainda.</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2008/09/03/death-magnetic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python scripting</title>
		<link>http://dodonov.net/blog/2008/06/27/python-scripting/</link>
		<comments>http://dodonov.net/blog/2008/06/27/python-scripting/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 17:27:50 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[music]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/2008/06/27/python-scripting/</guid>
		<description><![CDATA[Talvez pode ser útil para alguém . Este script pega a lista de músicas do mpd, seleciona um playlist aleatório, e coloca no ipod shuffle. !/usr/bin/python import os,random ipod mountpoint - must be mounted! MOUNTPOINT="/mnt/ipod" def get_files(): '''Reads the list of mp3 files from mpd database''' data = open(".mpd.db").readlines() files = [] for l in <a href='http://dodonov.net/blog/2008/06/27/python-scripting/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Talvez pode ser útil para alguém <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>

<p>Este script pega a lista de músicas do mpd, seleciona um playlist aleatório, e coloca no ipod shuffle.</p>

<p><pre>
<code></p>

<h1>!/usr/bin/python</h1>

<p>import os,random</p>

<h1>ipod mountpoint - must be mounted!</h1>

<p>MOUNTPOINT="/mnt/ipod"</p>

<p>def get_files():
    '''Reads the list of mp3 files from mpd database'''
    data = open(".mpd.db").readlines()
    files = []
    for l in data:
        fields = l.strip().split(":",2)
        if len(fields) &lt; 2:
            continue
        if fields[0] == "file":
            files.append(fields[1].strip())
    return files</p>

<p>def get_free_space():
    '''Gets available space from IPOD partition'''
    line = os.popen("df -k %s | awk '{print $4}'" % MOUNTPOINT).readlines()[-1]
    return int(line)</p>

<p>def fullcp(file, target):
    '''copies file and directory structure'''
    os.system('tar cf - "%s" | (cd %s &amp;&amp; tar xf -)' % (file, target))</p>

<p>if <strong>name</strong> == "<strong>main</strong>":
    try:
        os.mkdir("%s/mp3" % MOUNTPOINT)
    except:
        print "Not creating %s/mp3!" % MOUNTPOINT
    files = get_files()
    freespace = get_free_space()
    while 1:
        # pega arquivo aleatorio
        pos = random.randint(0, len(files))
        curfile = files[pos]
        del files[pos]
        # determina o tamanho
        res = os.stat(curfile)
        size = res[6] / 1000
        if freespace - size &lt; 1:
            break
        freespace -= size
        # copia
        print "Copying [%8dK left]: %s" % (freespace, curfile)
        fullcp(curfile, "%s/mp3/" % MOUNTPOINT)
</code>
</pre></p>

<p>É melhor usar ele junto com <a href="http://shuffle-db.sourceforge.net/" onclick="urchinTracker('/outgoing/shuffle-db.sourceforge.net/?referer=');">Shuffle-DB</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2008/06/27/python-scripting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aria and other news</title>
		<link>http://dodonov.net/blog/2006/09/27/aria-and-other-news/</link>
		<comments>http://dodonov.net/blog/2006/09/27/aria-and-other-news/#comments</comments>
		<pubDate>Wed, 27 Sep 2006 04:25:12 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[music]]></category>
		<category><![CDATA[portuguese]]></category>
		<category><![CDATA[site]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/2006/09/27/aria-and-other-news/</guid>
		<description><![CDATA[Bem, como ficou meio parado o blog por esses dias &#8212; mais por causa de outros projetos, mas também para eu conseguir finalmente finalizar algumas coisas para a usp . Entre as novidades &#8212; a TDNN está funcionando finalmente (nem eu acredito nisso)! Entre outras novidades &#8212; finalmente aprendi a usar o LAST.FM, realmente é <a href='http://dodonov.net/blog/2006/09/27/aria-and-other-news/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Bem, como ficou meio parado o blog por esses dias &#8212; mais por causa de <a href="http://dodonov.net/mundoti/">outros projetos</a>, mas também para eu conseguir finalmente finalizar algumas coisas para a usp <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>

<p>Entre as novidades &#8212; a TDNN está funcionando finalmente (nem eu acredito nisso)!</p>

<p>Entre outras novidades &#8212; finalmente aprendi a usar o <a href="http://last.fm/" onclick="urchinTracker('/outgoing/last.fm/?referer=');">LAST.FM</a>, realmente é o que o orkut podia ter sido mas não foi <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> .</p>

<p>E, como uma das novidades principais <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , o novo cd de Ariya está praticamente decorado já. Mas também, após andar a pé semana passada (e essa também &#8212; tadinho do carro que não sai do mecânico) só escutando esse CD&#8230; <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2006/09/27/aria-and-other-news/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Evanescence!!!</title>
		<link>http://dodonov.net/blog/2006/09/13/evanescence/</link>
		<comments>http://dodonov.net/blog/2006/09/13/evanescence/#comments</comments>
		<pubDate>Wed, 13 Sep 2006 02:02:30 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[music]]></category>
		<category><![CDATA[portuguese]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/2006/09/13/evanescence/</guid>
		<description><![CDATA[Evanescence &#8212; The Open Door. Esperei, esperei, e finalmente aqui está ele, o novo cd de evanescence! BitTorrent é o que há!]]></description>
			<content:encoded><![CDATA[<p>Evanescence &#8212; The Open Door.</p>

<p>Esperei, esperei, e finalmente aqui está ele, o novo cd de evanescence! BitTorrent é o que há! <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2006/09/13/evanescence/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mp3 updates</title>
		<link>http://dodonov.net/blog/2006/08/28/mp3-updates/</link>
		<comments>http://dodonov.net/blog/2006/08/28/mp3-updates/#comments</comments>
		<pubDate>Mon, 28 Aug 2006 01:53:21 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[music]]></category>
		<category><![CDATA[portuguese]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/2006/08/28/mp3-updates/</guid>
		<description><![CDATA[Novidades na coleção &#8211; Harizma (russo), GoDo (russo), Tochka Rosy (russo), neNasty (russo), Kluchi (russo), IRON MAIDEN (ingles ). Os melhores &#8211; Iron e Harizma. Harizma foi a melhor surpresa musical dos últimos para mim.]]></description>
			<content:encoded><![CDATA[<p>Novidades na coleção &#8211; Harizma (russo), GoDo (russo), Tochka Rosy (russo), neNasty (russo), Kluchi (russo), IRON MAIDEN (ingles <img src='http://dodonov.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ).</p>

<p>Os melhores &#8211; Iron e Harizma. Harizma foi a melhor surpresa musical dos últimos para mim.</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2006/08/28/mp3-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Iron Maiden!!</title>
		<link>http://dodonov.net/blog/2006/08/28/iron-maiden/</link>
		<comments>http://dodonov.net/blog/2006/08/28/iron-maiden/#comments</comments>
		<pubDate>Mon, 28 Aug 2006 01:50:38 +0000</pubDate>
		<dc:creator>eugeni</dc:creator>
				<category><![CDATA[music]]></category>
		<category><![CDATA[portuguese]]></category>

		<guid isPermaLink="false">http://dodonov.net/blog/2006/08/28/iron-maiden/</guid>
		<description><![CDATA[O novo cd do Iron é simplesmente SEM NOÇÃO!!!]]></description>
			<content:encoded><![CDATA[<p>O novo cd do Iron é simplesmente <strong>SEM NOÇÃO</strong>!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://dodonov.net/blog/2006/08/28/iron-maiden/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: dodonov.net @ 2012-02-04 13:41:29 -->
