Thomas Adamcik
c8f5c1aacf
Merge pull request #537 from jodal/tidy-up-core
...
Core playback and tracklist modularity improvement v2
2013-10-19 13:24:21 -07:00
Stein Magnus Jodal
d7552b2fe2
tests: Formatting
2013-10-19 20:53:02 +02:00
Stein Magnus Jodal
d9921d9127
core.tracklist: Test changed index() behavior
2013-10-19 20:53:01 +02:00
Javier Domingo Cansino
677c61f398
tests: Rename local tests to describe that they are testing local providers and not core controllers
2013-10-18 16:12:38 +02:00
Javier Domingo Cansino
e9c20d2e59
Correcting flake error on unused import
2013-10-15 12:11:01 +02:00
Javier Domingo Cansino
1d4ff4c9c6
Merging upstream changes in tidy-up-core
2013-10-15 09:37:54 +02:00
Stein Magnus Jodal
3c53c1ddcd
tests: Merge BaseBackend and LocalBackend tests
2013-10-11 22:17:27 +02:00
Stein Magnus Jodal
5c7a496dc2
Fix flake8 warnings
2013-08-08 21:09:01 +02:00
Thomas Adamcik
6ac62c6869
local: Review fixes.
2013-07-30 22:59:22 +02: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
Thomas Adamcik
855d03c81e
local: start reading mtime from tag caches
2013-05-20 00:58:43 +02:00
Stein Magnus Jodal
52ee456692
tests: Import unittest directly from the stdlib
2013-04-29 19:45:25 +02:00
Thomas Adamcik
160a70e6df
path: Only accept bytes as paths
2013-04-25 21:08:33 +02:00
Stein Magnus Jodal
41d7ae9a2c
Replace 'folder' with 'dir'
2013-04-08 21:13:59 +02:00
Stein Magnus Jodal
3339b79c1e
local: Rename 'music_path' to 'music_dir', 'playlist_path' to 'playlists_dir'
2013-04-08 20:58:17 +02:00
Stein Magnus Jodal
775b276169
local: Use new config system
2013-04-05 16:59:18 +02:00
Thomas Adamcik
6f39bde566
config: Start passing dummy config explicitly to audio/backends/frontends.
2013-04-02 19:14:46 +02:00
Stein Magnus Jodal
74788a2ccb
Remove the BACKENDS setting
2013-04-01 20:14:20 +02:00
Stein Magnus Jodal
6345022cfc
Move frontend/backend import into methods
2013-04-01 19:47:24 +02:00
Stein Magnus Jodal
147bb5e983
local: Read track date from tag cache
2012-12-20 21:30:08 +01:00
Stein Magnus Jodal
f302949ea9
tests: Use empty tag cache in all local backend tests
2012-12-12 13:43:41 +01:00
Stein Magnus Jodal
ae9a257091
Make tracklist.add() only take and return lists
2012-11-20 22:12:09 +01:00
Stein Magnus Jodal
15cb291316
tests: Rename test file so that it's executed
2012-11-17 17:10:27 +01:00
Stein Magnus Jodal
5efce8ac76
local: Trigger playlists_loaded() event on playlist load/refresh
2012-11-17 17:09:27 +01:00
Stein Magnus Jodal
3a24deaec3
Rename 'stored playlists' to 'playlists'
2012-11-14 09:23:19 +01:00
Stein Magnus Jodal
bba9548b27
Rename 'current playlist' to 'tracklist'
2012-11-13 10:59:48 +01:00
Stein Magnus Jodal
6acaa490e9
Make all strings unicode by default ( fixes #224 )
2012-11-13 00:18:47 +01:00
Stein Magnus Jodal
8c9a3d6df2
Slugify local playlist names to make them safe to use in paths ( #217 )
2012-11-01 12:46:29 +01:00
Stein Magnus Jodal
3d05f3c65f
Change stored_playlists.delete() to accepting an URI ( #217 )
2012-10-31 16:59:28 +01:00
Stein Magnus Jodal
06bcad2db9
Make local.stored_playlists.save() capable of renaming playlists ( #217 )
2012-10-31 16:59:28 +01:00
Stein Magnus Jodal
51aab4f138
Make local stored playlists set and use URIs ( #217 )
2012-10-31 16:59:28 +01:00
Stein Magnus Jodal
d8378e9284
Set URI on local playlists when reading from disk ( #217 )
2012-10-31 16:59:28 +01:00
Stein Magnus Jodal
a679a47212
Minor test updates
2012-10-31 15:27:04 +01:00
Stein Magnus Jodal
c915c197dd
Formatting
2012-10-25 22:49:47 +02:00
Stein Magnus Jodal
ac60bcdf8e
Fix all flake8 warnings in tests ( #211 )
2012-10-16 14:43:31 +02:00
Stein Magnus Jodal
2fdeec9f5a
Move controllers to a new core actor
...
The frontends use the new core actor, while the core actor uses the backend.
This is a step towards supporting multiple backends, where the core actor will
coordinate the backends.
2012-09-27 20:35:39 +02:00
Thomas Adamcik
6cc57701f9
Update parse_m3u to allow caller to decide what location playlist is relative to.
2012-09-16 19:28:15 +02:00
Stein Magnus Jodal
a8d1d41ab3
Use assertIn and assertNotIn in tests
2012-09-15 17:46:25 +02:00
Stein Magnus Jodal
2ba05f9405
Add PlaybackState enum
2012-09-14 01:17:55 +02:00
Thomas Adamcik
92a2408ace
Remove some unused imports
2011-07-31 22:27:10 +02:00
Thomas Adamcik
1985b4af76
Switch all tests over to from tests import unittest, which will be unittest2 on < 2.7 and plain unittest otherwise
2011-07-31 22:21:34 +02:00
Stein Magnus Jodal
2b5f942f44
Don't use asserts new in unittest2/Python 2.7
2011-07-04 19:04:57 +02:00
Stein Magnus Jodal
622a99ad3b
Change uri_handlers to uri_schemes on backends
2011-06-27 18:02:02 +03:00
Stein Magnus Jodal
79771d6e2c
Rename data_folder() to path_to_data_dir()
2011-04-07 15:55:03 +02:00
Stein Magnus Jodal
46c6ee68df
Fix ~200 backend tests
2011-03-10 23:19:44 +01:00
Stein Magnus Jodal
b7a0d75372
Merge branch 'feature/split-controllers-and-providers' into develop
2010-11-03 00:09:36 +01:00
Stein Magnus Jodal
fc9daa5a5a
Rename {Base => }PlaybackController
2010-11-03 00:06:32 +01:00
Stein Magnus Jodal
76ce2a6345
Rename {Base => }StoredPlaylistController
2010-11-02 23:58:10 +01:00
Stein Magnus Jodal
5ada4709bd
Rename {Base => }LibraryController
2010-11-02 23:54:02 +01:00
Stein Magnus Jodal
67885e83b6
Rename {Base => }CurrentPlaylistController
2010-11-02 23:50:55 +01:00