Commit Graph

717 Commits

Author SHA1 Message Date
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
0ee8254008 Move command-from-pattern extraction from 'commands' handler to 'handle_pattern' decorator 2010-06-23 22:42:59 +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
418728b565 Fix broken reference in docs 2010-06-21 22:45:35 +02:00
Stein Magnus Jodal
0ea7d35e5f Prettify debug output from MpdSession 2010-06-21 22:25:38 +02:00
Stein Magnus Jodal
5b66a52dcc Update links to backend issues 2010-06-21 15:16:25 +02:00
Stein Magnus Jodal
febd7ebc15 Bind to 127.0.0.1 as default, since 'localhost' is IPv6-only on IPv6-enabled hosts 2010-06-20 23:02:07 +02:00
Stein Magnus Jodal
7b78c86d43 Make MpdSession more testable 2010-06-20 23:01:22 +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
c6cd2ba564 Move backend issue lists from docstrings to issue tracker 2010-06-19 13:05:58 +02:00
Stein Magnus Jodal
f2547199a0 Gstreamer tests: use fakesink for audio output 2010-06-16 22:07:35 +02:00
Stein Magnus Jodal
27e96fea82 MpdServer: Support IPv6 2010-06-14 21:11:43 +02:00
Stein Magnus Jodal
2363df28f6 MpdServer: Make sockaddr handling independent of AF_INET vs AF_INET6 2010-06-14 21:11:25 +02:00
Stein Magnus Jodal
3522a4498a Document search_result arg to Track.mpd_format() 2010-06-07 02:26:12 +02:00
Stein Magnus Jodal
e31d41e7b3 Tweaking docs formatting 2010-06-07 00:01:01 +02:00
Stein Magnus Jodal
abd0d469c4 Add docs on how repeat/random/single/consume affects previous and next in MPD 2010-06-06 23:52:17 +02:00
Stein Magnus Jodal
7455eb961d Fix formatting of default values for LOCAL_* settings. 2010-06-06 22:24:15 +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
f60301800d Add FIXME with respect to volume in alsamixer 2010-05-06 00:15:00 +02:00
Thomas Adamcik
0186e3b56e Fix test_add_uri_that_triggers_lookup_error 2010-05-06 00:11:30 +02:00
Thomas Adamcik
b090d37457 Fix dummy library with respect to raising lookup error 2010-05-06 00:11:11 +02:00
Thomas Adamcik
feb0b3f5f3 Add logging marker 2010-05-05 23:54:53 +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
09ffd91845 Fix playlistinfo handling to match mpd behaviour 2010-05-05 22:56:52 +02:00
Stein Magnus Jodal
db20c86c80 Split logging setup into two functions 2010-05-05 22:52:09 +02:00
Thomas Adamcik
e7014b9fb7 Merge branch 'master' into gstreamer
Conflicts:
	mopidy/settings.py
