Javier Domingo
a443348d4b
mpd: Don't decide the remove action
...
Those three lines shouldn't be there. That is tracklist/playback logic, not frontend logic. Indeed, care is already taken in core =)
2013-09-06 16:54:36 +02:00
Stein Magnus Jodal
9af4290f45
mpd: Accept listall and listallinfo without the URI argument
2013-09-01 23:14:30 +02:00
Stein Magnus Jodal
404fb00235
Remove pylint remnants
2013-08-08 21:12:42 +02:00
Stein Magnus Jodal
74ab07cc6c
mpris: Frontend setup failure should only yield a warning
2013-08-07 13:09:44 +02:00
Stein Magnus Jodal
091f8ffdf0
Merge pull request #486 from alzeih/develop
...
Strip invalid characters from playlist names sent through MPD frontend
Fix #474
Fix #480
2013-08-06 03:52:21 -07:00
alzeih
7182f98843
cleanup tests and code
...
- move tests to tests/frontends/mpd/stored_playlists_test.py
stored_playlists_test.py:
- rename test methods names to remove _config
- remove unnecessary imports, setup, teardown, variables
- sort remaining imports
mopidy/frontends/mpd/dispatcher.py:
- remove regex comment
2013-08-06 21:14:23 +12:00
alzeih
3f1192e95b
Match MPD implementation and add tests
2013-08-02 13:38:52 +12:00
alzeih
ac9acaabf0
typo in regex
2013-08-02 01:32:07 +12:00
alzeih
6c7566a2f3
Strip invalid characters from playlist names for MPD frontend
...
Fixes mopidy/mopidy$480 and mopidy/mopidy#474
2013-07-30 13:57:29 +12:00
Thomas Adamcik
18ed7c6279
local: Convert mopidy-local extension to local: uris.
...
- Use local:playlist:<name>, local:track:<path> and local:search uris
- Adds LocalPlaybackProvider which translates to file uris.
- Switches to storing actual uris in playlists - so local: urls and not
file:// or plain paths.
- Moved file:// to streaming plugin
- Cleaned up tests and imports for these changes.
2013-07-30 00:40:12 +02:00
Stein Magnus Jodal
2f94b5d219
mpd: Remove remnants of Python 2.6 support
2013-07-26 12:45:10 +02:00
Stein Magnus Jodal
579a93437f
mpd: Allow full MPD queries to 'count'
...
Fix hechtus/mopidy-gmusic#1
2013-07-09 11:48:11 +02:00
Stein Magnus Jodal
99eed0e6b8
mpd: Allow 'count' without quotes around the 'tag' param
...
Fix hechtus/mopidy-gmusic#1
2013-07-09 11:22:45 +02:00
Thomas Adamcik
00e88361f3
local: Add library update provider for tag caches.
...
This adds the basic interface implemenations for supporting tag caches using
the new update APIs.
2013-05-20 23:53:38 +02:00
Stein Magnus Jodal
de84fdfef4
Remove hacks required by #302 to run on older Python 2.6.x
2013-04-29 19:52:29 +02:00
Stein Magnus Jodal
1bd8f9e793
Merge pull request #427 from adamcik/feature/path-as-bytes
...
Enforce that we only want bytes in path related code.
2013-04-27 14:41:13 -07:00
Thomas Adacmik
085b44e52f
path: Update with respect to review comments in #427
2013-04-27 02:21:27 +02:00
Thomas Adamcik
b8ce1e828a
ws: Hostname is already a byte string
2013-04-25 22:53:26 +02:00
Nick Steel
fd03acb463
Access playlist_name_from_uri mapping through helper function and make dict private
2013-04-17 21:30:12 +01:00
Nick Steel
28b00dbea1
Merge branch 'develop' into fix/mpd-disambiguated-playlist-not-found
2013-04-17 21:00:58 +01:00
Nick Steel
ce5e1ff26a
Learn to not write c, learn English grammar
2013-04-17 20:56:39 +01:00
Nick Steel
36a694617c
Removed unnecessary logging
...
Also: nicer check that empty _playlist_uri_from_name is empty
2013-04-17 15:44:50 +02:00
Stein Magnus Jodal
a9a789aa8a
conf: Rename logging.levels to loglevels
...
Part of #280
2013-04-15 20:40:01 +02:00
Thomas Adamcik
ad25a60ba5
config: Update extensions with respect to config changes
2013-04-15 00:08:23 +02:00
Nick Steel
15875b092c
Use helper function lookup_playlist_from_name() to resolve uniquified MPD
...
playlist names to mopidy playlists in all MPD playlist handling commands.
Also make playlist_uri_from_name map private.
2013-04-14 23:00:15 +01:00
Stein Magnus Jodal
65f14a9cc4
exc: Remove OptionalDependencyError
...
It is no longer needed as the extension loading mechanisms verifies the
environment and presence of dependencies before it tries to import modules that
would cause ImportErrors if optional dependencies are missing.
2013-04-14 11:26:16 +02:00
Thomas Adamcik
5fd4c18792
ext: Get config schema from super
2013-04-13 21:12:48 +02:00
Thomas Adamcik
b655e846b1
config: Add read helper
2013-04-13 21:06:09 +02:00
Thomas Adamcik
1ebc265235
Merge branch 'develop' into feature/reshuffle-config
...
Conflicts:
mopidy/backends/local/__init__.py
mopidy/backends/spotify/__init__.py
mopidy/backends/stream/__init__.py
mopidy/config.py
mopidy/frontends/http/__init__.py
mopidy/frontends/mpd/__init__.py
mopidy/frontends/mpris/__init__.py
mopidy/frontends/scrobbler/__init__.py
mopidy/utils/config.py
tests/config/types_test.py
2013-04-13 01:25:38 +02:00
Stein Magnus Jodal
b7546eed0b
docs: Move MPD to ext registry
2013-04-11 23:58:42 +02:00
Stein Magnus Jodal
82d2ecd41e
docs: Move MPRIS to ext registry
2013-04-11 23:38:45 +02:00
Stein Magnus Jodal
0e9da33147
docs: Move HTTP to ext registry and API section
2013-04-11 23:25:57 +02:00
Stein Magnus Jodal
6072bbe0b8
docs: Move scrobbler docs to new ext registry
2013-04-11 23:01:56 +02:00
Thomas Adamcik
d90a977a3b
config: Move everything to mopidy.config sub-modules
2013-04-11 22:24:27 +02:00
Stein Magnus Jodal
c1b42d97cd
mpris: Disable extension if no $DISPLAY set
...
We cannot connect to the D-Bus session bus if there is no X11 $DISPLAY
available.
2013-04-10 23:58:55 +02:00
Stein Magnus Jodal
70068c0f4b
mpris: Only import 'indicate' if $DISPLAY is set
...
This avoids printing of the following error message:
ImportError: could not import gtk.gdk
Fixes #311
2013-04-10 23:58:00 +02:00
Stein Magnus Jodal
3033b1db5f
Merge branch 'develop' into pr/396
...
Conflicts:
mopidy/frontends/mpd/dispatcher.py
2013-04-09 23:37:17 +02:00
Stein Magnus Jodal
016b2db69b
mpd: Start numbering of duplicate playlist names at 2
2013-04-09 23:35:00 +02:00
Stein Magnus Jodal
24271681c9
mpd: Fix flake8 warnings
2013-04-09 23:33:19 +02:00
Stein Magnus Jodal
27ff2e5f0a
Revert "mpd: 'private' fields start with an _"
...
This reverts commit f2000d6e6d .
I did not have the code fresh in mind when saying that these should be prefixed
with _. As they are accessed from other classes, they are indeed public, and
should not be prefixed. My bad.
2013-04-09 23:26:23 +02:00
Thomas Refis
f2000d6e6d
mpd: 'private' fields start with an _
2013-04-09 21:31:36 +02:00
Thomas Refis
18a2d1770b
mpd: bugfix in MpdContext.create_unique_name
2013-04-09 19:25:10 +02:00
Thomas Refis
7d59d03ec0
mpd: minor style commit
2013-04-09 11:53:37 +02:00
Stein Magnus Jodal
3b7d38e8bc
scrobbler: Log who connected to Last.fm
2013-04-09 11:23:06 +02:00
Stein Magnus Jodal
2ffef53b9a
mpris: Log who connected to D-Bus
2013-04-09 11:22:56 +02:00
Stein Magnus Jodal
09a38d9523
docs: Use :confval: to make config docs linkable
2013-04-09 00:22:24 +02:00
Stein Magnus Jodal
41d7ae9a2c
Replace 'folder' with 'dir'
2013-04-08 21:13:59 +02:00
Stein Magnus Jodal
f9ed1ba4d3
mpd: Rename 'music_path' to 'music_dir'
2013-04-08 20:58:34 +02:00
Stein Magnus Jodal
05c74abbe3
http: Revert to use 'static_dir'
2013-04-08 10:01:36 +02:00
Stein Magnus Jodal
d83d33aece
scrobbler: Update to use 'scrobbler' config values
2013-04-08 10:01:24 +02:00