Commit Graph

6022 Commits

Author SHA1 Message Date
Stein Magnus Jodal
28e53718ff Merge PR#958 from jcass77 into develop
Conflicts:
	mopidy/audio/actor.py
2015-02-12 23:08:02 +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
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
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
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
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
Dirk Groenen
7fd0603e16 docs: Update Mopidy-Mopify entry 2015-02-02 22:59:40 +01:00
Stein Magnus Jodal
071d0e0639 docs: Docs site has HTTPS now
(cherry picked from commit 78b39390e3)
2015-02-02 22:59:40 +01:00
Stein Magnus Jodal
bec7d0d4ac docs: New year
(cherry picked from commit edcad494da)
2015-02-02 22:59:38 +01:00
Stein Magnus Jodal
5b614e95d6 Update to Mopidy.js 0.5.0 2015-01-31 22:15:40 +01:00
Stein Magnus Jodal
b46844fbe2 docs: Fix copy-paste error 2015-01-21 23:03:35 +01:00
Alexandre Petitjean
735d1662dc Makes mpd 'currentsong' send song with metadata 2015-01-20 22:05:14 +01:00
Alexandre Petitjean
64cab9ae95 Rename current_md_track to current_metadata_track 2015-01-20 21:50:02 +01:00
Alexandre Petitjean
ef950a5e15 Adds audio in Core 2015-01-20 20:01:54 +01:00
Alexandre Petitjean
eeed2973f1 Fix metadata refresh with more than one pl in tracklist 2015-01-17 14:30:40 +01:00
Alexandre Petitjean
7ee1935315 MPD gets metadata's updates from stream 2015-01-16 23:45:07 +01:00
Alexandre Petitjean
e4dd04cfb7 One step beyond 2015-01-16 21:41:55 +01:00
Alexandre Petitjean
ec94449a63 Handle tags_changed in Core and send event to CoreListener 2015-01-15 22:25:34 +01:00
Thomas Adamcik
bd7ddcf7ea Merge pull request #931 from ali/fix/local-search-with-album-query
local: Fix exact search to handle tracks where album is None (fixes #930)
2015-01-06 10:44:11 +01:00
Ali Ukani
20751a5ad7 Fix album filter: Should work when track's album is an Album or None 2015-01-05 23:55:16 -05:00
Ali Ukani
dac5f9e406 Add test for exact search with album query 2015-01-05 23:24:52 -05:00
Stein Magnus Jodal
5d19a16837 Merge branch 'release/v0.19.x' into develop
Conflicts:
	docs/changelog.rst
2015-01-04 22:23:03 +01:00