erland;195399 Wrote: > First of all, I really agree with the others, your experience with > SlimServer will be a lot better if you take the time to tag your files. > You could at least tag the files so the filename is placed in the > COMMENT tag, this way the already existing advanced searching in > slimserver can be used to search for files with a matching value in the > COMMENT tag. > > The problem with a plugin is how you like to show the result, if the > files aren't tagged you would probably have to show single files and > have no way of showing matched albums/artists. The result in a large > library would be that you get a lot of hits independent of what you > give as search parameters. > > Anyway, it could definitely be done with a plugin. To start, find a > simple plugin that does something similar and then start to modify it. > The plugin you look at doesn't have to do searching, if it just have > some simple web interface it would probably be good enough to start > with. > > If you want to use it from the web interface, you would need: > - A single web interface page with a single search field > - The web interface page would be connected to a function that did a > like search towards the url column in the tracks table. > - The result is shown as a list of tracks, you probably also want to > show a play and add icon besides each track. > > If you want to be able to search using the remote I think it might be a > bit more complicated, mostly because you need to implement the button > handling. But most of this button handling should already be available > in the SlimServer code for the current search mechanism or in the > LazySearch plugin.
I did it the easy way and modified two files (advanced_search.html & Search.pm). Now I have an added input field for parts of the URL. And when a new version comes out and if I do not have them sorted then the patch is applied very easily. It is a quick and dirty hack, I know. But for the moment it helps. Thanks to all! -lutz -- slutz ------------------------------------------------------------------------ slutz's Profile: http://forums.slimdevices.com/member.php?userid=11171 View this thread: http://forums.slimdevices.com/showthread.php?t=34510 _______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
