alehouse / cantata

Automatically exported from code.google.com/p/cantata
GNU General Public License v3.0
1 stars 0 forks source link

Searching command won't work #595

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which version of Cantata?
1.5.1

Which build? KDE, Qt4, Qt5, Windows, Ubuntu, Mac?
Windows

What steps will reproduce the problem?
1.Just enter some keyword into search box.

What is the expected output? What do you see instead?
No search query output, MPD send error message back instead.

Please provide any additional information below.
I modified my MPD error output to show a little more information about the 
input command.
e.g. If I enter "apple" into search box, MPD report back "too few arguments for 
"search apple (null)"".
It seems that whether cantata or I doesn't set a proper category constraint.
following seems like the code segment that cause trouble?
mpd/mpdconnection.cpp
1642:        cmd="search "+field.toLatin1()+" "+encodeName(value);

Original issue reported on code.google.com by selene.n...@gmail.com on 23 Nov 2014 at 7:36

GoogleCodeExporter commented 9 years ago
There is a bug with the drop-down list on the search page - items a duplicated. 
What happens if you select the fist Artist entry (and add a search string)? And 
then the second?

Original comment by craig.p....@gmail.com on 23 Nov 2014 at 8:14

GoogleCodeExporter commented 9 years ago
Odd, just checked with a 1.5.1 linux build - and search is working.

Original comment by craig.p....@gmail.com on 23 Nov 2014 at 8:24

GoogleCodeExporter commented 9 years ago
I can't find any drop-down list on the search page, maybe that's the problem…

Original comment by selene.n...@gmail.com on 23 Nov 2014 at 8:26

GoogleCodeExporter commented 9 years ago
Ok... I found the drop-down list and after I changed the entry and search for 
the first time, the following operations work just fine, thanks.

Original comment by selene.n...@gmail.com on 23 Nov 2014 at 8:36

GoogleCodeExporter commented 9 years ago
Ah, I can recreate this issue now - with a blank config. Will fix fox 1.5.2 

Original comment by craig.p....@gmail.com on 23 Nov 2014 at 9:47

GoogleCodeExporter commented 9 years ago
Fixed in branches/1.5 (for 1.5.2) and trunk (for 1.6.0)

Original comment by craig.p....@gmail.com on 23 Nov 2014 at 9:56