Commit Graph

52 Commits

Author SHA1 Message Date
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
Thomas Adamcik
9cc053cfd2 Add albumartist to musicbrainz test 2010-11-02 20:20:01 +01:00
Thomas Adamcik
6cba4bc564 Add albumartist support 2010-11-02 20:19:29 +01:00
Thomas Adamcik
326ade05cc Add musicbrainz support to tag_cache parsing 2010-11-02 17:24:42 +01:00
Thomas Adamcik
8d30b745d2 Add test_musicbrainz_tagcache as reminder that tag cache parser does not know about musicbrainz yet 2010-11-02 01:02:41 +01:00
Thomas Adamcik
d4437d5adc Decode all data from tag_cache as utf-8 2010-11-01 23:06:45 +01:00
Thomas Adamcik
c513d0f6e7 Rename settings that have dirs or file to _PATH and _FILE 2010-11-01 00:37:55 +01:00
Thomas Adamcik
405d411464 Update tests to clear runtime settings 2010-08-24 00:19:05 +02:00
Stein Magnus Jodal
4722828c8f Split backend tests into multiple files 2010-08-22 20:40:15 +02:00
Stein Magnus Jodal
d4f8cdadd5 Rename tests.backend.{base => base.backend} 2010-08-22 19:50:14 +02:00
Thomas Adamcik
a20251daac Ensure that backend tests setup right backend in setting 2010-08-18 23:41:44 +02:00