Ratings: Storage

Bugs and Suggestions in XnView Classic which have been resolved

Moderators: XnTriq, xnview

marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Ratings: Storage

Post by marsh »

In Alpha3, it looks like ratings are stored in cache_thumb.db.
Should there be a seperate 'ratings.db'? This way it is a file rating, not just a thumbnail rating.
User avatar
xnview
Author of XnView
Posts: 36805
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Ratings: Storage

Post by xnview »

marsh wrote:In Alpha3, it looks like ratings are stored in cache_thumb.db.
Should there be a seperate 'ratings.db'? This way it is a file rating, not just a thumbnail rating.
Hum, i store other things in thumb.db not only thumbnail
Pierre.
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France

Post by Olivier_G »

Storing all the info in one db file is fine... but
- should it be renamed to 'XnView.db' instead of 'cache_thumb.db'?
- all other caching (categories, ratings, etc...) should work, whether Cache of Thumbnails is enabled or not.
Olivier
User avatar
xnview
Author of XnView
Posts: 36805
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Post by xnview »

Olivier_G wrote:Storing all the info in one db file is fine... but
- should it be renamed to 'XnView.db' instead of 'cache_thumb.db'?
- all other caching (categories, ratings, etc...) should work, whether Cache of Thumbnails is enabled or not.
Yes, i'll change that...
Pierre.
User avatar
helmut
Posts: 8240
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

xnview wrote:
Olivier_G wrote:Storing all the info in one db file is fine... but
- should it be renamed to 'XnView.db' instead of 'cache_thumb.db'?
- all other caching (categories, ratings, etc...) should work, whether Cache of Thumbnails is enabled or not.
Yes, i'll change that...
Makes sense. When changing, you should ensure that the old cache database is either migrated or deleted. It would be no good to have a cache file flying around that is no longer used.
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France

Post by Olivier_G »

Olivier_G wrote:should it be renamed to 'XnView.db' instead of 'cache_thumb.db'?
Renamed to "XnView.db" in 1.90 Beta 1.
Olivier