Merge branch 'develop' into gstreamer-local-backend
This commit is contained in:
commit
e566e7acc2
@ -9,9 +9,10 @@ in Spotify's vast archive, manage playlists, and play music, you can use most
|
||||
platforms, including Windows, Mac OS X, Linux, and iPhone and Android phones.
|
||||
|
||||
To install Mopidy, check out
|
||||
`the installation docs <http://www.mopidy.com/docs/installation/>`_.
|
||||
`the installation docs <http://www.mopidy.com/docs/master/installation/>`_.
|
||||
|
||||
* `Documentation <http://www.mopidy.com/>`_
|
||||
* `Documentation <http://www.mopidy.com/docs/master/>`_
|
||||
* `Documentation (development version) <http://www.mopidy.com/docs/develop/>`_
|
||||
* `Source code <http://github.com/jodal/mopidy>`_
|
||||
* `Issue tracker <http://github.com/jodal/mopidy/issues>`_
|
||||
* IRC: ``#mopidy`` at `irc.freenode.net <http://freenode.net/>`_
|
||||
|
||||
@ -58,6 +58,8 @@ Code style
|
||||
Commit guidelines
|
||||
=================
|
||||
|
||||
- We follow the development process described at http://nvie.com/git-model.
|
||||
|
||||
- Keep commits small and on topic.
|
||||
|
||||
- If a commit looks too big you should be working in a feature branch not a
|
||||
@ -107,8 +109,7 @@ Continuous integration server
|
||||
|
||||
We run a continuous integration server called Hudson at
|
||||
http://hudson.mopidy.com/ that runs all test on multiple platforms (Ubuntu, OS
|
||||
X, etc.) for every commit we push to GitHub. If the build is broken or fixed,
|
||||
Hudson will issue notifications to our IRC channel.
|
||||
X, etc.) for every commit we push to GitHub.
|
||||
|
||||
In addition to running tests, Hudson also does coverage statistics and uses
|
||||
pylint to check for errors and possible improvements in our code. So, if you're
|
||||
@ -135,9 +136,16 @@ Then, to generate docs::
|
||||
|
||||
.. note::
|
||||
|
||||
The documentation at http://www.mopidy.com/docs/ is automatically updated
|
||||
within 10 minutes after a documentation update is pushed to
|
||||
``jodal/mopidy/master`` at GitHub.
|
||||
The documentation at http://www.mopidy.com/ is automatically updated when a
|
||||
documentation update is pushed to ``jodal/mopidy`` at GitHub.
|
||||
|
||||
Documentation generated from the ``master`` branch is published at
|
||||
http://www.mopidy.com/docs/master/, and will always be valid for the latest
|
||||
release.
|
||||
|
||||
Documentation generated from the ``develop`` branch is published at
|
||||
http://www.mopidy.com/docs/develop/, and will always be valid for the
|
||||
latest development snapshot.
|
||||
|
||||
|
||||
Creating releases
|
||||
|
||||
@ -300,7 +300,7 @@ def seek(frontend, songpos, seconds):
|
||||
"""
|
||||
if frontend.backend.playback.current_playlist_position != songpos:
|
||||
playpos(frontend, songpos)
|
||||
return frontend.backend.playback.seek(int(seconds) * 1000)
|
||||
frontend.backend.playback.seek(int(seconds) * 1000)
|
||||
|
||||
@handle_pattern(r'^seekid "(?P<cpid>\d+)" "(?P<seconds>\d+)"$')
|
||||
def seekid(frontend, cpid, seconds):
|
||||
@ -313,7 +313,7 @@ def seekid(frontend, cpid, seconds):
|
||||
"""
|
||||
if frontend.backend.playback.current_cpid != cpid:
|
||||
playid(frontend, cpid)
|
||||
return frontend.backend.playback.seek(int(seconds) * 1000)
|
||||
frontend.backend.playback.seek(int(seconds) * 1000)
|
||||
|
||||
@handle_pattern(r'^setvol "(?P<volume>[-+]*\d+)"$')
|
||||
def setvol(frontend, volume):
|
||||
|
||||
@ -30,6 +30,9 @@ class BaseProcess(multiprocessing.Process):
|
||||
except ImportError as e:
|
||||
logger.error(e)
|
||||
sys.exit(1)
|
||||
except Exception as e:
|
||||
logger.exception(e)
|
||||
raise e
|
||||
|
||||
def run_inside_try(self):
|
||||
raise NotImplementedError
|
||||
|
||||
Loading…
Reference in New Issue
Block a user