Commit Graph

153 Commits

Author SHA1 Message Date
Stein Magnus Jodal
10534793ae libspotify: Rewrite backend to use new API 2010-02-10 13:14:13 +01:00
Stein Magnus Jodal
a3ca1bf82f despotify: Remove unused import 2010-02-10 13:08:21 +01:00
Stein Magnus Jodal
f8f46d4691 despotify: Use shortest path to self.playlists 2010-02-10 13:00:22 +01:00
Stein Magnus Jodal
fe4956ee48 despotify: Remove unused arguments 2010-02-10 13:00:09 +01:00
Stein Magnus Jodal
a56e6fcd6e Rename id variable to this_id to not shadow global id() function 2010-02-10 12:45:06 +01:00
Stein Magnus Jodal
f4c133b4d2 Rewrite DespotifyBackend to use new backend API 2010-02-10 12:23:44 +01:00
Stein Magnus Jodal
9e59ef54e1 Do not set initial state to STOPPED twice 2010-02-10 12:20:44 +01:00
Stein Magnus Jodal
a6cd24cc49 BaseBackend's next(), play() and previous() should not call stop(). Wheter to stop before playing a new track is up to the backend to decide. 2010-02-10 12:18:29 +01:00
Stein Magnus Jodal
32afe4c103 Add next_track and previous_track to BasePlaybackController API. Pass track object to internal _next() and _previous() methods. 2010-02-10 12:14:45 +01:00
Stein Magnus Jodal
52aface886 Update MpdHandler._search() to do MPD output formatting 2010-02-10 12:09:23 +01:00
Stein Magnus Jodal
82e7d0b9ac Do not reset playlist version when loading a new playlist 2010-02-08 13:12:25 +01:00
Stein Magnus Jodal
c4cb47df6c Move Backend API docs from docs/ to docstrings 2010-02-08 12:11:34 +01:00
Stein Magnus Jodal
13819b62b3 Test full currentsong output 2010-02-08 00:20:25 +01:00
Stein Magnus Jodal
46af63ab7e Update MpdHandler to use new backend API 2010-02-08 00:12:05 +01:00
Stein Magnus Jodal
98e333bafa Update DummyBackend to adhere to new backend API 2010-02-08 00:11:36 +01:00
Stein Magnus Jodal
e981edc2cc Fix error in BasePlaybackController.playlist_position() 2010-02-08 00:10:50 +01:00
Stein Magnus Jodal
acdfff5b61 Add get_by_id() and get_by_uri() to BaseCurrentPlaylistController 2010-02-07 23:36:53 +01:00
Stein Magnus Jodal
2a30d40ed5 Fix typo in BaseStoredPlaylistsController class name 2010-02-07 23:17:22 +01:00
Stein Magnus Jodal
3d7fc78010 Fix old use of state constants 2010-02-07 23:16:40 +01:00
Stein Magnus Jodal
0eaee6b70d Reorder classes 2010-02-07 23:10:25 +01:00
Stein Magnus Jodal
035e43b4f5 Replace BaseBackend with new API, keeping the existing logic. MPD formatting moved to MpdHandler. 2010-02-07 22:56:22 +01:00
Stein Magnus Jodal
969beea69b Document arguments to Playlist.mpd_format() 2010-02-07 22:36:47 +01:00
Stein Magnus Jodal
682b14c13c Rename to with_() since with is reserved in Python >=2.6 2010-02-07 21:24:57 +01:00
Stein Magnus Jodal
b6bceacc0f Add Playlist.with() 2010-02-07 21:23:32 +01:00
Thomas Adamcik
7cb3e8e7da Merge branch 'master' of git://github.com/jodal/mopidy 2010-02-07 03:52:26 +01:00
Stein Magnus Jodal
554c0b4e52 Add Track.bitrate field 2010-02-07 02:28:41 +01:00
Stein Magnus Jodal
06720e2764 Remove method which was defined twice 2010-02-06 15:14:31 +01:00
Stein Magnus Jodal
ea45b4d5e7 Add API doc of mopidy.models 2010-02-06 13:59:50 +01:00
Stein Magnus Jodal
19bd58f342 When loading a new playlist, reset the current song pos, and if state==PLAY play the first song in the new list 2010-02-06 03:37:58 +01:00
Stein Magnus Jodal
1c75716a39 Remove end_of_track hack 2010-02-06 03:29:49 +01:00
Stein Magnus Jodal
c0ee95777b Fix crash in despotify search 2010-02-06 03:26:10 +01:00
Thomas Adamcik
135664da4d Add logging of which backend is loaded 2010-02-06 02:35:57 +01:00
Stein Magnus Jodal
a0988d4733 Remove unused import 2010-02-06 02:32:00 +01:00
Stein Magnus Jodal
01cc3fe96e Add BaseBackend.url_handlers() 2010-02-06 00:24:09 +01:00
Stein Magnus Jodal
30b50cf19b Map ID and URI both ways 2010-02-01 11:37:00 +01:00
Stein Magnus Jodal
fcb84b1d7b Generate song IDs which maps to a single Spotify URI for the rest of the session 2010-02-01 11:31:18 +01:00
Stein Magnus Jodal
5616ac8227 Inline _load_track in _play_current_track 2010-02-01 10:01:11 +01:00
Stein Magnus Jodal
088a2be1a5 Add initial libspotify playback control. Only plays first song in each playlist. 2010-01-31 23:27:30 +01:00
Stein Magnus Jodal
6f59851912 Get URIs from Pyspotify when translating models 2010-01-31 22:56:57 +01:00
Stein Magnus Jodal
ff95f6e448 Remove pyspotify test code 2010-01-31 22:41:43 +01:00
Stein Magnus Jodal
72a2215621 Rename LibspotifySession to LibspotifySessionManager 2010-01-31 22:41:08 +01:00
Stein Magnus Jodal
e9407cf4e9 Add playback control todo, status_bitrate and url_handlers 2010-01-31 21:58:27 +01:00
Stein Magnus Jodal
37a0cf23c1 Add browsing of stored playlist to libspotify backend 2010-01-31 21:50:57 +01:00
Stein Magnus Jodal
ec44aa9569 Fix listing of stored playlists 2010-01-31 21:23:00 +01:00
Stein Magnus Jodal
7fa65f6c89 Fix lsinfo without uri 2010-01-31 21:22:45 +01:00
Stein Magnus Jodal
b69639738e Log available playlists 2010-01-31 21:12:45 +01:00
Stein Magnus Jodal
de0515d13b Move LibspotifyBackend to before LibspotifySession 2010-01-31 19:48:18 +01:00
Stein Magnus Jodal
703b6c53d6 Move model translation functions into backend class 2010-01-31 19:37:56 +01:00
Stein Magnus Jodal
20e360131f Replace some backend properties with plain fields. Fix failing tests. 2010-01-31 14:38:06 +01:00
Stein Magnus Jodal
230c3af3cb Move MPD stuff to mopidy.mpd 2010-01-31 13:03:50 +01:00