Warning, /multimedia/amarok/supplementary_scripts/databasescripts/README is written in an unsupported language. File is not indexed.
0001 <div align="center"><b>DatabaseScripts (v0.2)</b></div> 0002 0003 <p> 0004 <b>About:</b><br> 0005 DatabaseScripts is a collection of scripts for general manipulation of the amarok collection 0006 database. Currently, there are two scripts in the bundle. 0007 </p> 0008 0009 <p> 0010 <b>Backup Collection:</b><br> 0011 Specify the target directory in the configuration dialog, and the database will be copied to 0012 the specified directory. This will work for SQLite or MySQL database backends. If you are 0013 interested in extending this to support Postgresql, it would be appreciated! 0014 </p> 0015 0016 <p> 0017 The backup will be saved as collection.db.date for sqlite, or amarokdb.mysql.date with mysql 0018 databases. 0019 </p> 0020 <p> 0021 <i>Note:</i> For mysql users, it is necessary to give the database user all 0022 database action permissions. This is required for mysqldump. This can be achieved by issuing 0023 the following command: 0024 <blockquote> 0025 $> mysql -u root -p<br> 0026 mysql> GRANT ALL ON amarokdb.* TO amarok@localhost IDENTIFIED BY 'xxxx'; 0027 </blockquote> 0028 </p> 0029 0030 <p> 0031 <b>Optimise Database:</b><br> 0032 This script will remove all entries in the database which do not exist in the filesystem. 0033 </p> 0034 <p> 0035 <i>Warning:</i> Just to say I told you so, please use the <i>Backup Collection</i> script prior to 0036 executing this script. 0037 </p> 0038 0039 <p> 0040 <b>Notes:</b><br> 0041 If you would like to write any additional scripts, or have any suggestions, please email them to me 0042 so i can include them in the release! 0043 </p> 0044 0045 <p> 0046 <b>Dependencies:</b><br> 0047 <ul> 0048 <li>Amarok 1.3.1</li> 0049 <li>Ruby 1.8</li> 0050 <li>Korundum Ruby/Qt bindings</li> 0051 </ul> 0052 </p> 0053 0054 <p> 0055 <b>License:</b><br> 0056 GNU General Public License V2 0057 </p> 0058 0059 <p> 0060 <b>Author:</b><br> 0061 Seb Ruiz (me@sebruiz.net) 0062 </p> 0063