Commit Graph

29 Commits

Author SHA1 Message Date
Lasse Bigum
fd213f2d78 Add tests for albumartist 2013-11-02 21:57:53 +01:00
Stein Magnus Jodal
9064fc02fd Merge branch 'develop' into feature/mpd-search-by-albumartist
Conflicts:
	mopidy/frontends/mpd/protocol/music_db.py
	mopidy/frontends/mpd/translator.py
2013-10-27 21:30:58 +01:00
Stein Magnus Jodal
c42dd1bf1d mpd: Add 'find track ""' test to match search tests 2013-10-27 21:23:45 +01:00
Stein Magnus Jodal
d13d9958b0 mpd: Formatting 2013-10-27 21:22:57 +01:00
Stein Magnus Jodal
24a2b08fc5 mpd: Don't return fake artists when searching by albumartist 2013-10-27 20:24:07 +01:00
Stein Magnus Jodal
dabddd81fd mpd: Accept 'albumartist' type to 'find' and 'search' commands 2013-10-27 20:22:45 +01:00
Lasse Bigum
95046b4852 Fix small bug and fix test 2013-10-22 00:12:32 +02:00
Lasse Bigum
1975694d08 Changed track to track_no, fix code, add tests
Added testcases for track and count
2013-10-20 23:04:48 +02:00
Stein Magnus Jodal
76b70aa0c5 mpd: Make 'list' support 'albumartist' key 2013-10-12 00:16:20 +02:00
Stein Magnus Jodal
9af4290f45 mpd: Accept listall and listallinfo without the URI argument 2013-09-01 23:14:30 +02:00
Stein Magnus Jodal
579a93437f mpd: Allow full MPD queries to 'count'
Fix hechtus/mopidy-gmusic#1
2013-07-09 11:48:11 +02:00
Stein Magnus Jodal
99eed0e6b8 mpd: Allow 'count' without quotes around the 'tag' param
Fix hechtus/mopidy-gmusic#1
2013-07-09 11:22:45 +02: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
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
b95c8032de mpd: Add 'searchaddpl' command 2012-12-15 01:18:13 +01:00
Stein Magnus Jodal
9b1dfa6978 mpd: Add 'searchadd' command 2012-12-15 00:40:33 +01:00
Stein Magnus Jodal
6ac2c249b5 mpd: Add 'findadd' command 2012-12-15 00:39:52 +01:00
Stein Magnus Jodal
dc24876f66 mpd: Allow bad 'search' requests 2012-11-21 00:49:11 +01:00
Stein Magnus Jodal
5fbb6328d6 mpd: list shouldn't return blank artist names, album names, or dates 2012-11-21 00:48:08 +01:00
Stein Magnus Jodal
bec91284be mpd: Allow bad 'find' requests 2012-11-20 00:38:53 +01:00
Stein Magnus Jodal
7da2058b65 mpd: Test response for bad 'list' requests 2012-11-20 00:31:41 +01:00
Stein Magnus Jodal
4f0a708411 mpd: Allow 'file' key to 'search' and 'find' 2012-11-13 11:34:48 +01:00
Stein Magnus Jodal
6acaa490e9 Make all strings unicode by default (fixes #224) 2012-11-13 00:18:47 +01:00
Thomas Adamcik
1985b4af76 Switch all tests over to from tests import unittest, which will be unittest2 on < 2.7 and plain unittest otherwise 2011-07-31 22:21:34 +02:00
Thomas Adamcik
93d2aa8240 Migrate music_db_test.py 2011-07-20 17:53:24 +02:00