PatLogan;521826 Wrote: > Instead of changing manually the 'Bach%' criteria, I'd like to enable > the user to enter this data without parsing all the code. > Like you have the invitation to select an artist in a list but instead > of a list, it would be a simple input box where you can type whatever > you want including joker characters... > Cheers > It's not possible to show this when you hit the play button, but it is possible to do a template that shows this as a single field without the need to see all the SQL code when editing the playlist.
You will see this view for all playlists when you create a new SQL Playlist playlist and don't select the "Customize SQL" at the bottom. The templates are stored as a *.sql.xml and *.sql.template file combination in the "Templates" directory under the plugin installation dir. They should be in a directory like Cache/InstalledPlugins/Plugins/SQLPlayList/Templates or something similar. The *.sql.xml file contains the parameters you like to show to the user and the *.sql.template file contains the SQL with keywords in all places where parameter values should be inserted. If you create your own template, you should remove the row that contains <downloadidentifier> from the *.sql.xml file and you should save your files with a new filename in the directory you have configured in the "Template directory" parameter in the SQL Playlist Settings page. -- erland Erland Isaksson 'My homepage' (http://erland.isaksson.info) (Install my plugins through Extension Downloader) (Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse, Custom Scan, Custom Skip, Multi Library, Title Switcher and Database Query plugins' (http://wiki.erland.isaksson.info/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=75816 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
