PDA

View Full Version : CLI titles|songs|tracks error?



thomas_lgm
2007-08-20, 15:22
Using the CLI when I query titles|songs|tracks providing a search tag it returns more than just songs. Here I get playlists back. Is there something I am doing wrong here? Or is this a bug?

Here is an example:

songs 0 10 search:TEST tags:a,l count:3 id:6046 title:test id:6049 title:test3 id:6050 title:test4

All of those results are playlists.

mherger
2007-08-20, 22:09
> Using the CLI when I query titles|songs|tracks providing a search tag it
> returns more than just songs. Here I get playlists back. Is there
> something I am doing wrong here? Or is this a bug?

I'm not sure whether it is a but or not. But you could probably use the o (file type) tag to filter out playlists.

Michael

thomas_lgm
2007-08-21, 11:14
Thanks. I'll try that.

Fred
2007-08-21, 14:22
Using the CLI when I query titles|songs|tracks providing a search tag it returns more than just songs. Here I get playlists back. Is there something I am doing wrong here? Or is this a bug?

Probably a bug, but what SlimServer version?

thomas_lgm
2007-08-21, 16:22
Was using:
SlimServer Version: 6.5.3 - 12376 - Windows Server 2003 - EN - cp1252

Just installed:
SlimServer Version: 6.5.4 - 12568 - Windows Server 2003 - EN - cp1252

It seems to do the same thing with both versions.

I don't think that filtering with that tag is the best solution here.

Fred
2007-08-22, 10:55
Strange.

Can you retry it and include said o tag ? What sort of playlists are these ?

Fred

thomas_lgm
2007-08-22, 13:47
These are playlists I have created using the CLI.

Here is that call with the new tag:

songs 0 10 search:TEST tags:a,l,o count:3 id:5927 title:test type:ssp id:5933 title:test2 type:ssp id:5934 title:test3 type:ssp

Fred
2007-08-23, 16:58
Right. Fixed in SVN 12710 for 6.5.x and SVN 12711 for 7.0. So coming up in the next nightly!

Thanks for finding and reporting this!

Fred

thomas_lgm
2007-08-24, 12:16
Thanks Fred!