Commit Graph

1211 Commits

Author SHA1 Message Date
Zan Dobersek
b2657566f4 Update the song1.ogg file
Provide the Ogg file that matches the MP3 file (i.e. the file from which it was
converted) in duration, specifically 4680 milliseconds.
(cherry picked from commit e42c359821c410f10251ead492659a1f9563d2d7)
2013-03-30 01:55:53 +01:00
Zan Dobersek
7c115076b0 Add test coverage for scanning of Ogg files
Provide a song1.ogg audio file, converted from the tests/data/scanner/simple/song1.mp3
file, and perform the same test checks on its scanned data that are performed for
song1.mp3. The expected results are the same except for a small difference in the
reported duration.
(cherry picked from commit 61aa28f8a562f0b0722e2b3414677da82588fdb8)
2013-03-30 01:55:33 +01:00
Stein Magnus Jodal
49c8062ba6 mpris: Add discNumber support 2013-03-23 20:58:22 +01:00
Stein Magnus Jodal
50cce23d82 mpris: Add artUrl support 2013-03-23 20:46:43 +01:00
Stein Magnus Jodal
c45db5388a tests: Use audio instancee, not module 2013-03-19 23:49:46 +01:00
Stein Magnus Jodal
02b845bd4b Revert "Merge pull request #231 from adamcik/feature/end-of-track"
This reverts commit 1cf9826f87, reversing
changes made to 711dbe8738.
2013-03-19 23:23:14 +01:00
Stein Magnus Jodal
71e25e751d Merge branch 'master' into develop
Conflicts:
	docs/changes.rst
	mopidy/audio/utils.py
	mopidy/backends/stream/actor.py
	tests/backends/base/events.py
