Thomas Adamcik
79b0584887
tests: Stop using tracklist add tracks in mpd status test
2015-03-29 23:11:00 +02:00
Thomas Adamcik
7d42d028c6
tests: Stop using tracklist tracks in mpd playback tests
2015-03-29 23:11:00 +02:00
Thomas Adamcik
faf8174ef7
tests: Update mpd.test_status to not use tracklist.add(tracks=...)
2015-03-29 23:11:00 +02:00
Thomas Adamcik
a8860faa35
tests: Cleanup mpd.protocol.current_playlist tests
...
- Split into smaller test cases more or less per command
- Created a BasePopulatedTracklistTestCase with a sensible setUp
- Modified test cases to work with the common tracklist state
- Replaced all calls to tracklist.add(tracks=...) with uris=...
- Test tracklist ordering in more compact way that also gives better error
messages
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
f5f9899db9
tests: Make bases test classes in core
2015-03-29 23:10:58 +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
b31f0c421f
tests: Make tests warning safe
2015-03-26 21:58:44 +01: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
Stein Magnus Jodal
85f11baa41
Release v1.0.0
2015-03-25 22:25:00 +01:00
Stein Magnus Jodal
4176557efc
docs: Add release date for v1.0.0
2015-03-25 22:24:28 +01:00
Stein Magnus Jodal
2c11344434
dummy: Make it obvious that method is test-only
2015-03-25 13:16:27 +01:00
Stein Magnus Jodal
c9f60170f8
Merge pull request #1084 from tkem/feature/m3u_replace_invalid_chars
...
m3u: Replace slashes in playlist names with pipes.
2015-03-25 09:48:39 +01:00
Stein Magnus Jodal
36fba3d67d
flake8: Fix unussed import
2015-03-25 09:48:24 +01:00
Thomas Kemmer
75020c91ec
docs: Add PR #1084 to changelog
2015-03-25 05:46:55 +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
Stein Magnus Jodal
d768a3b4f7
Merge pull request #1082 from adamcik/feature/only-support-new-style-search-in-backends
...
core/backend: Stop supporting old search signatures
2015-03-25 00:09:06 +01:00
Stein Magnus Jodal
f2a56edbf0
dummy: Replace playlists property with test-only helper
2015-03-25 00:03:56 +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
Stein Magnus Jodal
08c7f311c4
docs: Fix more comments, add refs to relevant docs
2015-03-24 23:08:38 +01:00
Stein Magnus Jodal
426a56d66b
docs: Fix changelog review comments
2015-03-24 23:02:43 +01:00
Stein Magnus Jodal
e0d0e785e0
docs: Cleanup v1.0.0 changelog
...
Fixes #1079
2015-03-24 21:53:26 +01:00
Thomas Adamcik
779a399c59
main: Use timer.time_logger helper
2015-03-24 20:09:17 +01:00
Stein Magnus Jodal
d9347b1348
Merge pull request #1078 from adamcik/feature/deprecate-core-find_exact
...
core: Add exact to search() and deprecate find_exact()
2015-03-24 09:52:24 +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
23e2295c46
dummy: Fix playlists.get_items() bug
2015-03-24 01:54:07 +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
Stein Magnus Jodal
e06c7708a7
utils: Add time_logger context manager
2015-03-24 01:04:26 +01:00
Stein Magnus Jodal
4e30fb2f48
core: Make get_playlists() maintain folder hierarchy
2015-03-24 00:40:55 +01:00
Stein Magnus Jodal
b5c07ca803
Merge pull request #1077 from adamcik/feature/deprecate-find_exact-in-backends
...
core/backend: Remove find_exact from backends
2015-03-24 00:19:06 +01:00
Thomas Adamcik
24fe242d56
core/backend: Remove find_exact from backends
...
Functionality has been replaced with an `exact` param in the search method.
Backends that still implement find_exact will continue being called via
the old method for now.
2015-03-23 23:55:03 +01:00
Thomas Adamcik
636d8f1115
core: Add verionadded annotations to LibraryController methods
2015-03-23 23:16:35 +01:00
Thomas Adamcik
81f2e5c6f0
core: Deprecate empty queries ( Fixes #1072 )
2015-03-23 23:09:31 +01:00
Thomas Adamcik
dd0c86faa0
Merge pull request #1075 from jodal/feature/new-playlists-api
...
core/backend: Add new playlists API
2015-03-23 22:37:11 +01:00
Stein Magnus Jodal
07cf962434
Merge branch 'develop' into feature/new-playlists-api
...
Conflicts:
docs/changelog.rst
2015-03-23 21:45:32 +01:00
Stein Magnus Jodal
dad46df748
Merge pull request #1076 from adamcik/fix/1070-shrink-core-api
...
Remove a bunch of API surface from core
2015-03-23 21:26:38 +01:00
Thomas Adamcik
f4452b22db
core: Minor readability improvement
2015-03-23 15:02:37 +01:00
Thomas Adamcik
97fd102fa2
docs: Add core API cleanup to changelog
2015-03-23 15:02:25 +01:00
Stein Magnus Jodal
c0f99466c3
m3u: Remove playlists property
2015-03-23 13:31:42 +01:00