Fix unwanted behaviour of the global mouse hook

Fix bug which caused the global mouse hook to execute multiple times for
the same event. Additionally, this commit shortens the initialization of
the gtk.HPane's used in the main window.

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Add vim's tempfiles to .gitignore

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Invert condition for last.fm nowplaying messages

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Add preliminary support for video playback

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Avoid race condition when updating lyrics

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Add is_video property to BlaTrack

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
A few PEP8 fixes

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Finish preliminary support for video playback

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Add .gitattributes file for contextual diffs

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Rewrite the config back end

This rewrite wraps the config in a singleton class instance which
derives from RawConfigParser and gobject.GObject so we can emit a
"changed" signal when options change. The singleton is implemented with
a metaclass in blautil (BlaSingleton).

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
blabrowsers.py: use action constant instead of...

an integer literal to determine the button action in BlaTreeView's
button-press-event handler. Additionally, simplify color selection
in the custom CellRenderer.

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Clamp alpha value of cover art between 0 and 1

This commit also moves the constants associated with the ordered
set implementation from module scope into the class definition.

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Move library model class from bladb to blabrowsers

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Add support for secondary debugging level

This adds support for controlling the granularity of debugging. Right
now, this is limited to an additional timestamp before the position
of the printed message in the source code. In the future we might use it
for more verbose debugging logs. Additionally, this commit removes a
redundant import of the __builtin__ module as it is already accessible
via the __builtins__ object.

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Add home button to filesystem browser (closes #13)

This commit also gets rid of code duplication previously used when
adding the buttons to the filesystem browser's toolbar.

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Expand ~ in filesystem browser

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Forbid "send to current playlist" on filtered list

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Fix regression with reaching the end of a playlist

The playlist rewrite introduced a regression which would not emit a
signal when there were no more items left to play in a playlist. This
means the player never transitioned to the stopped state by itself
anymore. This commit closes #11.

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Rename BlaPlayer's seek signal to seeked

Additionally, emit the new position in the stream as parameter.

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Add get_state_string() method to BlaPlayer

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>