Commit Graph

3984 Commits

Author SHA1 Message Date
Stein Magnus Jodal
7bda4f835f xdg: Add XDG dir utils 2015-04-07 23:50:59 +02:00
Stein Magnus Jodal
20b457cc4a Move gobject check from __init__ to __main__
Related to #1068
2015-04-07 01:06:43 +02:00
Stein Magnus Jodal
df1636e814 docs: Remove GStreamer mixer example 2015-04-07 00:42:39 +02:00
Stein Magnus Jodal
f743c7ed29 m3u: Add todo 2015-04-07 00:09:44 +02:00
Stein Magnus Jodal
4bb953f625 docs: Fix missing markup 2015-04-07 00:09:31 +02:00
Thomas Adamcik
9b442e1563 review: Address review comments 2015-04-06 23:27:46 +02:00
Thomas Adamcik
8604213276 models: Remove __dict__.copy() that did not do anything 2015-04-05 13:09:19 +02:00
Thomas Adamcik
f131ba4879 models: Update copy to only validate new values. 2015-04-05 13:09:19 +02:00
Thomas Adamcik
2d03cd7290 models: Make fields handle unsetting defaults in __dict__ 2015-04-05 13:09:19 +02:00
Thomas Adamcik
7eda0160ca models: Internal attrs are no longer needed 2015-04-05 13:09:19 +02:00
Thomas Adamcik
c375d772dd models: Store field keys in models 2015-04-05 13:09:19 +02:00
Thomas Adamcik
c8693a0591 models: Simplify copy and serialize methods
We don't need to worry about internal vs external naming when doing things via
Fields.
2015-04-05 13:09:19 +02:00
Thomas Adamcik
73415ce60f models: Make sure del on attributes does not work 2015-04-05 13:08:15 +02:00
Thomas Adamcik
4faf4de7aa models: Convert all models to using fields. 2015-04-05 13:08:15 +02:00
Thomas Adamcik
07912e1091 models: Add fields for supporting validation of models
Feature makes use of python descriptors to hook in type checking and other
validation when fields get set.
2015-04-05 13:08:15 +02:00
Stein Magnus Jodal
9ef1f91a0e Merge branch 'v1.0.x' into develop
Conflicts:
	docs/changelog.rst
2015-04-05 02:14:19 +02:00
Thomas Adamcik
db48845e91 audio: Adjust queue sizes.
These are mostly just gut feeling guesses. We should really start exposing at
least a few of these as settings soon.
2015-04-03 14:43:44 +02:00
Thomas Adamcik
9f90b37aa5 audio: Limit post tee queue size
Not sure how small we can safely make this, but basically with the volume
element in front of the tee we "need" this as small as possible so the volume
changes fell snappy. Alternative would be one volume element per tee branch.
2015-04-03 14:43:44 +02:00
Thomas Adamcik
e76c3c9012 audio: Remove notify::mute/volume from software mixer
These will never be triggered externally when using plain software volume.
2015-04-03 14:43:44 +02:00
Thomas Adamcik
8236417e9d audio: Move software volume into audiosink.
This turns off playbin controlled volume, which implies that pulsesink volume
can no longer be controlled by Mopidy. This is likely something we have to
break, or at least rethink for multiple output support any way.

With this change we now have software volume after our large queue, which
means volume changes should happen much faster.
2015-04-03 14:43:44 +02:00
Thomas Adamcik
2234a04fc7 audio: Make outputs helper only handle tee-ing.
The queue which is needed for gapless has been moved up to a
audio-sink bin which also wraps the outputs.
2015-04-03 14:43:44 +02:00
Stein Magnus Jodal
b34b1c2620 Fix indentation issues found with autopep8 2015-04-03 00:06:47 +02:00
Stein Magnus Jodal
c4940cbea2 autopep8: Add space after class signature/docstring 2015-04-03 00:05:26 +02:00
Thomas Adamcik
28237df303 core: Fix deprecation message 2015-03-31 21:04:23 +02:00
Thomas Adamcik
e2faf7f083 docs: Update docstring and changelog 2015-03-31 00:02:02 +02:00
Thomas Adamcik
887c0774fb review: Update wording deprecation messages 2015-03-30 23:56:59 +02:00
Thomas Adamcik
f78973074e mpd: Only loop over tracks in lsinfo/listallinfo 2015-03-30 23:51:36 +02:00
Thomas Adamcik
bd1e822fea utils: Create warn and ignore deprecation warning helpers
This moves all the deprecation warnings messages to a central place so that it
is easy to match against them without having to redefine the same regex all
over the place.

