egd;228302 Wrote: > Seems the scanning routines complete successfully now and playlist > generation via the NAS is operational. I'm not sure whether all > listbox selections are making it to the saved file but I need to do a > little testing of this tonight before I can be sure.
Ok, let me know. It seems a bet strange that it should have solved that problem, but I guess it could since it has worked in my setup all the time. egd;228302 Wrote: > Selecting SQL Playlist/Create a new playlist/Random for mixed tags takes > very long to load (~ 30-60 secs) and causes more disk activity than I'd > guess would be required. Is there anything I can do to speed up this > process? This thing that happens here is that the query is executed. The solution is to optimize the query or setup some indexes in the database. I'll have to check if this is possible to improve. You can see the exact SQL executed if you click the "Customize SQL" button at the button of the playlist page and hit Save. Note! don't hit Save on the next page, just look at the query and click back in the browser when you have seen it. The problem if the query is slow is that you might get audio dropouts when it should retrieve new tracks. It retrieves new tracks when a few tracks has played, if I remember correctly the default is that it tries to add tracks so there is 10 tracks in the current playlist after the currently playing one. The number of tracks are configurable in the Dynamic Playlist plugin web interface. So try to play a few tracks and look at the current playlist to see when it adds new tracks and listen if you get audio dropouts at this time. egd;228302 Wrote: > Saving a playlist search criteria to file seems to take much longer than > I'd expect it to, so much so that the NAS stops serving audio until the > save operation is completed. Any ideas as to why would it be so CPU > intensive? I think it might retreive the values for the list boxes again at this time. It needs to do this, but I don't think it needs to do it for list boxes where you haven't selected any items. So there might be some optimization possible. Does it take a lot of time also when you select to edit a playlist ? I'll have to look at this in a bit more detail. egd;228302 Wrote: > Could the playlist parameters template be modified as follows: > - Genre, Style, Mood & Theme listboxes appear first, in that order, > followed by Album Rating. > Yes, that should be possible. A agree that this feels more logical so I'll change the order in the template. egd;228302 Wrote: > - Would it be possible to present the Include and Exclude listboxes > dealing with the same topic eg Genre side by side rather than > underneath one another? > The user interface is generic for all playlists, so it always displays the parameters under each other. egd;228302 Wrote: > - Listbox the Album Rating 1 through 5 (inversed in .5 increments). > Selecting a number creates a >= rating criterion. Can probably do away > with the Exclude criteria for Album Rating. > With exclude criteria I suppose you mean the maximum rating that results in a <= criteria ? I think it should be in the template, because it makes it possible to listen through all your low rated tracks to decide if you like to raise the ratings on any of them. The list box is on my todo list. egd;228302 Wrote: > Finally, any chance of adding a seed song playlist template along the > lines of what we discussed earlier? This is also on the todo list. I'm not sure where it should be accessed yet, but the preliminary plan looks like: - By holding play button on remote down on a track in one of the Browse menus, you get the "Dynamic Playlists" mixer and can select the seed based playlist. Unfortunately it is not currently possible to do it from the "Now Playing" menu because that doesn't support mixers. Additionally I'm think that it might be useful to also have this if you have Custom Browse plugin installed: - By holding play button on remote down on a track in one of the Browse menus in Custom Browse plugin, you would get a seed based browse menu to browse similar tracks. This will only be possible in Custom Browse based menus. - By navigating right on a track in the Browse menus or in Now Playing menu, you would get a "Dynamic Playlists" entry where you can select the seed playlist. - By navigating right on a track in the Browse menus or in Now Playing menu, you would get a seed based browse menu where you can browse similar tracks. I'm not completely sure all this is easily accomplished yet, but I think it should be. egd;228302 Wrote: > I'm happy to have a go at this myself if it is a matter of editing a > template file? Probably a good opportunity to learn :) Regarding the current template you can do some editing your self by doing as follows: 1. Make a copy of the customscan_randommixedtags.sql.xml and customscan_randommixedtags.sql.template files and name them to something else with the same .sql.xml and .sql.template extensions. 2. Edit the copy of the .sql.xml file as follows: - Remove the <downloadidentifier> line - Change the <name> line to some name you like - Remove the <parameter> lines for parameters you don't need - Change the order of the <parameter> lines as you like them to appear 3. Save the edited .sql.xml file 4. In the SQL Playlist web interface, select to create a new playlist. Your new playlist type with the name you specified in point 2 should now be available. When you upgrade to a new version of the Custom Scan plugin or download a new version of the customscan_randommixedtags playlist, you will have to repeat the process if you like to get the latest changes in this playlist. If you don't repeat the process, your playlist will of course continue to work as usual, it will just not get the latest features. -- 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 Database Query 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=38256 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins