carsten_h wrote:
> Are you sure?
> When I start "Clear Library and rescan everything" the database will be
> deleted. Where are the ratings stored so that they are not deleted?
>
There are two databases:
- library.db: Contains all scanned data
- persist.db : Contains data created during LMS usage
library.db is deleted during full rescan, persist.db isnt.
persist.db contains:
- Rating, play counts, last played time for core LMS
- Rating, play counts, last played time for TrackStat
The data in the two databases are bound together using the music file
url (full path to music file). If a file path changes during rescan the
information in persist.db is lost (or actually just invisible). File
path might change if you rename a file or move your music to a new disc.
TrackStat have some functionality to find the invisible data as long as
the complete music library has moved to a new place or you have
musicbrainz tags in your music files, this functionality does not exist
in core LMS. TrackStat also have functionality to take daily backups to
xml files but you can of course accomplish this with core LMS also by
taking a backup of the database files using the backup utility of your
choice.
TrackStat also have some smart logic around play counts and last played
time so the arent updated if you skip to next track early when the
track almost havent been played. This is why TrackStat stores its data
in separate tables in persist.db.
Erland Isaksson ('My homepage' (http://erland.isaksson.info))
Developer of 'many plugins/applets'
(https://wiki.slimdevices.com/index.php/User_Erland.html)
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=113311
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins