Johannes Knutsen
fe9ad74e1b
fixed test_seek and test_seekid
2010-08-14 15:44:05 +02:00
Thomas Adamcik
7ed8563347
Attempt to setup both appsrc and uridecodebin in same pipeline
2010-08-14 15:36:47 +02:00
Thomas Adamcik
419de169c6
Add test_play_uri_non_existing_file for output
2010-08-14 15:26:57 +02:00
Thomas Adamcik
e2bdec5a4b
Start adding gstreamer output tests
2010-08-14 15:23:27 +02:00
Stein Magnus Jodal
5d9fd5b625
MPD: Update tests and fix 'playlistfind'
2010-08-14 14:42:44 +02:00
Stein Magnus Jodal
908ad5016f
Merge master into gstreamer
2010-08-14 14:30:12 +02:00
Stein Magnus Jodal
abcc9c1007
MPD: Improve seek impl and add seekid impl. Add tests which fails.
2010-08-14 14:10:44 +02:00
Stein Magnus Jodal
da2a44fd17
Fix 400 or so tests broken by changing the mixer constructor
2010-08-14 04:07:50 +02:00
Thomas Adamcik
ec67d43fc9
Test both case where class and/or module does not exist for get_class
2010-08-13 22:29:45 +02:00
Thomas Adamcik
e4bdacbb61
Add test_import_error_message_contains_complete_class_path test for get_class
2010-08-13 22:28:02 +02:00
Thomas Adamcik
059f96814d
Add basic tests for get_class util
2010-08-13 22:16:11 +02:00
Johannes Knutsen
e1f8a0bf72
Rename mopidy.frontends.mpd.{serializer => translator} to match naming in backends.
2010-08-13 20:48:38 +02:00
Thomas Adamcik
acd0437193
Remove despotify backend as library is no longer maintained
2010-08-13 20:44:24 +02:00
Stein Magnus Jodal
635791cf0e
MPD: Support missing quotes for 'consume', 'random', 'repeat', and
...
'single' to work with BitMPC.
2010-08-13 13:33:15 +02:00
Stein Magnus Jodal
9f71c1533a
MPD: Support 'play' without quotes to work with BitMPC
2010-08-13 13:09:03 +02:00
Stein Magnus Jodal
5393407571
MPD: Support 'plchanges' without quotes to work with BitMPC
2010-08-13 13:04:56 +02:00
Stein Magnus Jodal
a3fb8a1f72
MPD: Support 'pause' without args to work with MPDroid
2010-08-13 12:26:34 +02:00
Stein Magnus Jodal
255d70d1ae
MPD: Support 'plchanges "-1"' to work better with MPDroid
2010-08-13 12:20:51 +02:00
Stein Magnus Jodal
46177f65f1
Rename mopidy.backends.{gstreamer => local}
2010-08-10 21:45:01 +02:00
Stein Magnus Jodal
d0aac71cfb
MPD: Split protocol implementation into 11 modules
2010-08-10 02:08:59 +02:00
Stein Magnus Jodal
b4c91af7d7
Relocate MPD frontend to 'mopidy.frontends.mpd'
2010-08-09 21:17:36 +02:00
Stein Magnus Jodal
3339fb7de0
Fix 'play/playid "-1"' behaviour when playlist is empty
2010-08-09 20:44:01 +02:00
Stein Magnus Jodal
d2aa7c9d21
Fix formatting
2010-08-09 12:20:59 +02:00
Stein Magnus Jodal
78f71794e1
Fix tests broken by knutz3n's search improvements, and sync GstreamerBackend's find_exact() and search()
2010-08-09 12:05:08 +02:00
Johannes Knutsen
2897f8e5f6
merge master branch
2010-08-09 09:49:07 +02:00
Stein Magnus Jodal
a6d06a6c4b
Remove Track.id usage from de-/libspotify integration tests
2010-08-08 18:38:29 +02:00
Stein Magnus Jodal
96ac806d8f
Remove Track.id field
2010-08-08 17:17:38 +02:00
Stein Magnus Jodal
22b6a3df8b
Remove Track.id usage in Gstreamer backend
2010-08-08 17:15:47 +02:00
Stein Magnus Jodal
8c1e5d5c69
Remove Track.id usage in MPD tests
2010-08-08 17:14:07 +02:00
Johannes Knutsen
dc7353694b
Merge branch 'master' of git://github.com/jodal/mopidy
2010-08-05 18:49:37 +02:00
Stein Magnus Jodal
1cfddf3d90
Ready for v0.1.0a4 development
2010-08-03 14:55:08 +02:00
Stein Magnus Jodal
c83ac35758
MPD: Add more docs and tests to 'playlistsearch'
2010-08-03 09:07:33 +02:00
Stein Magnus Jodal
999de87d07
MPD: Use CPID in 'plchangesposid' output
2010-08-02 23:02:51 +02:00
Johannes Knutsen
e7a87d0375
Merge branch 'master' of git://github.com/jodal/mopidy
2010-08-02 14:28:38 +02:00
Stein Magnus Jodal
44309345db
Update 'addid' to return CPID instead of GID
2010-08-02 14:27:57 +02:00
Stein Magnus Jodal
80df6d1fea
CurrentPlaylistCtl.add() returns the cp_track that was added to the current playlist
2010-08-02 14:24:12 +02:00
Johannes Knutsen
26ebdda214
merge jodal master
2010-08-02 14:08:02 +02:00
Stein Magnus Jodal
6d5d4d857d
Make test match test name
2010-07-31 23:25:25 +02:00
Stein Magnus Jodal
b4c80fdc2f
tests: Remove unused imports
2010-07-31 20:21:36 +02:00
Stein Magnus Jodal
04304dafd8
tests: Split mpd/frontend_test into 11 files
2010-07-31 20:19:24 +02:00
Stein Magnus Jodal
64544a0b71
Use cp_track in CurrentPlaylistCtl and PlaybackCtl
...
A new data structure called ``cp_track`` is now used in the current
playlist controller and the playback controller. A ``cp_track`` is a
two-tuple of (CPID integer, mopidy.models.Track), identifying an
instance of a track uniquely within the current playlist.
This fixes issues with using playlists with multiple instances of the
same track.
2010-07-31 19:51:03 +02:00
Johannes Knutsen
15f1ada66b
removed print statement from test
2010-07-26 17:51:38 +02:00
Johannes Knutsen
4236b8b58b
removed wrongly commited swo file
2010-07-26 17:50:47 +02:00
Johannes Knutsen
be949d45df
merge implementation of multi-word search
2010-07-26 10:48:30 +02:00
Johannes Knutsen
9c08f54514
implemented multi-word search by making a query as a list of (field, what)-tuples.
2010-07-26 10:44:21 +02:00
Stein Magnus Jodal
affd1799d6
Use CPID in MPD formats.
...
This makes it possible to handle multiple identical songs in the same
playlist.
2010-07-01 03:15:43 +02:00
Stein Magnus Jodal
8c3d3603e2
Add lookup by CPID to CurrentPlaylistController.get()
2010-07-01 01:54:11 +02:00
Stein Magnus Jodal
d65c76c528
Merge branch 'master' into cpc
2010-07-01 01:03:35 +02:00
Stein Magnus Jodal
dd494107d3
Extract mpd_format from models to mopidy.mpd.serializers
2010-07-01 00:39:50 +02:00
Stein Magnus Jodal
e6843e8b4d
CurrentPlaylistController.tracks is now read-only
2010-06-30 23:47:18 +02:00
Stein Magnus Jodal
6005086a7f
Merge remote branch 'klette/master'
2010-06-30 23:42:15 +02:00
Stein Magnus Jodal
5916646eca
Format IP address to bind to according to available protocol family
2010-06-30 21:50:49 +02:00
Kristian Klette
699385b613
Support list album artist "someartist"
2010-06-30 20:40:20 +02:00
Kristian
7922795d2f
Return OK on noidle
2010-06-30 20:08:53 +02:00
Stein Magnus Jodal
81503df2ad
Merge branch 'master' into cpc
2010-06-30 12:45:01 +02:00
Stein Magnus Jodal
b3bff400e6
MPD: Accept list without quotes around field arg
2010-06-30 12:44:46 +02:00
Stein Magnus Jodal
1e0a5e5bb3
CurrentPlaylistController.load() reuse add() logic
2010-06-30 00:31:49 +02:00
Stein Magnus Jodal
93b606af3e
Fix tests broken by the two previous cherry-picked commits
2010-06-30 00:23:28 +02:00
Stein Magnus Jodal
4ba30f80e4
CurrentPlaylistController.load() takes a list of tracks instead of a Playlist object
2010-06-29 23:53:52 +02:00
Stein Magnus Jodal
770e1fa85e
Don't use GStreamer's fakesink, since two tests fails using it
2010-06-28 23:27:52 +02:00
Stein Magnus Jodal
4e29754ce6
Remove 'ack' command added by Mopidy
2010-06-24 20:00:58 +02:00
Stein Magnus Jodal
1aa5963697
MPD: Add correct index to error message when error happens while processing a command list
2010-06-24 19:59:21 +02:00
Stein Magnus Jodal
95f83c8102
Rename MpdAckError.position to MAE.index
2010-06-24 19:57:06 +02:00
Stein Magnus Jodal
d093e498d8
'command_list_end' before 'command_list_start' now returns 'unknown command' error instead of crashing
2010-06-24 19:47:44 +02:00
Stein Magnus Jodal
873e387618
Temporarily disable GStreamer tests for Win32
2010-06-24 18:13:51 +02:00
Stein Magnus Jodal
a8672eb87b
MPD: Remove some commands from the 'commands' output, as MPD does not list them and GMPC fails if 'idle' is present in the list
2010-06-24 12:55:49 +02:00
Stein Magnus Jodal
bcc133a079
MPD: More correct date format in listplaylists output
2010-06-24 12:50:59 +02:00
Stein Magnus Jodal
2f9775250a
Return 'incorrect arguments' instead of 'unknown command' for known commands that don't match any patterns
2010-06-23 22:53:27 +02:00
Stein Magnus Jodal
af30db91e1
Update all MpdAckErrors thrown by request handlers. Three tests intentionally left failing.
2010-06-23 22:23:42 +02:00
Stein Magnus Jodal
a234d41d77
MPD-compliant ACK error messages
...
Started work on MPD-compliant ACK error messages. 14 tests are
intentionally left broken.
2010-06-22 23:52:35 +02:00
Stein Magnus Jodal
11b8ab89c9
Fix support for IPv4 addresses in SERVER_HOSTNAME which was broken by new IPv6 support
2010-06-20 23:00:52 +02:00
Stein Magnus Jodal
3c3d2728ad
MPD: Don't crash when receiving invalid data
2010-06-20 21:51:15 +02:00
Stein Magnus Jodal
d00c47ec88
MPD: Implement 'commands' command
2010-06-20 21:25:46 +02:00
Stein Magnus Jodal
f2547199a0
Gstreamer tests: use fakesink for audio output
2010-06-16 22:07:35 +02:00
Stein Magnus Jodal
a9923fcb23
Merge remote branch 'adamcik/gstreamer'
...
Conflicts:
mopidy/mpd/frontend.py
tests/mpd/frontend_test.py
GstreamerBackend now raises LookupError where the other backends just
returns None. We'll probably move in the direction of using LookupError
all over, but the changes to DummyBackend and generic tests was reverted
until BaseBackend, the backend API docs and the other backends are
updated to all raise LookupError.
2010-06-06 22:15:25 +02:00
Stein Magnus Jodal
d135066b0d
addid should ACK, and not crash or be silent on error conditions
2010-06-06 22:04:50 +02:00
Stein Magnus Jodal
6623007448
Ready for 0.1.0a3 development
2010-06-02 21:45:22 +02:00
Thomas Adamcik
98f2f67663
Library needs to set id
2010-05-06 00:50:22 +02:00
Thomas Adamcik
e0ffd7e7a1
Add test_add_uri_that_triggers_lookup_error
2010-05-06 00:11:23 +02:00
Thomas Adamcik
c8b3c91c7c
Test that playlistinfo -1 == playlistinfo and add FIXMEs for rest of playlistinfo tests
2010-05-05 23:55:28 +02:00
Thomas Adamcik
bfd34eb9e0
Fix gstreamer stored playlist controller with respect to tracks that don't exist in library (and test stub for issue)
2010-05-05 23:05:22 +02:00
Thomas Adamcik
8875e054d0
Rename MUSIC_FOLDER, PLAYLIST_FOLDER and TAG_CACHE with LOCAL_ prefix
2010-05-05 20:28:51 +02:00
Thomas Adamcik
65c8dbc906
Fix tests with respect to dependecies between backends
2010-05-05 20:16:41 +02:00
Stein Magnus Jodal
c8b6e4728d
MPD: Handle 'play "-1"' in same way as 'playid "-1"'
2010-05-05 14:37:58 +02:00
Stein Magnus Jodal
b408751520
MPD: Handle 'lsinfo ""' in the same way as 'lsinfo' and 'lsinfo "/"'
2010-05-05 12:54:49 +02:00
Stein Magnus Jodal
5449374fa2
Ready for 0.1.0a2 development
2010-05-04 22:23:15 +02:00
Stein Magnus Jodal
3047aeb14a
Merge remote branch 'adamcik/gstreamer'
2010-05-04 00:27:02 +02:00
Stein Magnus Jodal
d70d60deed
Add deactivated integration tests for DespotifyBackend and LibspotifyBackend
2010-05-03 23:17:52 +02:00
Stein Magnus Jodal
39959a6edf
Rename playlist_position to current_playlist_position
2010-05-03 22:52:49 +02:00
Stein Magnus Jodal
5638604a07
Remove backend.playback.volume in preference of backend.mixer.volume
2010-05-03 22:38:21 +02:00
Thomas Adamcik
eba3dd7c6d
Windows won't let you open a NamedTemporartFile while it is still open
2010-05-02 13:40:42 +02:00
Thomas Adamcik
ce8f88954c
Another windows file path adjustment
2010-05-02 02:25:38 +02:00
Thomas Adamcik
adb8304c67
Try to fix path_to_uri for windows
2010-05-02 02:21:04 +02:00
Thomas Adamcik
d873fd62de
pylint tests written for gstreamer
2010-05-01 21:53:52 +02:00
Thomas Adamcik
d757d6a0ec
Simplify tag cache return values
2010-05-01 21:28:56 +02:00
Thomas Adamcik
590aea4b89
Add FIXME and correct test class name
2010-05-01 21:03:51 +02:00
Thomas Adamcik
3c9ff6b13f
Rename get_or_create_dotdir to get_or_create_folder and add tests
2010-05-01 21:03:11 +02:00
Thomas Adamcik
9bf1ecede8
Deploy path_to_uri all over
2010-05-01 20:31:00 +02:00
Thomas Adamcik
5cabd1c255
Unicode tests for PathToFileURITest
2010-05-01 20:10:12 +02:00
Thomas Adamcik
0186bd81db
Expand path_to_uri functionality
2010-05-01 19:56:03 +02:00
Thomas Adamcik
03a453eb64
Add path_to_uri in utils
2010-05-01 19:48:05 +02:00
Thomas Adamcik
e1c40fbc0b
Rollback skipping gstreamer tests on windows
2010-05-01 17:22:22 +02:00
Thomas Adamcik
cf8584c769
Rename some tests classes, ie. s/Backend//
2010-05-01 17:20:25 +02:00
Thomas Adamcik
2b743e4157
Skip gstreamer tests on windows
2010-05-01 17:19:56 +02:00
Stein Magnus Jodal
59ada1bb28
Merge tests/backends/get_test into tests/backends/base
2010-05-01 14:55:05 +02:00
Stein Magnus Jodal
eac8015970
Use assertEqual without 's' all over
2010-05-01 14:47:41 +02:00
Stein Magnus Jodal
cf1fbda387
Fix more pylint violations
2010-05-01 11:46:59 +02:00
Thomas Adamcik
7773e8eba3
Test and impl. search in library
2010-04-30 22:25:19 +02:00
Thomas Adamcik
d5b80c7885
Test and implement library.find_exact
2010-04-30 21:57:01 +02:00
Thomas Adamcik
f1453732dc
Find exact with no hits test and impl.
2010-04-30 21:13:32 +02:00
Thomas Adamcik
c66c63c671
Forgot to add library tag cache
2010-04-30 20:59:51 +02:00
Thomas Adamcik
d8b6d216d3
Update m3u parser to handle missing files better
2010-04-30 20:56:27 +02:00
Thomas Adamcik
fa362ce936
Handle missing tag cache better
2010-04-30 20:46:30 +02:00
Thomas Adamcik
437f7fb6e7
Add lookup tests for library
2010-04-30 20:42:08 +02:00
Thomas Adamcik
14f7bc0591
Add placeholder URItoM3UTest for when persistence is moved back to util class
2010-04-30 20:05:39 +02:00
Thomas Adamcik
b84c9e3eff
Add test for minimal 'blank' tag_cache
2010-04-30 19:51:49 +02:00
Thomas Adamcik
9e798916bd
Convert gstreamer_test to use data folder helper
2010-04-29 22:51:18 +02:00
Thomas Adamcik
5e79c8a1f1
Move data folder helper to tests module
2010-04-29 22:49:28 +02:00
Thomas Adamcik
3bc9a0a60c
Update library tests
2010-04-29 22:20:18 +02:00
Thomas Adamcik
7183cfd561
More placeholders for tests
2010-04-29 22:09:55 +02:00
Thomas Adamcik
0553c804f2
Fix trailing whitespace
2010-04-29 21:59:52 +02:00
Thomas Adamcik
c612edd205
Merge branch 'master' into gstreamer
2010-04-29 21:11:42 +02:00
Thomas Adamcik
1da9dced77
Ensure that models don't accept unknown kwarg keys
2010-04-29 21:09:17 +02:00
Thomas Adamcik
53bc3cec6a
Ensure the files don't exist before in playlist tests
2010-04-29 20:03:08 +02:00
Thomas Adamcik
a0fae47e90
Ensure that renamed playlists aren't created
2010-04-29 20:01:35 +02:00
Thomas Adamcik
42e96ebdcd
Add placeholders for library tests
2010-04-28 23:04:39 +02:00
Thomas Adamcik
074da2e542
Add minimal BaseLibraryControllerTest
2010-04-28 22:56:10 +02:00
Thomas Adamcik
5f08dbc213
Add extra settings for music folder and tag cache
2010-04-28 22:53:42 +02:00
Thomas Adamcik
15751613a1
Add some test stubs for mpd cache handling
2010-04-28 22:41:37 +02:00
Thomas Adamcik
837f35ef36
Add advanced tag cache test
2010-04-28 22:31:08 +02:00
Thomas Adamcik
b6340d107b
Clean mpd tag cache tests
2010-04-28 22:30:26 +02:00
Thomas Adamcik
853af8a492
Add fixme and test stub for playlist eq and hash testing
2010-04-28 22:09:30 +02:00
Thomas Adamcik
f36f64c6ca
Add basic mpd tag cache parser and tests
2010-04-28 22:02:01 +02:00
Thomas Adamcik
7158056c26
Test id() for equality, not playlists them selves due to eq changes
2010-04-28 21:57:53 +02:00
Thomas Adamcik
db4ad72678
Fix test_artists test with respect to hashing and set behaveviour
2010-04-28 21:53:51 +02:00
Thomas Adamcik
64f81a6594
Add test_eq_other check
2010-04-28 21:51:19 +02:00
Thomas Adamcik
1d3a394d03
«Hashable objects which compare equal must have the same hash value» ie. add hash tests for eq
2010-04-28 21:36:13 +02:00
Thomas Adamcik
69e6d5dc92
Add test for equality with ordering changes of artists
2010-04-27 23:25:35 +02:00
Thomas Adamcik
b24d883db9
Test comparing with None
2010-04-27 23:15:33 +02:00
Thomas Adamcik
f8b2d52333
Add __eq__ to Track
2010-04-27 23:12:24 +02:00
Thomas Adamcik
3bc795ee95
Add __eq__ to album
2010-04-27 22:55:36 +02:00
Thomas Adamcik
06d6fd81c7
Add __eq__ to Artist
2010-04-27 22:47:35 +02:00
Thomas Adamcik
d64980411d
Rename m3u conversion helper to parse_m3u
2010-04-27 21:39:52 +02:00
Thomas Adamcik
c93d8470ce
Substitute file: with file:// all over
2010-04-27 20:03:00 +02:00
Thomas Adamcik
d24a81425c
Convert uri handler to file://
2010-04-27 20:02:08 +02:00
Stein Magnus Jodal
cf0986a3a0
Add test to ensure that the last track in a playlist also is consumed
2010-04-27 15:27:58 +02:00
Thomas Adamcik
edc2eb0760
Merge branch 'master' into gstreamer
...
Conflicts:
tests/backends/gstreamer_test.py
2010-04-27 00:10:03 +02:00
Thomas Adamcik
80879f9f86
Add more test stubs
2010-04-27 00:06:25 +02:00
Thomas Adamcik
32dcabafc3
Load tracks when stored playlist is initialised
2010-04-27 00:02:57 +02:00
Thomas Adamcik
f9bc9a44b1
Replace FIXME with test stub
2010-04-26 23:46:48 +02:00