Commit Graph

6038 Commits

Author SHA1 Message Date
Thomas Adamcik
3cb9eb52f0 Merge pull request #975 from jodal/feature/core-mixer
Add core.mixer replacing playback mixer methods.
2015-02-12 23:50:04 +01:00
Stein Magnus Jodal
8e4b019127 audio: Update #886 workaround to work with new audio APIs 2015-02-12 23:34:33 +01:00
Stein Magnus Jodal
83a5246074 Merge pull request #980 from adamcik/feature/add-tags-and-duration-to-local-library-add
Add tags and duration to local library add()
2015-02-12 23:26:13 +01:00
Stein Magnus Jodal
172633a2d8 Merge branch 'release/v0.19.x' into develop
Conflicts:
	mopidy/audio/actor.py
	setup.cfg
2015-02-12 23:18:56 +01:00
Stein Magnus Jodal
80516cab01 Merge branch 'master' into release/v0.19.x
Conflicts:
	mopidy/audio/playlists.py
2015-02-12 23:17:29 +01:00
Stein Magnus Jodal
77128e4b68 flake8: Fix new warnings after flake8 upgrade
(cherry picked from commit a693993905)

Conflicts:
	mopidy/audio/actor.py
	mopidy/audio/playlists.py
2015-02-12 23:14:17 +01:00
Stein Magnus Jodal
5a6eb78137 docs: Update changelog for PR#958 2015-02-12 23:11:29 +01:00
Stein Magnus Jodal
28e53718ff Merge PR#958 from jcass77 into develop
Conflicts:
	mopidy/audio/actor.py
