From 8065aa1a44f591d1c9e9257ab90914d6c347157f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristoffer=20Gr=C3=B6nlund?= Date: Wed, 30 Dec 2009 04:12:02 +0100 Subject: [PATCH] Disable hardware decoding on the n900 --- jamaui/player.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jamaui/player.py b/jamaui/player.py index 8274662..9560934 100644 --- a/jamaui/player.py +++ b/jamaui/player.py @@ -54,7 +54,7 @@ class GStreamer(object): # 1. Weird volume bugs in playbin when playing ogg or wma files # 2. When seeking the DSPs sometimes lie about the real position info if util.platform == 'maemo': - if not self._maemo_setup_hardware_player(filetype): + if True or not self._maemo_setup_hardware_player(filetype): self._maemo_setup_software_player() log.debug( 'Using software decoding (maemo)' ) else: @@ -214,6 +214,8 @@ class Playlist(object): return "{%s}" % (", ".join([str(self.name), str(self.numalbum), str(self.url)])) def __init__(self, items = []): + if items is None: + items = [] self.items = [Playlist.Entry(item) for item in items] self.current = -1 -- 1.7.9.5