Thomas Adamcik
cb97def432
Merge pull request #626 from jodal/feature/library-browse
...
Library browsing support in backend and core API and MPD lsinfo command
2014-01-09 13:20:40 -08:00
Thomas Adamcik
c51fdc68a2
Merge branch 'feature/extm3u' of https://github.com/tkem/mopidy into develop
...
Conflicts:
mopidy/backends/local/translator.py
2014-01-09 22:14:29 +01:00
Stein Magnus Jodal
fe28311324
models: Use new Ref constructors
2014-01-09 08:54:33 +01:00
Stein Magnus Jodal
9da5ccbb79
models: Add type specific constructors to Ref
2014-01-09 08:50:31 +01:00
Stein Magnus Jodal
1fd1a38013
Merge branch 'develop' into feature/library-browse
...
Conflicts:
mopidy/backends/local/json/library.py
mopidy/core/actor.py
tests/backends/local/library_test.py
2014-01-09 08:39:38 +01:00
Stein Magnus Jodal
28cf3228b2
Merge pull request #617 from adamcik/feature/extension-registry
...
Switch to registry for most of mopidy extension hooks
2014-01-08 23:32:06 -08:00
Thomas Adamcik
96eb9a87c6
mpd: Whitespace fix to make travis happy.
2014-01-09 00:41:46 +01:00
kingosticks
f2a26ef246
Fixed line length for flake
2014-01-08 23:04:38 +00:00
kingosticks
0d74be0b1e
Empty MPD commands should return an error instead of OK, just like the original MPD server. Includes tests.
2014-01-06 12:33:20 +00:00
Stein Magnus Jodal
252f4792a0
core: Check if library is browsable at startup
2014-01-03 23:12:03 +01:00
Stein Magnus Jodal
69836d2e16
backend: Rename library.name to library.root_directory_name
2014-01-03 23:10:02 +01:00
Stein Magnus Jodal
af3b0e40fd
models: Add Ref.type constants
2014-01-03 22:19:54 +01:00
Stein Magnus Jodal
048c3bb544
core: Use library name instead of URI scheme in browse()
2014-01-02 23:10:15 +01:00
Stein Magnus Jodal
7dba0dafa5
mpd: Include dirs and files in lsinfo response
2014-01-02 22:06:33 +01:00
Stein Magnus Jodal
6027ed1fac
core: Add library.browse()
2014-01-02 22:06:33 +01:00
Stein Magnus Jodal
a3731c8187
backend: Add library.browse()
2014-01-02 22:06:32 +01:00
Thomas Adamcik
702befd6ae
Merge branch 'develop' into feature/extension-registry
...
Conflicts:
setup.py
2013-12-31 15:34:02 +01:00
Thomas Adamcik
29bb2d52b6
local: Re-add test for #500 fix.
2013-12-31 15:31:09 +01:00
Thomas Adamcik
e82ce6256d
core: Re-add one uri scheme per backend constraint.
2013-12-31 14:45:57 +01:00
Stein Magnus Jodal
4b9ab5fcbc
Remove empty "frontends" packages
2013-12-31 14:14:19 +01:00
Stein Magnus Jodal
1ee534126e
mpd: Move mopidy.{frontends => }.mpd
2013-12-31 14:11:16 +01:00
Stein Magnus Jodal
621aff22c9
http: Move mopidy.{frontends => }.http
2013-12-31 14:04:25 +01:00
Thomas Adamcik
60112d7c6f
Merge branch 'develop' into feature/extension-registry
2013-12-30 00:37:17 +01:00
Stein Magnus Jodal
e87d5729e3
models: Add lightweight Ref model with URI, name, and type
2013-12-29 19:31:14 +01:00
Thomas Adamcik
d93d3e6fcd
local: Add local/library config value
...
- Updated library provider to support missing library
- Added config value to select local library provider
- Updated tests to use library config value
2013-12-24 00:22:58 +01:00
Thomas Adamcik
e065f349db
local: Add local library provider back
...
- Re-add a local library provider that uses our new library interface
- Re-add our json library using the new interface
- Hardcode these to use each other for now
- Scanner bit is still missing, will re-add in one of the next commits
- Bypassed test for #500 for the time being
2013-12-23 23:43:04 +01:00
Thomas Adamcik
353782e2c8
local: Add local/data_dir config value.
...
Not in use yet but, needed for future changes planed in this branch.
2013-12-23 21:40:35 +01:00
Stein Magnus Jodal
3859448e06
core: Test version property, fix typo in changelog
2013-12-15 22:49:33 +01:00
Thomas Kemmer
9bf7e39425
fix flake8 error E302
2013-12-10 06:57:16 +01:00
Thomas Kemmer
584dc1eaf6
add playlists test for writing EXTM3U files
2013-12-09 16:13:05 +01:00
Thomas Kemmer
18c44e0d8a
add translator tests for EXTM3U files
2013-12-09 15:54:28 +01:00
Thomas Kemmer
b6ee1707d3
add translator tests for EXTM3U files
2013-12-09 15:52:46 +01:00
Thomas Kemmer
a5c02c1034
basic EXTM3U playlist support
2013-12-08 15:23:23 +01:00
Thomas Adamcik
9c2d38e989
local: Remove tag cache support
...
- Updates doc references to tag cache
- Removes tag cache from config and marks it deprecated
- Removes tag cache from setup.py
- Removes tag cache from config converter
- Removes tag cache from tests
- Converts local library tests to use JSON.
2013-12-04 22:38:16 +01:00
Thomas Adamcik
da63942b48
config: Improve handling of Deprecated config values
2013-12-04 22:38:16 +01:00
Thomas Adamcik
26ec956a08
config: Add deprecated config value support.
...
This makes it possible to mark a key as deprecated, this implies it will be
ignored if present, and never included in the resulting config.
2013-11-29 00:15:03 +01:00
Thomas Adamcik
3bbcb4d121
local: Review comment fixes
2013-11-28 23:20:03 +01:00
Thomas Adamcik
603b57ef3c
utils: Remove find_uris and update find_files
...
- find_uris is no more
- find_files now returns file paths relative to path being searched
- find_files now only works on directories
- find_files tests have been updated to reflect changes
- local scanner has gotten a minimal update to reflect this alteration
2013-11-27 22:50:35 +01:00
Thomas Adamcik
c025b87076
tagcache: Split out to own extension for eventual deletion.
2013-11-27 00:04:51 +01:00
Thomas Adamcik
04044d035f
core: Refactor core Backends helper
...
Replaces the jungle of extra dicts/lists with an OrderedDict per backend
feature type. Also makes sure that each type/scheme is unique instead of
the scheme alone.
2013-11-27 00:04:51 +01:00
Thomas Adamcik
ff9f473c2f
local: Move tag cache translators and tests out.
2013-11-26 17:47:52 +01:00
Thomas Adamcik
774e629425
config: Fix review comments.
2013-11-23 07:18:57 +01:00
Thomas Adamcik
b22d7bee0b
utils: Add mkdir and content options to get_or_create_file
...
This lets callers control is parent directories are created, and set the
default content of the file.
2013-11-22 07:17:02 +01:00
Stein Magnus Jodal
8ea996de13
Revert "tests: Don't redefine PYTHONPATH"
...
This reverts commit 6be5cc0f1b .
2013-11-20 23:13:31 +01:00
Stein Magnus Jodal
6be5cc0f1b
tests: Don't redefine PYTHONPATH
...
Shot in the dark to get Travis to find dbus-python when running the `mopidy`
command as a subprocess of the tests.
2013-11-20 22:40:12 +01:00
Stein Magnus Jodal
b0cffb8681
mpd: Move query_from_mpd_search_format into only module using it
2013-11-17 16:00:15 +01:00
Thomas Adamcik
03c301705d
commands: Move mopidy.utils.command to mopidy.commands
...
- Also adds documenation to Command class.
- Moves scan command to commands to match naming.
2013-11-16 03:02:45 +01:00
Thomas Adamcik
2f6ecd9171
commands: Move to using a help attribute instead of __doc__
2013-11-16 02:26:47 +01:00
Thomas Adamcik
37ba3ca01d
Merge branch 'develop' into feature/commands-helper-tmp
...
Conflicts:
mopidy/utils/log.py
2013-11-14 23:36:27 +01:00
Thomas Adamcik
c0f1a1352b
commands: Replace set_defaults with set method
...
For our use case we only need to be able to override a value, not set defaults
so this simplifies everything.
2013-11-14 23:31:20 +01:00