2015-02-12 23:08:02 +01:00
Thomas Adamcik
38158b4430 local: Minor docstring review corrections 2015-02-12 22:48:05 +01:00
Stein Magnus Jodal
e938fb0a7f Merge pull request #965 from ZenithDK/fix/flake-lambda
flake8: fix PEP8 warnings about lambda
2015-02-12 22:22:53 +01:00
Lasse Bigum
34ada2784a flake8: fix PEP8 warnings about lambda
Fix the 'lambda to def' warnings
2015-02-12 22:10:36 +01:00
Thomas Adamcik
663cdf929d docs: Add tags/duration local addition to changelog 2015-02-12 21:13:50 +01:00
Thomas Adamcik
12cc2ed35c local: Call library add with tags and duration if asked to 2015-02-12 21:10:21 +01:00
Thomas Adamcik
69d3f90628 Merge pull request #979 from jodal/feature/trace-logging
Add support for TRACE level logging
2015-02-12 20:08:49 +01:00
Stein Magnus Jodal
ece54b68d1 log: Support -vvvv to not filter logs at all 2015-02-12 19:29:14 +01:00
Stein Magnus Jodal
79dbc652e0 log: Define TRACE log level with name and color 2015-02-12 18:12:56 +01:00
Stein Magnus Jodal
df67d708db config: Add support for 'all' loglevel
Equal to logging.NOTSET or 0 in the logging module.
2015-02-12 18:12:33 +01:00
Stein Magnus Jodal
e1fa76a48e mpd: Use core.mixer for volume/mute 2015-02-12 10:31:16 +01:00
Stein Magnus Jodal
91bcdddf56 tests: Use core.mixer for volume/mute 2015-02-12 10:31:16 +01:00
Stein Magnus Jodal
42115c56f7 core: Add mixer controller (fixes: #962)
Deprecate volume and mute methods on playback controller.
2015-02-12 10:31:16 +01:00
Thomas Adamcik
cc3e9d5597 Merge pull request #969 from jodal/feature/deprecate-core-properties
Deprecate properties in the Core API
2015-02-11 01:00:39 +01:00
Stein Magnus Jodal
8f8fa4d414 core: Emit deprecation warnings
The warnings appear as warning level log messages if running Python on
the mopidy/ directory like this:

    python -W all mopidy -v

or:

    python -W all mopidy -o loglevels/py.warnings=warning

We don't suppress warnings when Pykka is the caller in general, but just
when Pykka is looking at all properties to create its actor proxies.

When a deprecated property is used from another Pykka actor, only the
stack for the current actor thread is available for inspection, so the
warning cannot show where the actual call site in the other actor thread
is. Though, if the warnings are made exceptions with:

    python -W error mopidy

then the stack traces will include the frames from all involved actor
threads, showing where the original call site is.
2015-02-11 00:29:52 +01:00
Stein Magnus Jodal
5827e45c34 core: Use getters/setters internally in core
This fixes all the easy-to-track warnings.
2015-02-11 00:17:12 +01:00
Stein Magnus Jodal
352de135cd core: Deprecate properties (fixes #952) 2015-02-11 00:17:12 +01:00
Stein Magnus Jodal
1b6db5695d core: current_metadata_track is TlTrack, not Track 2015-02-10 23:43:16 +01:00
Stein Magnus Jodal
b7ed2b8681 core: Fix variable naming, style 2015-02-10 23:12:03 +01:00
Thomas Adamcik
fcab27b5da Merge pull request #938 from AlexandrePTJ/feature/frontend_audioevents
Propagate stream metadata
2015-02-10 21:07:22 +01:00
Stein Magnus Jodal
4c7ad57e73 mpd: Capitalize abbrevations in docstrings 2015-02-09 13:31:27 +01:00
Stein Magnus Jodal
52457df525 Merge pull request #968 from kingosticks/fix/session-playlist-uri-mapping
Share MPD playlist uri mapping between sessions
2015-02-09 13:26:40 +01:00
Stein Magnus Jodal
888af61773 docs: Update authors 2015-02-09 13:19:05 +01:00
Stein Magnus Jodal
75955822b7 docs: Remove ext steps from source install docs
Maintaining multiple copies of instructions for how to install specific
extensions doesn't scale well.
2015-02-09 13:16:18 +01:00
Stein Magnus Jodal
0ec9212146 docs: Break lines and tweak changes from PR#959 2015-02-09 13:13:51 +01:00
kingosticks
0de13994c2 Moved MPDUriMapper to own file and updated changelog 2015-02-09 12:07:17 +00:00
Stein Magnus Jodal
adb3df97db Merge branch Lixxia/docs/install_from_source 2015-02-09 13:05:37 +01:00
Stein Magnus Jodal
efd48d864f flake8: Fix new warnings after flake8 upgrade
(cherry picked from commit a693993905)

Conflicts:
	mopidy/audio/actor.py
	mopidy/audio/playlists.py
2015-02-09 00:56:47 +01:00
kingosticks
037a88aece First playlist mapping refresh deferred until needed 2015-02-08 23:47:28 +00:00
kingosticks
317d02de3e Pass MPDUrimapper into mpd test setup 2015-02-08 23:43:22 +00:00
kingosticks
f77b73a260 Share a global MPDUriMappper between all MPD sessions 2015-02-08 23:42:12 +00:00
Stein Magnus Jodal
faa5e01e0a docs: Update changelog 2015-02-09 00:37:41 +01:00
Stein Magnus Jodal
d14d64cb7d listener: Speed up event emitting and improve error reporting
(cherry picked from commit 655b7badf4)
2015-02-09 00:35:49 +01:00
Stein Magnus Jodal
dfe27a0918 audio: Fix event handler's argument name
Every emit of this event caused an invisible exception in every audio
listener (e.g. core). The exception was made visible by the change in
the previous commit.
2015-02-09 00:10:33 +01:00
Stein Magnus Jodal
655b7badf4 listener: Speed up event emitting and improve error reporting 2015-02-09 00:10:33 +01:00
kingosticks
3dde71ed5e Extract uri mapping from MpdContext 2015-02-08 23:05:56 +00:00
Lasse Bigum
4bf7a568d1 Check that config is readable
Implement a check on file permissions for the config files that are loaded
and print debug if mopidy fails to load it due to missing file file permissions
2015-02-07 17:47:20 +01:00
Stein Magnus Jodal
a693993905 flake8: Fix new warnings after flake8 upgrade 2015-02-07 17:11:36 +01:00
jcass
090518b96d Add comment for Mac OS X volume reset workaround. 2015-02-04 07:46:31 +02:00
Lixxia
c698e07931 changed documentation to make installing from source clearer. 2015-02-03 20:56:37 -05:00
jcass
9d931adf4a Re-set volume explicitly to the current level whenever changing tracks.
Workaround for issue #886.
2015-02-03 18:30:56 +02:00
Stein Magnus Jodal
c6ec143060 Merge branch 'release/v0.19.x' into develop 2015-02-02 23:00:53 +01:00
Stein Magnus Jodal
193799a57a Merge branch 'master' into release/v0.19.x 2015-02-02 23:00:16 +01:00