Re: [SlimDevices: SqueezeCenter] Search function returns incorrect count in LMS 7.9 and 7.9.1

2018-04-26 Thread dolodobendan

s25a wrote: 
> you're right, I just tried it with the artists, here I'm even with
> frequent search the fail not occours, the titles have the issue. that
> confirms your answer. sorry for the wrong description on this.
> 
> can we fix it also for titles? how can we update that?
> 
> best regards & thanks for your work

If I'm not mistaken this has been fixed like five minutes later. Did you
try the latest build?



QLMS 7.9.2@1.08 (digimaster) / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=108946

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Search function returns incorrect count in LMS 7.9 and 7.9.1

2018-04-25 Thread s25a

you're right, I just tried it with the artists, here I'm even with
frequent search the fail not occours, the titles have the issue. that
confirms your answer. sorry for the wrong description on this.

can we fix it also for titles? how can we update that?

best regards & thanks for your work



s25a's Profile: http://forums.slimdevices.com/member.php?userid=65256
View this thread: http://forums.slimdevices.com/showthread.php?t=108946

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Search function returns incorrect count in LMS 7.9 and 7.9.1

2018-04-18 Thread Michael Herger

I'm not sure what you mean by library view, but it's about all tagged
search commands

titles 0 50 search ...
artists 0 50 search ...


Are you sure you're seeing this issue with all of these queries? I tried 
to reproduce and only was able to do so with the titles/songs/tracks 
query. I actually already fixed this three years ago - only missed the 
titles query at the time...


--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Search function returns incorrect count in LMS 7.9 and 7.9.1

2018-04-17 Thread Michael Herger

I'm not sure what you mean by library view, but it's about all tagged
search commands


7.9 introduced a feature I often refer to as library views: you can 
define to only work on a sub-set of your total collection. Eg. exclude 
your kids' music. If you're not familiar with it, then you likely don't 
use it ;-).



interesting is also that after input of a meaningful term sometimes / at
first request often a more correct/correct number is returned. however,
if i'm adding at the end for example => "xxx" no more results come, but
the count remains on the old resault value. So first we thought of a
cache problem.


Same here. At first it looked good, then later on there was some kind of 
constant value returned. Server side caching might very well be the 
reason. I'll look into this.



only current solution is to use "search" command, not filter based
search?


Yes, I'd use that for now. It's optimized for search speed, as it's 
being used for the web UI's "live search".


--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Search function returns incorrect count in LMS 7.9 and 7.9.1

2018-04-17 Thread s25a

I'm not sure what you mean by library view, but it's about all tagged
search commands

titles 0 50 search ...
artists 0 50 search ...
and so on ...

interesting is also that after input of a meaningful term sometimes / at
first request often a more correct/correct number is returned. however,
if i'm adding at the end for example => "xxx" no more results come, but
the count remains on the old resault value. So first we thought of a
cache problem.

only current solution is to use "search" command, not filter based
search?
http://htmlpreview.github.io/?https://raw.githubusercontent.com/Logitech/slimserver/public/7.9/HTML/EN/html/docs/cli-api.html#search

thanks for feedback



s25a's Profile: http://forums.slimdevices.com/member.php?userid=65256
View this thread: http://forums.slimdevices.com/showthread.php?t=108946

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Search function returns incorrect count in LMS 7.9 and 7.9.1

2018-04-17 Thread Michael Herger

There's just one result in my database however the tag parameter:
"count" returns 3.


Are you using library views? I'd often (but not always!) get the total 
number of an item, rather than the number after applying filters and/or 
search terms. Eg. I have an overall number of 37 genres. It would return 
a count of 37, no matter whether my library view only had 9 or my search 
term only returned two.


--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Search function returns incorrect count in LMS 7.9 and 7.9.1

2018-04-16 Thread Michael Herger

maybe someone can help with the search function of the LMS.(7.9 and also
7.9.1) I tried to use the search (tag based) described here:


I can confirm the issue you're seeing. My help for the time being would 
be to suggest to use the search query instead. It's what's being used in 
the various UIs already, therefore hopefully less buggy, pus optimized 
for speed.



titles 0 50 tags:al search:cry\x0A (search for „cry“ in Titles)

There's just one result in my database however the tag parameter:
"count" returns 3.


I'll have to look into this. Thanks for the heads up!


See debug of my media controller:


BTW: it would be easier to understand if you simply gave the query you 
used (as you did above), and the raw response you got. Only you know 
your system's output and how the data given there is created. But using 
your query I was able to reproduce the issue on my end.


--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter