Commit Graph

111 Commits

Author SHA1 Message Date
Stein Magnus Jodal
a9f4860147 Access settings through mopidy.config which can do error handling and in the future combine settings with command line arguments 2010-01-20 22:59:19 +01:00
Stein Magnus Jodal
d620fad453 Add docs on installing libspotify/pyspotify 2010-01-20 21:02:31 +01:00
Stein Magnus Jodal
6e72bdbc10 Update link to pyspotify 2010-01-18 21:39:19 +01:00
Stein Magnus Jodal
59d24f471f Rename SpotifyBackend to DespotifyBackend 2010-01-15 21:41:06 +01:00
Stein Magnus Jodal
32b3cac170 Reduce amount of end-of-track crashes by adding a call to next() when at end of track. Only works when a client is connected as it is called by the 'status' command. 2009-12-26 16:23:58 +01:00
Stein Magnus Jodal
e47d7491eb Update tests to match new code 2009-12-26 16:11:07 +01:00
Stein Magnus Jodal
338fac255b Fix errors caught by tests 2009-12-26 16:10:49 +01:00
Stein Magnus Jodal
31828883be Add 'stats' daemon uptime support 2009-12-26 15:57:53 +01:00
Stein Magnus Jodal
0fcdd3cddb Track elapsed play time behind the scenes when play state is changed 2009-12-26 15:50:59 +01:00
Stein Magnus Jodal
fbbac0c635 Move most of the playback logic to BaseBackend 2009-12-26 15:14:37 +01:00
Stein Magnus Jodal
886376b5f8 Rename _current_song_id to _current_song_pos. Fix crashes when sending 'play' or 'stop' with empty playlist. Support 'play' when no song is selected but playlist is added. 2009-12-26 14:47:31 +01:00
Stein Magnus Jodal
1be0884526 Only reeturn song and songid in status reply if a playlist is loaded 2009-12-26 14:19:50 +01:00
Stein Magnus Jodal
8ffd7e0d87 Update logger names to match class names 2009-12-26 14:16:24 +01:00
Stein Magnus Jodal
7c2abacd6f Log multi-line responses in a readable way 2009-12-26 14:06:41 +01:00
Stein Magnus Jodal
950552a503 Reorder doc sections 2009-12-26 13:33:55 +01:00
Stein Magnus Jodal
4b5112d2a4 Grammar fix 2009-12-26 13:32:45 +01:00
Stein Magnus Jodal
f9ceb70a35 Rename get_mpd_version() to get_mpd_protocol_version() 2009-12-26 13:26:16 +01:00
Stein Magnus Jodal
09eb18e3e3 Add missing "-s to command patterns 2009-12-26 06:09:25 +01:00
Stein Magnus Jodal
06922b0036 Split some long command regexps into multiple patterns 2009-12-26 05:50:01 +01:00
Stein Magnus Jodal
01eb9ac61a Add bitrate to 'status' response 2009-12-26 05:26:42 +01:00
Stein Magnus Jodal
21b7f9221f Add instructions on how to add Spotify username and password to local_settings.py 2009-12-26 05:24:56 +01:00
Stein Magnus Jodal
077f13a5dd Add tracking of time position in track 2009-12-26 05:08:51 +01:00
Johannes Knutsen
4b13e4ad33 Don't return current song when state is stop 2009-12-26 04:16:29 +01:00
Stein Magnus Jodal
1f967b3213 Add 'play' command which starts the last played track 2009-12-26 04:02:59 +01:00
Johannes Knutsen
9cec5ef768 corrected tests to ensure OK is sent on search 2009-12-26 04:01:53 +01:00
Johannes Knutsen
30c4131841 Updated tests to assume implemented methods 2009-12-26 03:55:36 +01:00
Johannes Knutsen
d07300666b added search to spotify backend to satisfy sonata 2009-12-26 03:52:20 +01:00
Stein Magnus Jodal
c044ecb9d3 Catch MpdAckErrors in session too 2009-12-26 03:51:34 +01:00
Johannes Knutsen
c9ba7341fc added search to spotify backend to satisfy sonata 2009-12-26 03:51:26 +01:00
Stein Magnus Jodal
7a96672f0e Return 'ACK Not implemented' instead of 'OK' for unimplemented commands 2009-12-26 03:46:54 +01:00
Johannes Knutsen
148d3c55a2 added status time 2009-12-26 03:35:10 +01:00
Stein Magnus Jodal
46bc8798f8 Move most of handle_response from session to handler 2009-12-26 03:20:45 +01:00
Stein Magnus Jodal
814eb98b83 Add command_list_ok_begin support, ack exceptions 2009-12-26 02:44:32 +01:00
Johannes Knutsen
8bd6d5092e added song and songid to status and handling of prev/next commands 2009-12-26 02:21:47 +01:00
Johannes Knutsen
0606d82e69 added next, previous and current songpos to backends 2009-12-26 02:15:49 +01:00
Stein Magnus Jodal
c22fd44760 Add support for returning lists of two-tuples since we dont have ordered dicts 2009-12-25 22:45:51 +01:00
Stein Magnus Jodal
c4aef48915 Return dict from _update() 2009-12-25 22:23:20 +01:00
Stein Magnus Jodal
13f0cea299 Test that playback commands change the play state 2009-12-25 21:46:59 +01:00
Stein Magnus Jodal
08a095530f Add 'pause' support to Spotify backend 2009-12-25 21:38:25 +01:00
Stein Magnus Jodal
dc69494866 Reorder methods 2009-12-25 21:21:49 +01:00
Stein Magnus Jodal
690897d6e7 Format playlists with correct songpos 2009-12-25 21:21:17 +01:00
Stein Magnus Jodal
a4975f008d Merge branch 'master' of git@github.com:jodal/mopidy 2009-12-25 21:07:04 +01:00
Stein Magnus Jodal
837ef248d9 Move play state from SpotifyBackend to BaseBackend 2009-12-25 21:06:55 +01:00
Stein Magnus Jodal
18f2f01236 Implement SpotifyBackend.playlist_info() correctly 2009-12-25 21:05:15 +01:00
Johannes Knutsen
da8c48837f Merge branch 'master' of git@github.com:jodal/mopidy 2009-12-25 21:01:19 +01:00
Johannes Knutsen
73dae615a4 added command list tests 2009-12-25 21:01:03 +01:00
Stein Magnus Jodal
1c6b4f0950 Add currentsong support to Spotify backend. Got to keep track of current mode (play/pause/stop) ourselves. 2009-12-25 20:39:32 +01:00
Johannes Knutsen
7a6ea8736c added command_list_begin and command_list_end support by buffering responses 2009-12-25 20:30:33 +01:00
Stein Magnus Jodal
f9c156014d Split out track formatting to own method. Fix display of tracks with multiple artists. 2009-12-25 20:08:32 +01:00
Stein Magnus Jodal
71d935cbee Fix search command pattern 2009-12-25 20:02:20 +01:00