2010-05-05 20:44:10 +02:00
Thomas Adamcik
3dac4f9474 Merge branch 'master' of git://github.com/jodal/mopidy 2010-05-05 20:43:19 +02:00
Thomas Adamcik
745675d0ff Merge branch 'master' into gstreamer 2010-05-05 20:42:38 +02:00
Thomas Adamcik
7b31521968 Fix log format for server input, output 2010-05-05 20:41:15 +02:00
Thomas Adamcik
8875e054d0 Rename MUSIC_FOLDER, PLAYLIST_FOLDER and TAG_CACHE with LOCAL_ prefix 2010-05-05 20:28:51 +02:00
Stein Magnus Jodal
db97f456d4 Fix settings docs formatting 2010-05-05 20:20:39 +02:00
Thomas Adamcik
2c02dca44b Merge branch 'master' into gstreamer 2010-05-05 20:20:13 +02:00
Stein Magnus Jodal
429caf51aa Add new setting MIXER_ALSA_CONTROL that overrides the control search in AlsaMixer 2010-05-05 20:04:25 +02:00
Stein Magnus Jodal
1660cccbea Fix missing options.debug 2010-05-05 19:42:16 +02:00
Thomas Adamcik
62dde4de74 Merge branch 'master' into gstreamer 2010-05-05 19:29:26 +02:00
Thomas Adamcik
733f51fdc6 Add info about defaults for DUMP settings 2010-05-05 19:29:20 +02:00
Thomas Adamcik
f55390ee18 Use path_to_uri to join dirs 2010-05-05 19:26:50 +02:00
Thomas Adamcik
1622f760f2 Add FIXMEs 2010-05-05 19:26:31 +02:00
Thomas Adamcik
998f9abae6 Load playlist tracks from library 2010-05-05 19:24:42 +02:00
Thomas Adamcik
60ca5e4841 Add logging for loading of tag_cache and playlists, and exception message for LookupError 2010-05-05 19:24:22 +02:00
Thomas Adamcik
f946386a7d Reorder init of backends due to dependencies between them 2010-05-05 19:23:10 +02:00
Thomas Adamcik
8361b137cc Rename debug option to dump 2010-05-05 19:21:47 +02:00
Thomas Adamcik
f0dfaaa363 Add client info to logs 2010-05-05 18:33:19 +02:00
Thomas Adamcik
fc8b932723 Add file based debug logger 2010-05-05 18:33:05 +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
3cf285f44e despotify: Ignore local files in playlists
Fixes initial hang on "Caching stored playlists".
2010-05-04 21:36:04 +02:00
Stein Magnus Jodal
597ea290ae Document what should happen if library.lookup() fails 2010-05-04 21:30:58 +02:00
Stein Magnus Jodal
a3498ba5d6 Fix kwarg name 2010-05-04 20:59:45 +02:00
Stein Magnus Jodal
3047aeb14a Merge remote branch 'adamcik/gstreamer' 2010-05-04 00:27:02 +02:00
Stein Magnus Jodal
894060b4e4 Make AlsaMixer work on hosts without a mixer named 'Master' 2010-05-03 23:52:38 +02:00
Stein Magnus Jodal
8cedca11d3 Improve backend API docs 2010-05-03 22:54:34 +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
Stein Magnus Jodal
59a81ecf6d libspotify: Make audio controller injectable for testing 2010-05-03 21:44:06 +02:00
Thomas Adamcik
adb8304c67 Try to fix path_to_uri for windows 2010-05-02 02:21:04 +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
Stein Magnus Jodal
4660e856ca Fix more pylint warnings 2010-05-01 14:29:54 +02:00
Stein Magnus Jodal
343e451b55 Fix some pylint warnings 2010-05-01 13:39:42 +02:00
Stein Magnus Jodal
fff0e046cf Fix more pylint violations 2010-05-01 13:21:52 +02:00
Stein Magnus Jodal
cf1fbda387 Fix more pylint violations 2010-05-01 11:46:59 +02:00
Thomas Adamcik
89d06a4de3 Merge branch 'master' into gstreamer 2010-05-01 01:58:33 +02:00
Thomas Adamcik
7773e8eba3 Test and impl. search in library 2010-04-30 22:25:19 +02:00
Thomas Adamcik
9c612d1c52 Better exception message for library find exact 2010-04-30 22:23:05 +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
b6fbc0bce9 Fix stupid wording 2010-04-30 21:00:25 +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
a222a49799 Fix gstreamer library with respect to lookup 2010-04-30 20:42:35 +02:00
Thomas Adamcik
0d1da2fc08 Refactor parse_mpd_tag_cache to handle blank track info 2010-04-30 19:55:39 +02:00
Stein Magnus Jodal
e12874bb6e Fix logging of exception message 2010-04-29 23:52:52 +02:00
Stein Magnus Jodal
973d5d330e Fix some pylint warnings 2010-04-29 22:54:37 +02:00
Thomas Adamcik
8e6df64997 Add FIXME 2010-04-29 22:31:36 +02:00
Thomas Adamcik
aae64d2c23 Add minimal gstreamer library so that tests pass 2010-04-29 22:20:40 +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
0bcda9920b Various pylint fixes 2010-04-29 20:37:22 +02:00
Thomas Adamcik
5f08dbc213 Add extra settings for music folder and tag cache 2010-04-28 22:53:42 +02:00
Thomas Adamcik
febdbce0e1 Fix mpd tag cache code with respect to newest test 2010-04-28 22:31:25 +02:00
Thomas Adamcik
3b3ba18966 Simplify MPD tag cache code 2010-04-28 22:03:14 +02:00
Thomas Adamcik
f36f64c6ca Add basic mpd tag cache parser and tests 2010-04-28 22:02:01 +02:00
Thomas Adamcik
3e640e1e5b Move eq method to imutable object parent class 2010-04-28 21:56:01 +02:00
Thomas Adamcik
7ecc378bf9 Add fixme 2010-04-28 21:54:06 +02:00
Thomas Adamcik
949ca6357f Use frozensets in models as they are hashable 2010-04-28 21:53:10 +02:00