Merge remote branch 'knutz3n/master'
This commit is contained in:
commit
fa72049e9d
@ -29,6 +29,11 @@ We got an updated :doc:`release roadmap <development/roadmap>`!
|
|||||||
- ``noidle`` command now returns ``OK`` instead of an error. Should make some
|
- ``noidle`` command now returns ``OK`` instead of an error. Should make some
|
||||||
clients work a bit better.
|
clients work a bit better.
|
||||||
|
|
||||||
|
- Libspotify backend:
|
||||||
|
|
||||||
|
- Fix choppy playback using the Libspotify backend by using blocking ALSA
|
||||||
|
mode. (Fixes: GH-7)
|
||||||
|
|
||||||
|
|
||||||
0.1.0a2 (2010-06-02)
|
0.1.0a2 (2010-06-02)
|
||||||
====================
|
====================
|
||||||
|
|||||||
@ -15,6 +15,8 @@ from mopidy.backends import (BaseBackend, BaseCurrentPlaylistController,
|
|||||||
from mopidy.models import Artist, Album, Track, Playlist
|
from mopidy.models import Artist, Album, Track, Playlist
|
||||||
from mopidy.utils import spotify_uri_to_int
|
from mopidy.utils import spotify_uri_to_int
|
||||||
|
|
||||||
|
import alsaaudio
|
||||||
|
|
||||||
logger = logging.getLogger('mopidy.backends.libspotify')
|
logger = logging.getLogger('mopidy.backends.libspotify')
|
||||||
|
|
||||||
ENCODING = 'utf-8'
|
ENCODING = 'utf-8'
|
||||||
@ -180,7 +182,7 @@ class LibspotifySessionManager(SpotifySessionManager, threading.Thread):
|
|||||||
threading.Thread.__init__(self)
|
threading.Thread.__init__(self)
|
||||||
self.core_queue = core_queue
|
self.core_queue = core_queue
|
||||||
self.connected = threading.Event()
|
self.connected = threading.Event()
|
||||||
self.audio = audio_controller_class()
|
self.audio = audio_controller_class(alsaaudio.PCM_NORMAL)
|
||||||
self.session = None
|
self.session = None
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user