Commit Graph

2630 Commits

Author SHA1 Message Date
Stein Magnus Jodal
76c544833e Don't create Caps object on module import, as gst.Caps may be a mock 2012-01-14 22:27:47 +01:00
Stein Magnus Jodal
1952f412d5 Don't setup DBusGMainLoop on module import 2012-01-14 22:27:47 +01:00
Stein Magnus Jodal
dd5336539d Make sure the calls returns strings even when the object we call on is an mock 2012-01-14 22:27:47 +01:00
Stein Magnus Jodal
9702432315 Merge branch 'master' into develop 2011-12-31 12:55:23 +01:00
Stein Magnus Jodal
74c072928a Update Spotify backend dependency docs 2011-12-31 12:55:12 +01:00
Stein Magnus Jodal
088f3e8505 Check if album is loaded before use 2011-12-29 00:15:02 +01:00
Stein Magnus Jodal
4cc7b87669 Merge branch 'master' into develop 2011-12-28 22:17:15 +01:00
Stein Magnus Jodal
8d60ed5f93 Release v0.6.1 2011-12-28 21:46:35 +01:00
Stein Magnus Jodal
5528edd3ad Update changelog for v0.6.1 release 2011-12-28 21:45:08 +01:00
Stein Magnus Jodal
fbfced32c3 Merge branch 'feature/mpd-performance-fixes' into develop 2011-12-28 02:38:17 +01:00
Stein Magnus Jodal
b0698d2e0a Add slice() method to CurrentPlaylistController to reduce copying of the playlist 2011-12-28 02:38:07 +01:00
Stein Magnus Jodal
4f8fbac44c Use CurrentPlaylistController.length once more 2011-12-28 02:03:19 +01:00
Stein Magnus Jodal
5573c33a70 Replace CpTrack indexes with namedtuple field names 2011-12-28 01:57:47 +01:00
Stein Magnus Jodal
cda2fbbe96 Add index() method to CurrentPlaylistController to reduce copying of the playlist 2011-12-28 01:55:02 +01:00
Stein Magnus Jodal
7b0954bef8 Simplify 'playlistinfo' implementation further, guided by new test asserts 2011-12-28 01:00:14 +01:00
Stein Magnus Jodal
716c5b03e2 Remove Playlist.mpd_format() and its usage 2011-12-28 00:36:51 +01:00
Stein Magnus Jodal
ab4f21b389 Remove Track.mpd_format() which is no longer in use 2011-12-28 00:33:42 +01:00
Stein Magnus Jodal
6f6e2c7fd7 Let track{,s}_to_mpd_format() understand CpTrack objects
Thus the cpid and cpids kwargs can be removed, and lots of code doing
formatting of MPD responses can be simplified. This also reduces the
need for making full copies of the current playlist, which improves
performance.
2011-12-28 00:31:27 +01:00
Stein Magnus Jodal
e0e3a1c518 Update changelog 2011-12-28 00:05:28 +01:00
Stein Magnus Jodal
aeee5518ac Improved and simplified the 'playlistinfo' command handler
Cleaning up the rest of the code, it became obvious that sandos'
performance patch did not alter the semantics of 'playlistinfo'.
2011-12-27 23:57:14 +01:00
Stein Magnus Jodal
c5a4bb0e22 Rename tracks_len to length, and add test 2011-12-27 22:31:50 +01:00
Stein Magnus Jodal
449bb87b90 Merge remote-tracking branch 'sandos/develop' into feature/mpd-performance-fixes 2011-12-27 22:09:40 +01:00
sandos
5b1d77e79f Remove some logging 2011-12-12 22:26:33 +01:00
sandos
1414c2394b Remove unused import 2011-12-12 22:23:28 +01:00
sandos
fab020f2d0 performance of playlistinfo <id> and status not dependent on playlist length 2011-12-12 22:22:03 +01:00
Stein Magnus Jodal
c7207c3d85 Break too long line 2011-11-09 23:05:09 +01:00
Stein Magnus Jodal
960859aebf Add unittest2 to test requirements, as we depend on it for Python 2.6 2011-11-06 22:04:23 +01:00
Stein Magnus Jodal
ba842d344d Update changelog wrt. merge of pyspotify 1.5 support 2011-11-02 09:28:34 +01:00
Stein Magnus Jodal
26388f1797 Merge pull request #136 from jodal/feature/pyspotify-1.5-support
Feature/pyspotify 1.5 support
2011-11-02 01:26:42 -07:00
Stein Magnus Jodal
f8ac134d48 We still need the number of watched playlists for the log 2011-11-01 18:38:34 +01:00
Stein Magnus Jodal
7fa46f1ace Refactor from nested list comprehensions to map/filter 2011-11-01 18:35:34 +01:00
Stein Magnus Jodal
f0f10e4374 Refactor from for-if-for to just for-if 2011-11-01 18:27:07 +01:00
Stein Magnus Jodal
5c194b9c37 Watching for changes to PlaylistFolder objects doesn't work 2011-11-01 08:47:37 +01:00
Stein Magnus Jodal
ce4e681e7b Use new method in playlists to check if they are playlists or folder boundaries 2011-11-01 08:46:43 +01:00
Stein Magnus Jodal
98756d837e Replace loop and filter with more Pythonic list comprehension 2011-11-01 08:46:06 +01:00
Stein Magnus Jodal
9ce6a155af Only logout if we have a session to log out from 2011-11-01 08:44:57 +01:00
Stein Magnus Jodal
a9a7f23921 Fix typo 2011-10-31 12:31:17 +01:00
Stein Magnus Jodal
ff7405ca64 Merge branch 'master' into develop 2011-10-19 20:10:34 +02:00
Stein Magnus Jodal
ceb5753c81 Move Google Analytics code to <head> 2011-10-19 20:10:24 +02:00
Stein Magnus Jodal
e5bbda739c Update to async version of Google Analytics tracking 2011-10-19 19:13:04 +02:00
Stein Magnus Jodal
20cd11eb30 Update to async version of Google Analytics tracking 2011-10-19 19:12:03 +02:00
Stein Magnus Jodal
c844c40c60 Merge branch 'master' into develop 2011-10-09 19:46:55 +02:00
Stein Magnus Jodal
139ecb6ccf docs: Note on stopping Mopidy using kill/SIGTERM 2011-10-09 19:45:10 +02:00
Stein Magnus Jodal
a95f960fdb docs: Update location of settings file after XDG-ification 2011-10-09 19:34:28 +02:00
Stein Magnus Jodal
041fd27990 docs: Add link from requirements to the MPRIS frontend 2011-10-09 19:31:05 +02:00
Stein Magnus Jodal
b0319d1f70 Prepare for v0.7 development 2011-10-09 00:43:20 +02:00
Stein Magnus Jodal
da79303e84 Release v0.6.0 2011-10-09 00:06:19 +02:00
Stein Magnus Jodal
65ddaa1583 Update changelog for v0.6.0 release 2011-10-09 00:03:03 +02:00
Stein Magnus Jodal
e0bddfa109 Add MPD_SERVER_MAX_CONNECTIONS setting (fixes: #134) 2011-09-25 11:49:54 +02:00
Stein Magnus Jodal
eb4bf2e8bf Formatting 2011-09-25 11:30:42 +02:00