XDatabase
This is a collection of routines that i have needed over the last few years, I am guessing someone else mid find them useful as well. The functions can be broken into the following sections:
1) Routines for finding/editing items in a category.
2) Routines for saving and restoring a database in a "move" friendly way (move a directory and still pick up the info).
3) Routines for adding user ratings to a category entry.
4) Routines for adding last played data to a category.
5) Routines for manipulating databases.
6) Routines for caching database coverart.
7) Miscalanious routines.
I am running on the latest "pay" Lobby release, but it is a simple plug-in so I cant see any problems on the free ware version.
Before the plugin changes a database it will create a copy of the original file so you should be able to roll it back if needed. I would still recommend that you make a backup of your database files before running it for the first time, i am pretty sure it works without any problems but i would hate anyone to lose any data.
If you are interested the source code is included, you need Microsoft Visual C# 2005 Express Edition to build it, but can be obtained from microsoft free of change.
To install download and then extract it to the plugin directory in the Xlobby folder. I have included a sample ini file which you will have to open up in notepad and select the actions you want. It defaults to doing nothing so should not break anything.
If you have already set-up the plug-in, download (it does not contain a ini file so will not overwrite any of your settings).
Change List
31 Mar 2008 - Beta 1 released.
2 Apr 2008 - Beta 2 released.
2 Apr 2008 - The plugin looks for a ini file in "..\plugins\xdatabase\xdatabase.ini" and not "c:\program files\xlobby..."
3 Apr 2008 - Beta 3 released.
3 Apr 2008 - added ini file option to use the the file creation date - General - Get Date Added From File = true/false
3 Apr 2008 - added ini file option to add item specific xdb.date.added - General - Add Date Added For "type" = true/false
4 Apr 2008 - fixed bug which reset play counter
4 Apr 2008 - fixed bug in use file creation date
4 Apr 2008 - sort info correctly added to albums/tracks and movies
16 Apr 2008 - added options for generated default images and combining them with a background image
16 Apr 2008 - added funtion to take a screen shot - image file from screen>filename>x>y>width>height
16 Apr 2008 - added ini file option control the delay between saving the database and triggering the xlobby load
Ini File, Delay Between DB Save And Refresh = 500
16 Apr 2008 - added ini file option control the delay between saving the database and triggering the xlobby cache clear
Ini File, Delay Between DB Save And Cache Clear = 100
21 Apr 2008 - added ini file option - General - Add All Entry this will add a tag called "xdb.all" to each item in the db.
21 Apr 2008 - added ini file option - General - Add All Entry Value, if this is blank it xdb.all is set to the "type" field, if not this text is used.
21 Apr 2008 - If your copy of xlobby supports it the find functions will now use the "xlobby:category:search forward".
4 Jun 2008 - Added support for star images for imdb ratings and user ratings
4 Jun 2008 - Added support for image reflections
Sean.