Stein Magnus Jodal
67885e83b6
Rename {Base => }CurrentPlaylistController
2010-11-02 23:50:55 +01:00
Stein Magnus Jodal
79b61895cc
Remove unmaintained tests
2010-11-02 23:49:15 +01:00
Stein Magnus Jodal
13ece43363
Split BaseLibraryController in controller and provider
2010-11-02 23:08:54 +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
89b46af983
Add musicbrainz_tag_cache that was missing
2010-11-02 17:43:32 +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
37222d66f5
Add albumartistid to frontent
2010-11-02 01:00:11 +01:00
Thomas Adamcik
90fbf69b85
Add albumartistid to scanner
2010-11-02 01:00:00 +01:00
Thomas Adamcik
31933c2c2f
Fix musicbrainz support in mpd format track
2010-11-02 00:43:03 +01:00
Thomas Adamcik
e7a7d342b8
Add tests for musicbrainz in mpd formated tracks
2010-11-02 00:36:01 +01:00
Thomas Adamcik
988ff66c5e
Add musicbrainz support to scanner translator
2010-11-02 00:36:01 +01:00
Thomas Adamcik
5974d696f1
Refactor mpd formater test
2010-11-02 00:36:01 +01:00
Thomas Adamcik
edb2f060c4
Add musicbrainz to models
2010-11-02 00:36:01 +01:00
Thomas Adamcik
d05e48c439
Add generic copy method to models (including tests)
2010-11-02 00:35:27 +01:00
Stein Magnus Jodal
0b681a4e4c
Merge branch 'develop' into feature/multi-backend
...
Conflicts:
mopidy/backends/local/__init__.py
2010-11-02 00:33:06 +01:00
Thomas Adamcik
dd25fadd8b
Track result should contain key
2010-11-01 23:23:59 +01:00
Thomas Adamcik
8bfa7d2937
Update tag cache code so it adds mtime and file that is relative
2010-11-01 23:16:49 +01:00
Thomas Adamcik
4ac1d8d217
Remove mtime and key from track_to_mpd_format
2010-11-01 23:09:21 +01:00
Thomas Adamcik
d4437d5adc
Decode all data from tag_cache as utf-8
2010-11-01 23:06:45 +01:00
Thomas Adamcik
913bac3b0d
Rename with_ to copy
2010-11-01 00:56:06 +01:00
Thomas Adamcik
fe309d374e
Get rid of all kinds of abspath and expandpath usage that is no longer needed
2010-11-01 00:37:55 +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
3661800563
Add _FILE handling
2010-11-01 00:37:55 +01:00
Thomas Adamcik
e8371129f7
Add test to ensure that other values are not expanded
2010-11-01 00:37:55 +01:00
Thomas Adamcik
70fe571b05
Add special casing of _PATH settings
2010-11-01 00:37:55 +01:00
Stein Magnus Jodal
094444eae8
Merge branch 'develop' into feature/multi-backend
2010-10-31 15:23:27 +01:00
Stein Magnus Jodal
5dc35eaad4
Fix broken symlinks
2010-10-31 02:50:53 +02:00
Stein Magnus Jodal
75639fab99
Merge branch 'develop' into feature/multi-backend
2010-10-31 02:37:22 +02:00
Thomas Adamcik
dd259d0797
Ensure that find_files only returns unicode
2010-10-30 23:12:32 +02:00
Thomas Adamcik
357591e97e
Introduce concept of mpd ordered track info for simpler diffing of tag caches
2010-10-30 21:53:59 +02:00
Thomas Adamcik
b9976c4cda
Remove uri_to_mpd_relative_path
2010-10-30 21:26:08 +02:00
Thomas Adamcik
d67bfb9aee
Use new mtime helper
2010-10-30 20:58:41 +02:00
Thomas Adamcik
92333208de
Add mopidy.utils.path.mtime helper that is easily faked in tests
2010-10-30 20:53:23 +02:00
Thomas Adamcik
9a99bc46bf
Add album artist to track to mpd format
2010-10-30 20:46:47 +02:00
Thomas Adamcik
6049c7a094
Turn track_artists_to_mpd_format into artists_to_mpd_format
2010-10-30 20:41:45 +02:00
Thomas Adamcik
8a4dc1033b
Add album-artist support to translator
2010-10-30 20:38:33 +02:00
Thomas Adamcik
52ab538fc4
Minor test cleanup
2010-10-30 20:38:20 +02:00
Thomas Adamcik
ea74f539ba
Fix mistakes in tag cache generation
2010-10-30 01:06:26 +02:00
Thomas Adamcik
d2d8e4c090
Use expanduser for find_files
2010-10-30 00:45:08 +02:00
Thomas Adamcik
96d4633306
Ensure that key does not have uri encoded strings
2010-10-30 00:40:01 +02:00
Thomas Adamcik
ca95a510c9
Ensure that mtime is included
2010-10-30 00:37:42 +02:00
Thomas Adamcik
7559426c50
Add test for files in multiple directories
2010-10-29 23:56:01 +02:00
Thomas Adamcik
93eda1c81e
Extra test for multiple top level files
2010-10-29 23:46:40 +02:00
Thomas Adamcik
6b99416830
Add test for sub sub dirs in tag cache generator
2010-10-29 23:43:49 +02:00
Thomas Adamcik
94db967672
Tag cache seems to support directories now
2010-10-29 23:26:05 +02:00
Thomas Adamcik
1a6831ab68
Add tracks_to_directory_tree helper
2010-10-29 23:06:58 +02:00
Thomas Adamcik
a48e881040
Add split path util
2010-10-29 22:55:42 +02:00
Thomas Adamcik
8d1339ef7f
Add option to get mtime set in translator
2010-10-29 22:18:35 +02:00
Thomas Adamcik
d785b9b14e
Added uri_to_path with tests
2010-10-29 22:16:33 +02:00
Thomas Adamcik
21eadf3dc7
Refactor tag_cache generation tests
2010-10-29 21:56:20 +02:00
Thomas Adamcik
a8a447c47f
Use key=True for track_to_mpd_format generation
2010-10-29 21:36:11 +02:00
Thomas Adamcik
b2cb3136b2
Rename tests
2010-10-29 21:27:40 +02:00
Thomas Adamcik
488ac28431
Add key parameter to track_to_mpd_format
2010-10-29 21:25:02 +02:00
Thomas Adamcik
151b1c3b4e
Add explicit tests for position and cpid in track_to_mpd_format
2010-10-29 21:23:15 +02:00
Thomas Adamcik
cf516c5ef0
Ensure that mpd_format_track handles file: properly
2010-10-29 21:17:08 +02:00
Thomas Adamcik
014e29ffa2
Fix uri_to_mpd_relative_path so that it handles None
2010-10-29 21:15:32 +02:00
Thomas Adamcik
44012b30b0
Add uri_to_mpd_relative_path
2010-10-29 20:33:13 +02:00
Thomas Adamcik
02df8ca033
Start writting tracks_to_tag_cache_format
2010-10-29 20:04:53 +02:00
Thomas Adamcik
3e595213ac
Ensure that result has exact right number of elements
2010-10-29 19:34:33 +02:00
Thomas Adamcik
ab97f78060
Test all optional translator values
2010-10-28 01:12:20 +02:00
Thomas Adamcik
766c447c71
Refactor translator test
2010-10-28 01:04:18 +02:00
Thomas Adamcik
d9d393ac21
Ensure that scanner does not die on non-existant folders
2010-10-28 00:47:18 +02:00
Thomas Adamcik
2ebaa38ed9
Add other media test and set caps to limit to audio for scanner
2010-10-28 00:40:38 +02:00
Thomas Adamcik
889b8fdb43
Add length to scanner translator
2010-10-27 00:17:03 +02:00
Thomas Adamcik
79887c1988
Add duration to scanner data
2010-10-27 00:15:26 +02:00
Thomas Adamcik
045a5a58c5
Move uri to scanner data
2010-10-26 23:41:12 +02:00
Thomas Adamcik
7e02617422
Move test data in translator test
2010-10-26 23:34:10 +02:00
Thomas Adamcik
9098f3104c
Rename scanner test filename
2010-10-26 23:14:08 +02:00
Thomas Adamcik
b76ae84af2
Add basic scanner translator and test
2010-10-26 23:13:45 +02:00
Thomas Adamcik
1551723dd7
Merge branch 'develop' into feature/file-scanner
2010-10-26 22:22:06 +02:00
Thomas Adamcik
71e2f2c43a
Add mpd generated sample tag caches
2010-10-26 21:51:22 +02:00
Thomas Adamcik
8b963311e1
Update scanner test
2010-10-26 21:38:46 +02:00
Thomas Adamcik
23881e1b1d
Add basic test structure for scanner testing
2010-10-26 21:33:12 +02:00
Stein Magnus Jodal
704b5517e1
Split xPlaybackController into xPlaybackController and xPlaybackProvider
2010-10-26 13:25:52 +02:00
Thomas Adamcik
02bfad2fe4
Add basic tests for scanner
2010-10-26 00:13:50 +02:00
Thomas Adamcik
efc60a943b
Update find files behaviour and add test for it
2010-10-26 00:08:51 +02:00
Thomas Adamcik
21123e3cd9
Allow scanner to stop nicely when it runs out of files
2010-10-25 23:18:41 +02:00
Stein Magnus Jodal
a68bd4b475
Ready for 0.3.0 development
2010-10-24 22:28:50 +02:00
Stein Magnus Jodal
c9535ffe10
Setting the state to STOPPED right before starting a track makes the test fail as it should
2010-10-24 20:40:47 +02:00
Stein Magnus Jodal
24015cafa8
Merge branch 'develop' into feature/playid-minus-one-should-resume
2010-10-24 20:15:34 +02:00
Stein Magnus Jodal
1734a2e2f0
Next version will be 0.2.0
2010-10-21 23:56:26 +02:00
Stein Magnus Jodal
37426c6b54
Formatting
2010-10-21 23:32:36 +02:00
Stein Magnus Jodal
1d25a2ddea
Remove redundant calls to playback.on_current_playlist_change()
2010-10-21 23:25:52 +02:00
Stein Magnus Jodal
3cfc282acc
Add regression test for GH-22
2010-10-21 23:11:36 +02:00
Stein Magnus Jodal
abe54aacb0
Merge branch 'release/0.1.1' into develop
...
Conflicts:
docs/changes.rst
2010-10-21 22:30:39 +02:00
Stein Magnus Jodal
e2a4aaada7
Add regression test for GH-17
2010-10-21 22:11:24 +02:00
Stein Magnus Jodal
51065c5e0a
Merge branch 'hotfix/GH-18' into develop
...
Conflicts:
mopidy/backends/base/playback.py
2010-10-19 12:43:20 +02:00
Stein Magnus Jodal
e4c3a73f8f
Merge branch 'hotfix/GH-18' into release/0.1.1
2010-10-19 12:42:26 +02:00
Stein Magnus Jodal
3a951ca948
Seed the random function to make the test predictable
2010-10-19 12:41:18 +02:00
Stein Magnus Jodal
5cdfbce122
Add regression test for GH-18
2010-10-04 23:18:32 +02:00
Stein Magnus Jodal
6dbb550f98
Merge branch 'feature/fix-mpd-list' into develop
2010-10-04 22:27:18 +02:00
Stein Magnus Jodal
8fe261322f
Add test to check that "playid -1" resume playback
...
The problem is, the test shouldn't pass, but it does.
2010-10-04 22:17:03 +02:00
Stein Magnus Jodal
9b73cbb18d
Add more tests to prove the new 'list' query hendling
2010-08-28 16:27:28 +02:00
Stein Magnus Jodal
4b4c4b709e
Rewrite list command to support more advanced queries
2010-08-28 16:07:44 +02:00
Stein Magnus Jodal
d6798ac870
Fix GH-16: 'addid ""' crashes with SpotifyError
2010-08-26 19:04:13 +02:00
Stein Magnus Jodal
c89d58fccf
Fix 'add ' and 'addid '
2010-08-24 23:11:22 +02:00
Stein Magnus Jodal
6930e7a9ad
Merge 'develop' into 'feature/encapsulate-queues'
2010-08-24 01:13:00 +02:00
Stein Magnus Jodal
abce165aa3
Extend output API with all methods needed for GStreamerOutput
2010-08-24 01:06:20 +02:00
Stein Magnus Jodal
9fe5874069
Skip another backend test that does not work with DummyOutput
2010-08-24 01:04:43 +02:00
Stein Magnus Jodal
64b760bf96
Ignore tests which uses time.sleep (and that don't work with DummyOutput+LocalBackend)
2010-08-24 00:50:12 +02:00
Thomas Adamcik
405d411464
Update tests to clear runtime settings
2010-08-24 00:19:05 +02:00
Stein Magnus Jodal
efe14032ce
Fix three more tests
2010-08-23 23:49:59 +02:00
Stein Magnus Jodal
a62a6e01a7
Use DummyOutput in tests
2010-08-23 23:45:42 +02:00
Stein Magnus Jodal
f099161e24
Never block without timeout in a test
2010-08-23 23:45:21 +02:00
Thomas Adamcik
947b91aa5c
Add basic runtime setting support
2010-08-23 23:30:20 +02:00
Stein Magnus Jodal
f541724ff9
Skip GStreamer tests on Windows
2010-08-23 21:01:29 +02:00
Stein Magnus Jodal
2a582a924f
Ready for 0.2 development
2010-08-23 19:15:26 +02:00
Stein Magnus Jodal
00cec3375f
Add TODO on testing playlist repeat
2010-08-23 15:16:38 +02:00
Stein Magnus Jodal
9e7723f8ca
Update version tests for 0.1.0
2010-08-22 22:08:40 +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
Stein Magnus Jodal
421e1f2ab1
Rename libspotify_integrationtest => libspotify.backend_integrationtest
2010-08-22 19:45:08 +02:00
Stein Magnus Jodal
df22256f09
Review gstreamer-local-backend branch
2010-08-21 23:25:38 +02:00
Stein Magnus Jodal
7062e3c8ee
Merge branch 'develop' into gstreamer-local-backend
2010-08-21 23:08:37 +02:00
Stein Magnus Jodal
d43ddab590
Fix import in test
2010-08-20 01:24:33 +02:00
Thomas Adamcik
ef03bbe19e
Add tests to check return value of seek
2010-08-20 00:17:08 +02:00
Stein Magnus Jodal
10c1cab0c7
Reorganize mopidy.frontends.mpd
...
- Rename .frontend.MpdFrontend to .dispatcher.MpdDispatcher, as it
dispatches requests.
- Move exceptions into .exceptions.
- Move .server.MpdSession to .session.MpdSession.
- Move handle_pattern to .protocol.handle_pattern.
2010-08-19 23:51:46 +02:00
Thomas Adamcik
cf24089137
Renable some output tests
2010-08-19 00:52:42 +02:00
Thomas Adamcik
a20251daac
Ensure that backend tests setup right backend in setting
2010-08-18 23:41:44 +02:00
Thomas Adamcik
94ef06ac78
Nuke local settings to ensure test consistency
2010-08-18 23:41:13 +02:00
Thomas Adamcik
70dd200365
Merge branch 'develop' into gstreamer-local-backend
2010-08-18 23:32:45 +02:00
Stein Magnus Jodal
a87f7f9381
Remove tests as it is a duplicate of test_end_of_song_with_single_and_repeat_starts_same
2010-08-18 12:36:47 +02:00
Thomas Adamcik
8203d45559
Merge branch 'gstreamer' into gstreamer-local-backend
...
Conflicts:
mopidy/backends/local/__init__.py
tests/backends/base.py
2010-08-18 00:55:24 +02:00
Thomas Adamcik
785ef04e7b
Rename load to append in tests
2010-08-18 00:53:29 +02:00
Thomas Adamcik
c0e4454e67
Remove obsolete search tests
2010-08-18 00:49:26 +02:00
Thomas Adamcik
d01813b72c
Rename previous_track in tests
2010-08-18 00:42:26 +02:00
Thomas Adamcik
0db797bc12
Rename next_track in tests
2010-08-18 00:39:10 +02:00
Thomas Adamcik
28e1a15ac7
Remove SkipTest
2010-08-18 00:38:54 +02:00
Stein Magnus Jodal
7d04550f53
Remove unused imports
2010-08-17 02:38:55 +02:00
Stein Magnus Jodal
14b7b080dc
Merge remote branch 'knutz3n/gstreamer' into gstreamer
2010-08-17 02:35:55 +02:00
Stein Magnus Jodal
9cb84002bc
Report multiple settings errors at once
2010-08-17 01:58:31 +02:00
Stein Magnus Jodal
12e5bc39e3
Add settings validation
2010-08-17 01:45:58 +02:00
Stein Magnus Jodal
e4edd70c6d
Split mopidy.utils into smaller pieces
2010-08-17 00:32:31 +02:00
Johannes Knutsen
b32dfee65e
rename end_of_track_callback to on_end_of_track
2010-08-17 00:18:46 +02:00
Johannes Knutsen
b502643910
added the same tests for end_of_track_callback as was for next
2010-08-17 00:01:20 +02:00
Johannes Knutsen
87e489a26d
rearranged test_next tests
2010-08-16 23:55:00 +02:00
Thomas Adamcik
5c632116b8
Merge branch 'gstreamer' of git://github.com/jodal/mopidy into gstreamer-local-backend
...
Conflicts:
mopidy/outputs/gstreamer.py
2010-08-16 23:39:51 +02:00
Stein Magnus Jodal
148612d842
Merge remote branch 'knutz3n/add_invalid_url_fix' into gstreamer
2010-08-16 22:38:08 +02:00
Johannes Knutsen
7674775718
Don't call lookup on backends with uris they don't support
2010-08-16 22:34:00 +02:00
Stein Magnus Jodal
73258d6f9d
Reimplement 'load' using SPC.get() instead of search()
2010-08-16 22:33:04 +02:00
Stein Magnus Jodal
d7bf31bab4
Rename CurrentPlaylistController.{load => append}
2010-08-16 21:34:06 +02:00
Johannes Knutsen
ffd4bebba3
Merge branch 'gstreamer' of git://github.com/jodal/mopidy into singlerepeat
2010-08-16 21:01:32 +02:00
Johannes Knutsen
5524b1a011
test next() keeps skipped cp track, but end_of_track removes track
2010-08-16 21:00:31 +02:00
Stein Magnus Jodal
8e8d840767
Modify changes done in gstreamer-output-testing to keep appsrc working
2010-08-16 19:44:35 +02:00
Stein Magnus Jodal
997bffa9d2
Merge remote branch 'adamcik/gstreamer-output-testing' into gstreamer
2010-08-16 19:38:56 +02:00
Johannes Knutsen
6905b81009
merged jodal gstreamer with knutz3n singlerepeat branch
2010-08-16 18:36:37 +02:00
Stein Magnus Jodal
187d3544c4
Play next track at play error
2010-08-14 23:08:42 +02:00
Stein Magnus Jodal
b7030b127a
MPD: Fix 'play[id] -1' behaviour when current track is set
2010-08-14 21:58:39 +02:00