Skip to content

Commit

Permalink
Release v1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jodal committed Apr 27, 2015
2 parents 022f84d + 9c2aabb commit 8b6d289
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 7 deletions.
15 changes: 15 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ Changelog
This changelog is used to track all major changes to Mopidy.


v1.0.3 (2015-04-28)
===================

Bug fix release.

- HTTP: Another follow-up to the Tornado <3.0 fixing. Since the tests aren't
run for Tornado 2.3 we didn't catch that our previous fix wasn't sufficient.
(Fixes: :issue:`1153`, PR: :issue:`1154`)

- Audio: Follow-up fix for :issue:`1097` still exhibits issues for certain
setups. We are giving this get an other go by setting the buffer size to
maximum 100ms instead of a fixed number of buffers. (Fixes: :issue:`1147`,
PR: :issue:`1154`)


v1.0.2 (2015-04-27)
===================

Expand Down
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ def setup(app):
release = get_version()
version = '.'.join(release.split('.')[:2])

# To make the build reproducible, avoid using today's date in the manpages
today = '2015'

exclude_trees = ['_build']

pygments_style = 'sphinx'
Expand Down
2 changes: 2 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ extension. The cassettes have NFC tags used to select playlists from Spotify.

To get started with Mopidy, start by reading :ref:`installation`.

.. _getting-help:

**Getting help**

If you get stuck, you can get help at the `Mopidy discussion forum
Expand Down
2 changes: 1 addition & 1 deletion mopidy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
warnings.filterwarnings('ignore', 'could not open display')


__version__ = '1.0.2'
__version__ = '1.0.3'
3 changes: 2 additions & 1 deletion mopidy/audio/actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ def _add(self, element):
# All tee branches need a queue in front of them.
# But keep the queue short so the volume change isn't to slow:
queue = gst.element_factory_make('queue')
queue.set_property('max-size-buffers', 15)
queue.set_property('max-size-time', 100 * gst.MSECOND)

self.add(element)
self.add(queue)
queue.link(element)
Expand Down
2 changes: 1 addition & 1 deletion mopidy/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ class BackendListener(listener.Listener):
Marker interface for recipients of events sent by the backend actors.
Any Pykka actor that mixes in this class will receive calls to the methods
defined here when the corresponding events happen in the core actor. This
defined here when the corresponding events happen in a backend actor. This
interface is used both for looking up what actors to notify of the events,
and for providing default implementations for those listeners that are not
interested in all events.
Expand Down
6 changes: 4 additions & 2 deletions mopidy/http/handlers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from __future__ import absolute_import, unicode_literals

import functools
import logging
import os
import socket
Expand Down Expand Up @@ -91,13 +92,14 @@ def broadcast(cls, msg):
if hasattr(tornado.ioloop.IOLoop, 'current'):
loop = tornado.ioloop.IOLoop.current()
else:
loop = tornado.ioloop.IOLoop.instance() # Fallback for 2.3
loop = tornado.ioloop.IOLoop.instance() # Fallback for pre 3.0

# This can be called from outside the Tornado ioloop, so we need to
# safely cross the thread boundary by adding a callback to the loop.
for client in cls.clients:
# One callback per client to keep time we hold up the loop short
loop.add_callback(_send_broadcast, client, msg)
# NOTE: Pre 3.0 does not support *args or **kwargs...
loop.add_callback(functools.partial(_send_broadcast, client, msg))

def initialize(self, core):
self.jsonrpc = make_jsonrpc_wrapper(core)
Expand Down
5 changes: 3 additions & 2 deletions tests/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,6 @@ def test_versions_can_be_strictly_ordered(self):
self.assertVersionLess('0.19.4', '0.19.5')
self.assertVersionLess('0.19.5', '1.0.0')
self.assertVersionLess('1.0.0', '1.0.1')
self.assertVersionLess('1.0.1', __version__)
self.assertVersionLess(__version__, '1.0.3')
self.assertVersionLess('1.0.1', '1.0.2')
self.assertVersionLess('1.0.2', __version__)
self.assertVersionLess(__version__, '1.0.4')

0 comments on commit 8b6d289

Please sign in to comment.