Phil Meyer;177782 Wrote: 
> Trackstat is configured to make a backup each day.
> 
> I deleted all my stats, and loaded a recent backup.  I then saved my
> stats out as a new backup file.  The file size is significantly smaller
> (auto backup file was 3268KB, new backup file is 1068KB).
> 
> Could something have gone wrong?
The files should be exactly the same sizes, if they aren't and you have
done the procedure correctly you have lost data.

It could be three things:
1. 
The restore operation is run in the background and takes some time, if
you performed the backup before the restore was finished this could be
causing the problem. You will see a message like this in slimserver log
(http://localhost:9000/log.txt) when the restore is finished:
TrackStat:Backup: Restore completed at 2007-02-05 18:49:05

2.
There is a bug in the restore code at the moment which result in that
statistics for tracks with no play count and no rating isn't restored.
This will happen for tracks that neither have been played nor rated.
The statistics that are lost for these tracks are:
- Added time (The timestamp of the music file the first time it was
added to slimserver library)
- Last played time (The time when the track was last played, this
should probably never happen since the track should also have a
playcount in this case).

3.
You don't have musicbrainz tags on your music and you have renamed a
lot of files but haven't performed the "delete unused statistics"
operation manually. When restore is performed it will only restore
tracks that actually exist in the library.

If case 2 is the situation in your setup the backup file will increase
a lot at next restart or rescan or manual run of "refresh statistic".
When you do this the added time and last played time will be recreated
from the current state of standard slimserver.

I will try to release a fix for case 2 as soon as possible, I just have
to make sure everything works correctly before I release it.  If
everything goes well it should be released within the next 12 hours.


-- 
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=32459

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to