slutz;195358 Wrote: > It is impossible for me sort and tag these by hand. > That's why I'm looking for a solution to extend the search with "search > by an element of the filename or foldername". Something like the lyrics > field but searching the path and the filename. > Does anybody know of a plugin that might be a good starting point? At > the moment I have no clue about plugin programming. But that would > make it easier for me. 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. -- erland Erland Isaksson 'My homepage' (http://erland.homeip.net) 'My download page' (http://erland.homeip.net/download) (Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse, Custom Scan, Custom Skip, Multi Library and RandomPlayList plugins' (http://wiki.erland.homeip.net/index.php/Category:SlimServer)) ------------------------------------------------------------------------ erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=34510 _______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
