<?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>Linux etc. &#187; Quod Libet</title>
	<atom:link href="http://promberger.info/linux/category/quod-libet/feed/" rel="self" type="application/rss+xml" />
	<link>http://promberger.info/linux</link>
	<description>my outsourced memory for your perusal</description>
	<lastBuildDate>Thu, 08 Sep 2011 11:06:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Quod Libet plugin &#8220;Open terminal here&#8221;</title>
		<link>http://promberger.info/linux/2008/03/10/quod-libet-plugin-open-terminal-here/</link>
		<comments>http://promberger.info/linux/2008/03/10/quod-libet-plugin-open-terminal-here/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 10:50:10 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Quod Libet]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/2008/03/10/quod-libet-plugin-open-terminal-here/</guid>
		<description><![CDATA[I think I &#8220;wrote&#8221; a plugin for Quod Libet. &#8220;Wrote&#8221; meaning I copied and modified an existing plugin until it did what I want it to do: it opens an Xfce terminal window in the directory that contains the current song. I&#8217;m pretty sure I wrote this file, but it was back in November, I [...]]]></description>
			<content:encoded><![CDATA[<p>I think I &#8220;wrote&#8221; a plugin for Quod Libet. &#8220;Wrote&#8221; meaning I copied and modified an existing plugin until it did what I want it to do: it opens an Xfce terminal window in the directory that contains the current song. I&#8217;m pretty sure I wrote this file, but it was back in November, I didn&#8217;t put an appropriate comment in the plugin file, so if anyone else wants to claim authorship, go ahead and let me know. </p>
<p>Just create a file &#8220;openterminal.py&#8221; with the following content:</p>
<pre class="blackonwhite">
import gtk
from qltk import ErrorMessage
from plugins.songsmenu import SongsMenuPlugin
from qltk.entry import ValidatingEntry
import util
import config
import os

class BrowseFolders(SongsMenuPlugin):
    PLUGIN_ID = 'Open Terminal'
    PLUGIN_NAME = _('Open Terminal')
    PLUGIN_DESC = "Open an XFCE terminal at this location"
    PLUGIN_ICON = 'gtk-about'
    PLUGIN_VERSION = '0.1'

    def plugin_songs(self, songs):
        dirs = dict.fromkeys([song('~dirname') for song in songs]).keys()[0]
        os.system('xfce4-terminal --working-directory=%s' % dirs)
</pre>
<p>Put it either into the directory <code>~/.quodlibet/plugins/songsmenu</code> (then it will only work for you) or into <code>/usr/share/quodlibet/plugins/songsmenu/</code> for system-wide installation.</p>
<p>It works for me, but it may contain errors. Use at your own risk.</p>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2008/03/10/quod-libet-plugin-open-terminal-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quod Libet: last.fm scrobbler plugin error solved</title>
		<link>http://promberger.info/linux/2007/11/12/quod-libet-lastfm-scrobbler-plugin-error-solved/</link>
		<comments>http://promberger.info/linux/2007/11/12/quod-libet-lastfm-scrobbler-plugin-error-solved/#comments</comments>
		<pubDate>Mon, 12 Nov 2007 10:56:14 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Quod Libet]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/2007/11/12/quod-libet-lastfm-scrobbler-plugin-error-solved/</guid>
		<description><![CDATA[Activating the last.fm plugin for scrobbler submission resulted in this error: ImportError: no module named lastfm It works after sudo aptitude install lastfmsubmitd During installation, leave last.fm login and password blank (I don&#8217;t want to have this report system-wide under my name) and set permission for group audio. Then, set your username and password directly [...]]]></description>
			<content:encoded><![CDATA[<p>Activating the last.fm plugin for scrobbler submission resulted in this error:</p>
<pre>ImportError: no module named lastfm</pre>
<p>It works after</p>
<pre>sudo aptitude install lastfmsubmitd</pre>
<p>During installation, leave last.fm login and password blank (I don&#8217;t want to have this report system-wide under my name) and set permission for group <code>audio</code>. Then, set your username and password directly in the last.fm audioscrobbler plugin.</p>
<h3>Addendum</h3>
<p>It seems I don&#8217;t even need this. Quod Libet (1.0) on the laptop shows the same error message, no matter whether I have the &#8220;Audioscrobbler Submission&#8221; plugin activated or not. (The error message shows up when I click on the &#8220;Show Errors&#8221; button in the plugins selector window). However, activating the plugin and entering last.fm username and password scrobbles just fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2007/11/12/quod-libet-lastfm-scrobbler-plugin-error-solved/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