2013-03-12 21:09:14 +01:00
Stein Magnus Jodal
0318e6e47c Bump version number to 0.12.0 2013-03-12 21:03:48 +01:00
Thomas Adamcik
692bcae8e4 core: Update tests with cases for filtering out None results. 2013-03-12 20:23:39 +01:00
Thomas Adamcik
1abab8c907 tests: Pass audio actor proxy to backends not audio module 2013-03-12 20:23:08 +01:00
Stein Magnus Jodal
d3e41dc5e2 tests: Add better error message to debug test failure 2013-03-12 20:09:31 +01:00
Stein Magnus Jodal
a36c94fcba Fix one more kwargs dict (#302) 2013-03-12 20:09:21 +01:00
Stein Magnus Jodal
e0f220921e models: Support serialization of lists of strings 2013-03-12 20:09:05 +01:00
Stein Magnus Jodal
d2a51f7128 models: Add Album.num_discs (#286) 2013-03-12 20:08:52 +01:00
Stein Magnus Jodal
f3ccf871e5 models: Add Track.disc_no (#286) 2013-03-12 20:08:44 +01:00
Stein Magnus Jodal
bb9ef63a42 models: Add Album.images field (#263) 2013-03-12 20:08:24 +01:00
Stein Magnus Jodal
04b24b4a37 core: Add 'include_tracks' argument to 'get_playlists()'
Conflicts:
	docs/changes.rst
2013-03-12 20:07:11 +01:00
Stein Magnus Jodal
9749f66972 Use bytestrings for the keys of **kwargs dicts
Python < 2.6.5rc1 does not work with unicode keys. Fixes #302.
2013-03-12 20:01:27 +01:00
Stein Magnus Jodal
804a945e42 tests: Use DummyAudio instead of mocks 2013-02-24 22:29:04 +01:00
Thomas Adamcik
63df51ac73 tests: Pass audio actor proxy to backends not audio module 2013-01-08 23:20:41 +01:00
Stein Magnus Jodal
c0c67e4835 tests: Add better error message to debug test failure 2013-01-07 21:51:11 +01:00
Stein Magnus Jodal
19f4ea8889 Fix one more kwargs dict (#302) 2013-01-07 21:50:40 +01:00
Thomas Adamcik
30412e93b6 Merge pull request #315 from jodal/feature/num-discs-and-disc-no
Add Album.num_discs and Track.disc_no
2013-01-07 11:24:54 -08:00
Stein Magnus Jodal
af10e642f2 models: Support serialization of lists of strings 2013-01-06 22:37:37 +01:00
Stein Magnus Jodal
1a0842117f models: Add Album.num_discs (#286) 2013-01-06 22:07:06 +01:00
Stein Magnus Jodal
99593fd357 models: Add Track.disc_no (#286) 2013-01-06 22:07:06 +01:00
Stein Magnus Jodal
6599094b1e models: Add Album.images field (#263) 2013-01-06 21:43:52 +01:00
Stein Magnus Jodal
2eb9ad710a core: Add 'include_tracks' argument to 'get_playlists()' 2013-01-06 21:04:27 +01:00
Thomas Adamcik
3857eaa840 core: Unbreak end of track related tests.
We should only be hooking up end of track when an audio instance is passed in.
Additionally the tracklist tests where wrongly sending in the audio module
instead of the mock audio.Audio instance.
2013-01-05 23:32:35 +01:00
Thomas Adamcik
0d7b7e29a3 audio: Remove test for error handling that no longer happens. 2013-01-05 21:35:41 +01:00
Thomas Adamcik
6d1f84ad3c Merge branch 'develop' into feature/end-of-track
Conflicts:
	mopidy/audio/actor.py
	mopidy/backends/spotify/playback.py
2013-01-05 18:47:16 +01:00
Stein Magnus Jodal
928034222a Merge branch 'master' into develop
Conflicts:
	docs/changes.rst
2013-01-03 23:55:00 +01:00
Thomas Adamcik
b78d5eddac Merge branch 'develop' into feature/end-of-track
Conflicts:
	mopidy/audio/actor.py
	mopidy/backends/spotify/playback.py
2013-01-03 16:12:09 +01:00
Stein Magnus Jodal
d34ba24cfe Use bytestrings for the keys of **kwargs dicts
Python < 2.6.5rc1 does not work with unicode keys. Fixes #302.
2013-01-03 10:04:05 +01:00
Thomas Adamcik
f1bd092e63 core: Update tests with cases for filtering out None results. 2013-01-01 17:31:06 +01:00
Thomas Adamcik
4f11ac77ae settings: Update settings validator to support empty iterables. 2013-01-01 17:30:24 +01:00
Stein Magnus Jodal
c37ce8751e Release v0.11.1 2012-12-24 20:23:51 +01:00
Stein Magnus Jodal
f0ba9dd31c Bump version number to 0.11.0 2012-12-24 10:48:29 +01:00
Stein Magnus Jodal
a1cfc74d29 Merge branch 'develop' into feature/mpd-album-artist-search-results
Conflicts:
	docs/changes.rst
2012-12-23 18:49:51 +01:00
Stein Magnus Jodal
58cbbe8cb3 Merge pull request #287 from jodal/feature/search-result-model
Add SearchResult model
2012-12-23 09:47:11 -08:00
Stein Magnus Jodal
5d707e3918 settings: Fail if BACKENDS/FRONTENDS setting isn't iterable (fixes #278) 2012-12-23 15:42:49 +01:00
Stein Magnus Jodal
ce318316a3 mpd: Don't restart current track before seek 2012-12-23 12:20:34 +01:00
Stein Magnus Jodal
54662479ef mpd: Limit use of fake tracks in 'find` responses
If searching for exact artist, don't include fake artist tracks.
If searching for exact album, don't include fake album tracks.

This makes sure that ncmpcpp's media library doesn't include the magic
artist-track in an artist's album listing, and that it doesn't include the
magic album-track in an album's track listing.
2012-12-22 12:49:27 +01:00
Stein Magnus Jodal
04be75ed97 mpd: Add album date to 'fake' tracks 2012-12-22 02:12:07 +01:00
Stein Magnus Jodal
4f4754c573 mpd: Test 'list' response content 2012-12-22 01:40:51 +01:00
Stein Magnus Jodal
455f0145e7 mpd: Include artists and albums in search results 2012-12-21 23:10:20 +01:00
Stein Magnus Jodal
b0ba2040df Return SearchResult objects from find_exact() and search()
This applies to both backends and core.
2012-12-21 22:05:20 +01:00
Stein Magnus Jodal
52b20b3297 models: Add SearchResult model 2012-12-21 00:30:20 +01:00
Stein Magnus Jodal
242df28114 mpd: Support search by date (#272) 2012-12-20 21:34:06 +01:00
Stein Magnus Jodal
02c8ea53d7 local: Add search-by-date support 2012-12-20 21:30:09 +01:00