Each message has been given a message id which is more or less
module.func:extra-info. This is not intended to be parsed, just used in tests
when using the ignore helper.
2015-03-30 23:48:08 +02:00
Thomas Adamcik
d44e8ff6f7 core: Add warning when doing library.search with a query.
Tests and code that rely on this are not yet "warnings safe".
2015-03-29 23:27:42 +02:00
Thomas Adamcik
f4c93619d1 core: Make core tracklist.add(tracks=...) deprecation safe 2015-03-29 23:11:00 +02:00
Thomas Adamcik
c85689edad mpd: Make mpd warnings safe with respect to tracklist.add(tracks=...) 2015-03-29 23:11:00 +02:00
Thomas Adamcik
d3b275e1a4 core: Mark tracklist.add by URI as deprecated 2015-03-29 23:11:00 +02:00
Thomas Adamcik
49fc9941a1 core: Mark searching via keyword argument based query deprecated 2015-03-29 23:11:00 +02:00
Thomas Adamcik
0ab52a73fa core: Mark library.lookup by uri deprecated
Updates core, mpd and tests to not use deprecated calls or safely catch them
when running with -W error.
2015-03-29 23:11:00 +02:00
Thomas Adamcik
447629cbf9 audio: Add deprecation warning to emit_end_of_stream 2015-03-29 23:10:23 +02:00
Thomas Adamcik
a54551d985 core: Mark get_playlists and filter as deprecated 2015-03-29 23:10:19 +02:00
Thomas Adamcik
5a3fb64250 core: Emit deprecation warning for library.find_exact 2015-03-29 23:08:03 +02:00
Thomas Adamcik
b9d7ea37be commands: Exception.message is deprecated 2015-03-26 21:54:46 +01:00
Thomas Adamcik
7e66b719ea audio: pipeline.add_many() is deprecated 2015-03-26 21:54:23 +01:00
Thomas Kemmer
a9393c3850 m3u: Replace slashes in playlist names with pipes. 2015-03-25 05:36:03 +01:00
Stein Magnus Jodal
394081ae27 core: Add quotes around 'exact' in warning 2015-03-25 00:40:59 +01:00
Thomas Adamcik
ead725e995 core/backend: Stop supporting old search signatures
All backends are expected to support the exact argument. A friendly log message
will be printed to prompt users to upgrade backends that fail due to this.
2015-03-24 23:54:49 +01:00
Stein Magnus Jodal
a8e6cd26dc core: Warn if backend does not implement as_list()
Fixes #1080
2015-03-24 23:40:50 +01:00
Thomas Adamcik
779a399c59 main: Use timer.time_logger helper 2015-03-24 20:09:17 +01:00
Thomas Adamcik
141c14ad45 core: Add exact to search() and deprecate find_exact()
Backends that still implement find_exact will be called without exact as an
argument to search, and we will continue to use find_exact. Please remove
find_exact from such backends and switch to the new search API.
2015-03-24 09:31:03 +01:00
Thomas Adamcik
3e361d4870 local: Use the new debug timer instead of our own 2015-03-24 08:47:32 +01:00
Thomas Adamcik
3ceb16095d utils: Install TRACE log level add module import time. 2015-03-24 08:46:52 +01:00
Stein Magnus Jodal
45ce75586e mpd: Use get_playlists() in listplaylists 2015-03-24 01:54:07 +01:00
Stein Magnus Jodal
af727bba4e mpd: Use as_list() to build URI-to-MPD-name map 2015-03-24 01:25:41 +01:00
Stein Magnus Jodal
f48a8ad938 mpd: Move playlist.lookup() out of helper 2015-03-24 01:21:43 +01:00