JJZolx;143014 Wrote: 
> I tried out your TrackStat plugin for a few days, but didn't really find
> much of it useful for my needs
Did you try it together with DynamicPlayList and SQLPlayList plugins ?
In my opinion TrackStat main features are:
- Keep statistics during full rescans
- Make it possible to rate tracks
By itself this isn't so useful, but when you start use that statistics
by creating smart playlists with SQLPlayList or use the smart playlists
TrackStat makes available through DynamicPlaylist plugin it starts to
get a little bit more useful.

JJZolx;143014 Wrote: 
> Is there any way to implment an in 'uninstall' script as part of the
> plugin?  I was a little surprised to find just how much "stuff"
> TrackStat leaves behind, including tables in the SlimServer database
> and dozens of items in SlimServer's prefs file.  I have no problem that
> the plugin creates these things, just that I didn't see a convenient way
> to remove all of them.There is no standard way to do it today, the settings 
> is the same for
all plugins but the extra tables created is not so usual. I know that
TrackStat and DynamicPlayList plugins creates extra tables, I am not
sure if any other plugins also does it. The extra tables does not
conflict with anything else, so the only reason to remove them is to
save some space. The easiest way to get rid of the extra tables today
is to shutdown slimserver, remove the Cache/MySQL directory and then
restart slimserver again and perform a full rescan. Note however that
this will result that ALL data in the database is removed, so make
really sure that you don't have anything in the database that you want
to keep first.

All TrackStat settings should start with "plugin_trackstat_" so you can
open slimserver.pref in a texteditor and remove these manually if you
don't want them there.

JJZolx;143014 Wrote: 
> I'd like to also suggest to Slim Devices that plugins settings and data
> be kept in a separate configuration file or else in the database.  The
> prefs file is a monster as it is and you have no control over how many
> items a given plugin might toss in there, never to be removed.Sounds like a 
> good idea to store plugin settings in extra files, the
problem is just that this would probably affect all existing plugins
and the change would not be complete until all plugin developers had
changed their code. Storing the settings in the database might be
easier but it would just move the mess from a text file to a database
table so I'm not sure it would make it any better. It would of course
be possible to store the information in separate tables/columns for
each plugin but that would also require all plugin developers to update
their plugin code. 

In my opionion this isn't a big problem, as long as the extra tables
and settings doesn't conflict with standard slimserver and other
plugins it might not be worth to change the current solution. But
others might see this as bigger problem than I do, so you might want to
add this as a feature request on bugs.slimdevices.com to make it
possible for people to vote on it.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.homeip.net) 'My download page'
(http://erland.homeip.net/download)
(Developer of 'TrackStat'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-trackstat)
, 'SQLPlayList'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-sqlplaylist)
, 'DynamicPlayList'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-dynamicplaylist),
'Custom Browse'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-custombrowse)
and 'RandomPlayList'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-randomplaylist)
plugins)
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=28294

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to