PDA

View Full Version : Can I use something like SB Server Advanced Search with my ipod touch?



howie.stone
2011-04-17, 03:24
I really want to use my ipod to get at my music. So far I've only tried ipeng. But there's a problem.

I can't search for track, artist and album at the same time, like I can on the advanced search screen of the Squeezebox server. At least -- I haven't seen a way to do this yet with ipeng. This is important for me.

Any advice?

andynormancx
2011-04-17, 03:28
One option is just simply to use the web ui on the iPod Touch.

JJZolx
2011-04-17, 04:15
Any advice?

This is really an iPeng question, so you should ask here: http://forums.slimdevices.com/showthread.php?t=51929

pippin
2011-04-17, 04:46
What do you mean with track, artist and album at the same time?
Do you mean you want all tracks, artists and albums that match a phrase? That's the default behavior in iPeng, so this would confuse me.

If you want to enter all three, that's not possible in iPeng right now.

howie.stone
2011-04-17, 05:31
What do you mean with track, artist and album at the same time?
Do you mean you want all tracks, artists and albums that match a phrase? That's the default behavior in iPeng, so this would confuse me.

If you want to enter all three, that's not possible in iPeng right now.



What I want is to be able to enter a search which gives me as a result (eg) just those tracks with the string "richter" in the artist field AND the string "schubert" in the albium field AND the string "D960" in the track field. I can do this easily in sqeezebox server's advanced search. I can't do it in ipeng. I was just wondering wether there was another app for the ipod where it can be done. Or indeed for an android tablet.

The fact that it doesn't work with ipeng is, for me, a major limitation of ipeng. I still use ipeng with the ipod occasionally -- but only for the playback feature.

I wonder if Squeemote will do this.

Mnyb
2011-04-17, 08:06
Is there any skin for the web-UI that works ok on the iPad , default does not ,no scrolling so everything gets truncated ?

pippin
2011-04-17, 14:05
I believe no non-Web Interface will do this and it may even be that in 7.6 it will also be removed from the web-UI.

The problem is that the CLI (the interface used by iPeng, all other apps and the SqueezePlay based players use) doesn't allow to send more than one search expression in a query.
You could probably synthesize something by doing several consecutive queries but it would be pretty difficult as soon as you have any ambiguity in the results.

andynormancx
2011-04-17, 15:00
I see what you mean, for some reason the usual two fingered scroll is broken in the search results pane.

howie.stone
2011-04-18, 04:12
So it sounds like ipeng at least is seriously limited, and probably all the other apps for SB control too.

Not really worth having except for playback -- and that's only as good as your wifi.

pippin
2011-04-18, 04:31
So it sounds like ipeng at least is seriously limited, and probably all the other apps for SB control too.

Not really worth having except for playback -- and that's only as good as your wifi.

...as are the newer Squeezeboxes themselves.
This really isn't an iPeng limitation but one of the server.
Plus, as I said: Expect advanced search to completely go away with Squeezebox Server 7.6. If you don't believe it, download the beta and see for yourself, there is a discussion around it in the beta forum in the developer section.

howie.stone
2011-04-18, 04:46
...as are the newer Squeezeboxes themselves.
This really isn't an iPeng limitation but one of the server.
Plus, as I said: Expect advanced search to completely go away with Squeezebox Server 7.6. If you don't believe it, download the beta and see for yourself, there is a discussion around it in the beta forum in the developer section.

Thanks for the warning.

If I couldn't keep the advanced search option I would switch to another product, if another product is available with it.

I have well over 30 000 tracks! I need all the help searching that I can get!

pippin
2011-04-18, 04:53
Thanks for the warning.

If I couldn't keep the advanced search option I would switch to another product, if another product is available with it.

I have well over 30 000 tracks! I need all the help searching that I can get!

The discussion is on on whether this lack could be fixed by a search plugin.
I (and others) feel that a somewhat more modern search engine would be goos, e.g. a free text search (allowing you to e.g. enter your three search phrases in one go and delivering all matches containing all three, first, then the ones that only have two matches, plus some type-correction etc....

But that might be a significant amount of work and it has to be done on the server side.

JJZolx
2011-04-18, 11:15
Advanced Search is in the current 7.6 beta and works like it always did. I think it was briefly missing when the switch to onebrowser was made, but that was quickly fixed.

pippin
2011-04-18, 11:21
Sure? I admit I currently do directly use the onebrowser svn branch but that doesn't have it. At least it didn't when I posted this tonight.

JJZolx
2011-04-18, 11:27
Sure? I admit I currently do directly use the onebrowser svn branch but that doesn't have it. At least it didn't when I posted this tonight.

Yes, but I think I see what you may be seeing. If you hit 'Search' on the Home page, the subsequent page has no link to Advanced Search. But if you use the search box at top right, that page does have a link to it.

pippin
2011-04-18, 15:06
Ah. Interesting.
Does this mean that there will also be a CLI interface for that in onebrowser? Now THAT could be quite interesting!

JJZolx
2011-04-18, 15:11
Ah. Interesting.
Does this mean that there will also be a CLI interface for that in onebrowser? Now THAT could be quite interesting!

No idea. Don't you typically have to request a CLI feature like that?

pippin
2011-04-18, 16:03
No idea. Don't you typically have to request a CLI feature like that?

What do you mean by "request"? That you have to ask for them?

The problem with the CLI is that it only has two search modes:
1. the "search" command, which allows you to get artists, albums and tracks from a single search term. A single one! And you can not select a category.
2. there is a "search:" parameter for things like albums, tracks, artists, etc but that also only applies to the very search you are looking for.

You could synthesize something: search for artists with artistName, get the artist ID and then search for all albums with the artistID and an albumName plus maybe recurse if you get more than one matching artist, but given the server's search performance that approach will - after all the effort - give you just ridiculous search times, so it's not really an option.

bobkoure
2011-04-19, 04:54
Can you communicate with a plugin on the server?
If you can, something like Erland's SQL plugin might be useful (just do whatever you need to convert the user's input into a single query, then pass the query via CLI

You're certainly right about server query performance being suboptimal. There's the hope that SQLite might be faster, but each time I try a version of 7.6 it's not perceptibly so (but, to be fair, I've optimized MySQL performance a bit)

pippin
2011-04-19, 05:57
Can you communicate with a plugin on the server?

Yes, if the plugin provides a CLI interface, which most of the newer ones do since they need it if they want to provide a UI on a Squeezeplay based box.


If you can, something like Erland's SQL plugin might be useful (just do whatever you need to convert the user's input into a single query, then pass the query via CLI

Theoretically, yes. But then it would make more sense to write a real search plugin.

I don't think Erland's SQL plugin is currently made for it and then you'd have to live with all the changes to the database that happen on the server side all the time. iPeng can't be tailored to one server version like the SB firmware is, it has to support a full range of server versions and Logitech have the nasty habit of doing all kind of changes even in minor releases.


You're certainly right about server query performance being suboptimal. There's the hope that SQLite might be faster, but each time I try a version of 7.6 it's not perceptibly so (but, to be fair, I've optimized MySQL performance a bit)
I believe SQLite is faster on slower systems. Generally, 7.6 has become much faster but that's more due to optimized queries and stuff like artwork handling and scanner being rewritten than sheer database performance.

erland
2011-04-19, 10:03
Theoretically, yes. But then it would make more sense to write a real search plugin.

I don't think Erland's SQL plugin is currently made for it

It's definitely not designed for searching, even though you can make SQL Playlist playlists that takes a parameter it currently doesn't support free text parameters which would be required to support searching.

I once thought about designing a Custom Search plugin but there wasn't much interest at that time and at the moment I'm unfortunately fully occupied with other more important Squeezebox related stuff related to music discovery.