
-----------------------------
Required steps (all versions)
-----------------------------

1. replace *.pl in cgi-bin/aviman and cgi-bin/aviman/Aviman/CGI/*.pm. normally, this should do the job.

Do not replace the config file in cgi-bin/Aviman/CGI  !!!

2. new or updated translations (see CHANGELOG for details) are in
cgi-bin/language. Just copy them in cgi-bin/aviman/language on your server. 


But aviManager is under heavy development so you often have to make small changes:

If you have problems, feel free to email me (mriester@gmx.de) !

--------------------------------------
Recommended/Required ADDITIONAL steps:
--------------------------------------

current = 0.9.1

* 0.9.0 to current
===================

 * Replace pages/themes/default/

 * (optional, bugfix) in aviman.cfg: replace sub get_date:
 
  sub get_date {
      ( $SEC, $MIN, $HOUR, $DAY, $MONTH, $YEAR ) = localtime;
      $YEAR += 1900;
      $MONTH += 1;
      $MIN   = "0" . $MIN   if length($MIN) < 2;
      $DAY   = "0" . $DAY   if length($DAY) < 2;
      $MONTH = "0" . $MONTH if length($MONTH) < 2;
      return "$YEAR/$MONTH/$DAY \@$HOUR:$MIN";
  }


* 0.9rc2 to current
===================

 * Replace pages/themes/default/

 * (optional) in aviman.cfg: replace the  %comment_add_by_dirname hash

 * (optional, bugfix) in aviman.cfg: replace sub get_date:
 
  sub get_date {
      ( $SEC, $MIN, $HOUR, $DAY, $MONTH, $YEAR ) = localtime;
      $YEAR += 1900;
      $MONTH += 1;
      $MIN   = "0" . $MIN   if length($MIN) < 2;
      $DAY   = "0" . $DAY   if length($DAY) < 2;
      $MONTH = "0" . $MONTH if length($MONTH) < 2;
      return "$YEAR/$MONTH/$DAY \@$HOUR:$MIN";
  }



* 0.9pre9/rc1 to current
========================
 

 * set in aviman.cfg: $config_version=0.898
 
 * new user GOD, SU can't manage user anymore:
 
   add him in aviman.cfg
   
   @user_description = ( '[GUEST]', '[VIP]', '[SU]', '[GOD]' );
 
 * change your usertype in cgi-bin/data/db/user.db (3 to 4)
 
 * Replace pages/themes/default/

 * change in aviman.cfg: 

    #4. What different status may a movie have?
    #   lower = better: e.g 'deleted' would be the highest value
    %status = ( 
                DivX => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                DVD => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                SVCD => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                MPEG => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                VHS => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                all => {
                            1 => 'burned/original',
                            2 => 'not burned/copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                        
    );

    and in %db (line 180):

    Status            => [ 10, 'SELECT', 0, 1, 1, 20, 25, 1, '2', $status{all} ],

 * (optional) in aviman.cfg: replace the  %comment_add_by_dirname hash

 * (optional, bugfix) in aviman.cfg: replace sub get_date:
 
  sub get_date {
      ( $SEC, $MIN, $HOUR, $DAY, $MONTH, $YEAR ) = localtime;
      $YEAR += 1900;
      $MONTH += 1;
      $MIN   = "0" . $MIN   if length($MIN) < 2;
      $DAY   = "0" . $DAY   if length($DAY) < 2;
      $MONTH = "0" . $MONTH if length($MONTH) < 2;
      return "$YEAR/$MONTH/$DAY \@$HOUR:$MIN";
  }



* 0.9pre8 to current
=====================

 * set in aviman.cfg: $config_version=0.898
 
 * new user GOD, SU can't manage user anymore:
 
   add him in aviman.cfg
   
   @user_description = ( '[GUEST]', '[VIP]', '[SU]', '[GOD]' );
 
 * change your usertype in cgi-bin/data/db/user.db (3 to 4)
 
 * Replace pages/themes/default/

 * change in aviman.cfg: 

    #4. What different status may a movie have?
    #   lower = better: e.g 'deleted' would be the highest value
    %status = ( 
                DivX => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                DVD => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                SVCD => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                MPEG => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                VHS => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                all => {
                            1 => 'burned/original',
                            2 => 'not burned/copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                        
    );

    and in %db (line 180):

    Status            => [ 10, 'SELECT', 0, 1, 1, 20, 25, 1, '2', $status{all} ],

 * (optional) in aviman.cfg: replace the  %comment_add_by_dirname hash
 
 * (optional, bugfix) in aviman.cfg: replace sub get_date:
 
  sub get_date {
      ( $SEC, $MIN, $HOUR, $DAY, $MONTH, $YEAR ) = localtime;
      $YEAR += 1900;
      $MONTH += 1;
      $MIN   = "0" . $MIN   if length($MIN) < 2;
      $DAY   = "0" . $DAY   if length($DAY) < 2;
      $MONTH = "0" . $MONTH if length($MONTH) < 2;
      return "$YEAR/$MONTH/$DAY \@$HOUR:$MIN";
  }

 

* 0.9pre7 to current
=====================

 * move your .htusers file to cgi-bin/data/db/user_passwords.db

   $ mv /vaw/www/aviman/pages/.htusers
     /usr/lib/cgi-bin/data/db/user_passwords.db
   
   You can remove the htuser lines in aviman.cfg and Aviman/CGI/aviman_cgi.in
   
 * set in aviman.cfg: $config_version=0.898
 
 * new user GOD, SU can't manage user anymore:
 
   add him in aviman.cfg
   
   @user_description = ( '[GUEST]', '[VIP]', '[SU]', '[GOD]' );
 
 * change your usertype in cgi-bin/data/db/user.db (3 to 4)

 * change in aviman.cfg: 

    #4. What different status may a movie have?
    #   lower = better: e.g 'deleted' would be the highest value
    %status = ( 
                DivX => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                DVD => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                SVCD => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                MPEG => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                VHS => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                all => {
                            1 => 'burned/original',
                            2 => 'not burned/copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                        
    );

    and in %db (line 180):

    Status            => [ 10, 'SELECT', 0, 1, 1, 20, 25, 1, '2', $status{all} ],

 * Replace pages/themes/default/

 * MAKE BACKUPS! Medium field now available for every owner!
 
 * WARNING: values in medium will now belong to the first user in @owner! if
   this is a problem for you, contact me...

* (optional) in aviman.cfg: replace the  %comment_add_by_dirname hash

* (optional, bugfix) in aviman.cfg: replace sub get_date:
 
  sub get_date {
      ( $SEC, $MIN, $HOUR, $DAY, $MONTH, $YEAR ) = localtime;
      $YEAR += 1900;
      $MONTH += 1;
      $MIN   = "0" . $MIN   if length($MIN) < 2;
      $DAY   = "0" . $DAY   if length($DAY) < 2;
      $MONTH = "0" . $MONTH if length($MONTH) < 2;
      return "$YEAR/$MONTH/$DAY \@$HOUR:$MIN";
  }

 

* 0.9pre6 to current
=====================

 * move your .htusers file to cgi-bin/data/db/user_passwords.db

   $ mv /vaw/www/aviman/pages/.htusers
     /usr/lib/cgi-bin/data/db/user_passwords.db
     
   You can remove the htuser lines in aviman.cfg and Aviman/CGI/aviman_cgi.in
   
 * set in aviman.cfg: $config_version=0.898
 
 * Replace pages/themes/default/
 
 * add in aviman.cfg, Preference Questions, Question 7
 
	# requires curl (must be in path)
	$socks_use = 0;
	$socks_url = 'http://localhost:9050';
 
 * new user GOD, SU can't manage user anymore:
 
   add him in aviman.cfg
   
   @user_description = ( '[GUEST]', '[VIP]', '[SU]', '[GOD]' );
 
 * change your usertype in cgi-bin/data/db/user.db (3 to 4)
 

 * change in aviman.cfg: 

    #4. What different status may a movie have?
    #   lower = better: e.g 'deleted' would be the highest value
    %status = ( 
                DivX => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                DVD => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                SVCD => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                MPEG => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                VHS => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                all => {
                            1 => 'burned/original',
                            2 => 'not burned/copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                        
    );

    and in %db (line 180):

    Status            => [ 10, 'SELECT', 0, 1, 1, 20, 25, 1, '2', $status{all} ],

 * (optional) in aviman.cfg: replace the  %comment_add_by_dirname hash

* (optional, bugfix) in aviman.cfg: replace sub get_date:
 
  sub get_date {
      ( $SEC, $MIN, $HOUR, $DAY, $MONTH, $YEAR ) = localtime;
      $YEAR += 1900;
      $MONTH += 1;
      $MIN   = "0" . $MIN   if length($MIN) < 2;
      $DAY   = "0" . $DAY   if length($DAY) < 2;
      $MONTH = "0" . $MONTH if length($MONTH) < 2;
      return "$YEAR/$MONTH/$DAY \@$HOUR:$MIN";
  }


 * MAKE BACKUPS! Medium field now available for every owner!
 
 * WARNING: values in medium will now belong to the first user in @owner! if
   this is a problem for you, contact me...


* 0.9pre5 to current
=====================

 * move your .htusers file to cgi-bin/data/db/user_passwords.db

   $ mv /vaw/www/aviman/pages/.htusers
     /usr/lib/cgi-bin/data/db/user_passwords.db
     
   You can remove the htuser lines in aviman.cfg and Aviman/CGI/aviman_cgi.in
   
 * set in aviman.cfg: $config_version=0.898
 
 * Replace pages/themes/default/
 
 * add in aviman.cfg, Preference Questions, Question 7
 
	# requires curl (must be in path)
	$socks_use = 0;
	$socks_url = 'http://localhost:9050';

 * add in aviman.cfg, Preference Questions
  
	 #31. Aviman will scale cover thumbnails to 100x150 pixels. You can turn this off, so that only
	 #    width is set to 100
	 $dont_scale = 1;
	 
 * new user GOD, SU can't manage user anymore:
 
   add him in aviman.cfg
   
   @user_description = ( '[GUEST]', '[VIP]', '[SU]', '[GOD]' );
 
 * change your usertype in cgi-bin/data/db/user.db (3 to 4)
 

 * change in aviman.cfg: 

    #4. What different status may a movie have?
    #   lower = better: e.g 'deleted' would be the highest value
    %status = ( 
                DivX => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                DVD => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                SVCD => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                MPEG => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                VHS => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                all => {
                            1 => 'burned/original',
                            2 => 'not burned/copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                        
    );

    and in %db (line 180):

    Status            => [ 10, 'SELECT', 0, 1, 1, 20, 25, 1, '2', $status{all} ],

* (optional, bugfix) in aviman.cfg: replace sub get_date:
 
  sub get_date {
      ( $SEC, $MIN, $HOUR, $DAY, $MONTH, $YEAR ) = localtime;
      $YEAR += 1900;
      $MONTH += 1;
      $MIN   = "0" . $MIN   if length($MIN) < 2;
      $DAY   = "0" . $DAY   if length($DAY) < 2;
      $MONTH = "0" . $MONTH if length($MONTH) < 2;
      return "$YEAR/$MONTH/$DAY \@$HOUR:$MIN";
  }



 * MAKE BACKUPS! Medium field now available for every owner!
 
 * WARNING: values in medium will now belong to the first user in @owner! if
   this is a problem for you, contact me...


* 0.9pre4 to current
=====================

 * move your .htusers file to cgi-bin/data/db/user_passwords.db

   $ mv /vaw/www/aviman/pages/.htusers
     /usr/lib/cgi-bin/data/db/user_passwords.db
     
   You can remove the htuser lines in aviman.cfg and Aviman/CGI/aviman_cgi.in
   
 * set in aviman.cfg: $config_version=0.898

 * Replace pages/themes/default/
 
 * If you want the russian translation, copy the file in your 
   cgi-bin/aviman/language directory
    
    $ cp avimanager/cgi-bin/language/aviman.ru /path/to/cgi-bin/aviman/language

 * add in aviman.cfg, Preference Questions, Question 7
 
	# requires curl (must be in path)
	$socks_use = 0;
	$socks_url = 'http://localhost:9050';

 * add in aviman.cfg, Preference Questions
  
	 #31. Aviman will scale cover thumbnails to 100x150 pixels. You can turn this off, so that only
	 #    width is set to 100
	 $dont_scale = 1;

 * new user GOD, SU can't manage user anymore:
 
   add him in aviman.cfg
   
   @user_description = ( '[GUEST]', '[VIP]', '[SU]', '[GOD]' );
 
 * change your usertype in cgi-bin/data/db/user.db (3 to 4)
 

 * change in aviman.cfg: 

    #4. What different status may a movie have?
    #   lower = better: e.g 'deleted' would be the highest value
    %status = ( 
                DivX => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                DVD => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                SVCD => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                MPEG => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                VHS => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                all => {
                            1 => 'burned/original',
                            2 => 'not burned/copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                        
    );

    and in %db (line 180):

    Status            => [ 10, 'SELECT', 0, 1, 1, 20, 25, 1, '2', $status{all} ],

* (optional, bugfix) in aviman.cfg: replace sub get_date:
 
  sub get_date {
      ( $SEC, $MIN, $HOUR, $DAY, $MONTH, $YEAR ) = localtime;
      $YEAR += 1900;
      $MONTH += 1;
      $MIN   = "0" . $MIN   if length($MIN) < 2;
      $DAY   = "0" . $DAY   if length($DAY) < 2;
      $MONTH = "0" . $MONTH if length($MONTH) < 2;
      return "$YEAR/$MONTH/$DAY \@$HOUR:$MIN";
  }



 * MAKE BACKUPS! Medium field now available for every owner!

 * WARNING: values in medium will now belong to the first user in @owner! if
   this is a problem for you, contact me...


* 0.9pre3 to current
=====================
 
 * move your .htusers file to cgi-bin/data/db/user_passwords.db

   $ mv /vaw/www/aviman/pages/.htusers
     /usr/lib/cgi-bin/data/db/user_passwords.db
     
   You can remove the htuser lines in aviman.cfg and Aviman/CGI/aviman_cgi.in
   
 * set in aviman.cfg: $config_version=0.898

 * replace default theme
    
    $ tar xvfz aviman_<current>.tar.gz
    $ rm -rf /path/to/aviman/pages/themes/default
    $ cp -r avimanager/page/themes/default /path/to/aviman/pages/themes
 
 * If you want the russian translation, copy the file in your 
   cgi-bin/aviman/language directory
    
    $ cp avimanager/cgi-bin/language/aviman.ru /path/to/cgi-bin/aviman/language

 * add in aviman.cfg, Preference Questions, Question 7
 
	# requires curl (must be in path)
	$socks_use = 0;
	$socks_url = 'http://localhost:9050';

 * add in aviman.cfg, Preference Questions
  
	 #31. Aviman will scale cover thumbnails to 100x150 pixels. You can turn this off, so that only
	 #    width is set to 100
	 $dont_scale = 1;

 * new user GOD, SU can't manage user anymore:
 
   add him in aviman.cfg
   
   @user_description = ( '[GUEST]', '[VIP]', '[SU]', '[GOD]' );
 
 * change your usertype in cgi-bin/data/db/user.db (3 to 4)
 

 * change in aviman.cfg: 

    #4. What different status may a movie have?
    #   lower = better: e.g 'deleted' would be the highest value
    %status = ( 
                DivX => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                DVD => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                SVCD => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                MPEG => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                VHS => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                all => {
                            1 => 'burned/original',
                            2 => 'not burned/copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                        
    );

    and in %db (line 180):

    Status            => [ 10, 'SELECT', 0, 1, 1, 20, 25, 1, '2', $status{all} ],

* (optional, bugfix) in aviman.cfg: replace sub get_date:
 
  sub get_date {
      ( $SEC, $MIN, $HOUR, $DAY, $MONTH, $YEAR ) = localtime;
      $YEAR += 1900;
      $MONTH += 1;
      $MIN   = "0" . $MIN   if length($MIN) < 2;
      $DAY   = "0" . $DAY   if length($DAY) < 2;
      $MONTH = "0" . $MONTH if length($MONTH) < 2;
      return "$YEAR/$MONTH/$DAY \@$HOUR:$MIN";
  }



 * MAKE BACKUPS! Medium field now available for every owner!

 * WARNING: values in medium will now belong to the first user in @owner! if
   this is a problem for you, contact me...


* 0.9pre2 to current
=====================
 
 * move your .htusers file to cgi-bin/data/db/user_passwords.db

   $ mv /vaw/www/aviman/pages/.htusers
     /usr/lib/cgi-bin/data/db/user_passwords.db
     
   You can remove the htuser lines in aviman.cfg and Aviman/CGI/aviman_cgi.in
   
 * set in aviman.cfg: $config_version=0.898

 * IMPORTANT: add in cgi-bin/Aviman/aviman_cgi.ini, section PATH
 
	# where should the sessions saved? just temporary until we
	# have a sql backend 
	sessions     =  /tmp 
    
   This tells aviman where it should save the sessions. Be sure 
   Apache has write access to this directory

 * replace default theme
    
    $ tar xvfz aviman_<current>.tar.gz
    $ rm -rf /path/to/aviman/pages/themes/default
    $ cp -r avimanager/page/themes/default /path/to/aviman/pages/themes
 
 * If you want the russian translation, copy the file in your 
   cgi-bin/aviman/language directory
    
    $ cp avimanager/cgi-bin/language/aviman.ru /path/to/cgi-bin/aviman/language

 * add in aviman.cfg, Preference Questions, Question 7
 
	# requires curl (must be in path)
	$socks_use = 0;
	$socks_url = 'http://localhost:9050';

 * add in aviman.cfg, Preference Questions
  
	 #31. Aviman will scale cover thumbnails to 100x150 pixels. You can turn this off, so that only
	 #    width is set to 100
	 $dont_scale = 1;

 * new user GOD, SU can't manage user anymore:
 
   add him in aviman.cfg
   
   @user_description = ( '[GUEST]', '[VIP]', '[SU]', '[GOD]' );
 
 * change your usertype in cgi-bin/data/db/user.db (3 to 4)
 

 * change in aviman.cfg: 

    #4. What different status may a movie have?
    #   lower = better: e.g 'deleted' would be the highest value
    %status = ( 
                DivX => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                DVD => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                SVCD => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                MPEG => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                VHS => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                all => {
                            1 => 'burned/original',
                            2 => 'not burned/copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                        
    );

    and in %db (line 180):

    Status            => [ 10, 'SELECT', 0, 1, 1, 20, 25, 1, '2', $status{all} ],

* (optional, bugfix) in aviman.cfg: replace sub get_date:
 
  sub get_date {
      ( $SEC, $MIN, $HOUR, $DAY, $MONTH, $YEAR ) = localtime;
      $YEAR += 1900;
      $MONTH += 1;
      $MIN   = "0" . $MIN   if length($MIN) < 2;
      $DAY   = "0" . $DAY   if length($DAY) < 2;
      $MONTH = "0" . $MONTH if length($MONTH) < 2;
      return "$YEAR/$MONTH/$DAY \@$HOUR:$MIN";
  }



 * MAKE BACKUPS! Medium field now available for every owner!

 * WARNING: values in medium will now belong to the first user in @owner! if
   this is a problem for you, contact me...


* 0.9pre1 to current
=====================

 * move your .htusers file to cgi-bin/data/db/user_passwords.db

   $ mv /vaw/www/aviman/pages/.htusers
     /usr/lib/cgi-bin/data/db/user_passwords.db
     
   You can remove the htuser lines in aviman.cfg and Aviman/CGI/aviman_cgi.in
   
 * set in aviman.cfg: $config_version=0.898

 * IMPORTANT replace default theme 

    $ tar xvfz aviman_<current>.tar.gz
    $ rm -rf /path/to/aviman/pages/themes/default
    $ cp -r avimanager/page/themes/default /path/to/aviman/pages/themes
   
 * IMPORTANT: add in cgi-bin/Aviman/aviman_cgi.ini, section PATH
 
	# where should the sessions saved? just temporary until we
	# have a sql backend 
	sessions     =  /tmp 
    
   This tells aviman where it should save the sessions. Be sure 
   Apache has write access to this directory 
   
 * remove .htaccess file :)) in cgi-bin/aviman

 * install CGI::Session, Config::Inifiles & HTML::Template (see README for details)
 
 * configure cgi-bin/aviman/Aviman/CGI/aviman_cgi.ini
 
 * make sure that the .htusers file is where it should be
   (this is the password file for the new authentification method)
 
 * If you want the russian translation, copy the file in your 
   cgi-bin/aviman/language directory
    
    $ cp avimanager/cgi-bin/language/aviman.ru /path/to/cgi-bin/aviman/language

 * add in aviman.cfg, Preference Questions, Question 7
 
	# requires curl (must be in path)
	$socks_use = 0;
	$socks_url = 'http://localhost:9050';

 * add in aviman.cfg, Preference Questions
  
	 #31. Aviman will scale cover thumbnails to 100x150 pixels. You can turn this off, so that only
	 #    width is set to 100
	 $dont_scale = 1;
 
 * new user GOD, SU can't manage user anymore:
 
   add him in aviman.cfg
   
   @user_description = ( '[GUEST]', '[VIP]', '[SU]', '[GOD]' );
 
 * change your usertype in cgi-bin/data/db/user.db (3 to 4)
 

 * change in aviman.cfg: 

    #4. What different status may a movie have?
    #   lower = better: e.g 'deleted' would be the highest value
    %status = ( 
                DivX => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                DVD => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                SVCD => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                MPEG => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                VHS => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                all => {
                            1 => 'burned/original',
                            2 => 'not burned/copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                        
    );

    and in %db (line 180):

    Status            => [ 10, 'SELECT', 0, 1, 1, 20, 25, 1, '2', $status{all} ],

* (optional, bugfix) in aviman.cfg: replace sub get_date:
 
  sub get_date {
      ( $SEC, $MIN, $HOUR, $DAY, $MONTH, $YEAR ) = localtime;
      $YEAR += 1900;
      $MONTH += 1;
      $MIN   = "0" . $MIN   if length($MIN) < 2;
      $DAY   = "0" . $DAY   if length($DAY) < 2;
      $MONTH = "0" . $MONTH if length($MONTH) < 2;
      return "$YEAR/$MONTH/$DAY \@$HOUR:$MIN";
  }



 * MAKE BACKUPS! Medium field now available for every owner!

 * WARNING: values in medium will now belong to the first user in @owner! if
   this is a problem for you, contact me...



* 0.8.2 to current
=====================

 * move your .htusers file to cgi-bin/data/db/user_passwords.db

   $ mv /vaw/www/aviman/pages/.htusers
     /usr/lib/cgi-bin/data/db/user_passwords.db
     
   You can remove the htuser lines in aviman.cfg and Aviman/CGI/aviman_cgi.in
   
 * set in aviman.cfg: $config_version=0.898

* MAKE BACKUPS!!!

* IMPORTANT: convert database:
 
	cp tools/cgi/convert_db_083.pl /path/to/your/cgi-bin/aviman
	run convert_db_083.pl in your browser
	
 * add in aviman.cfg, Preference Questions, Question 7
 
	# requires curl (must be in path)
	$socks_use = 0;
	$socks_url = 'http://localhost:9050';

 * add in aviman.cfg, Preference Questions, Question 5:
 
 #   For statistics, the average sizes in MB
 %videotype_size =('1'=>700,'2'=>4608,'3'=>700,'4'=>700,'5'=>0);
 
	 #31. Aviman will scale cover thumbnails to 100x150 pixels. You can turn this off, so that only
	 #    width is set to 100
	 $dont_scale = 1;

 * replace default theme (you can find it in avimanager/pages/themes/default)
        
 * remove .htaccess file :)) in cgi-bin/aviman

 * install CGI::Session, Config::Inifiles & HTML::Template (see README for details)
 
 * configure cgi-bin/aviman/Aviman/CGI/aviman_cgi.ini
 
 * If you want the added translations, copy the file in your 
   cgi-bin/aviman/language directory
    
    $ cp avimanager/cgi-bin/language/* /path/to/cgi-bin/aviman/language

 * new user GOD, SU can't manage user anymore:
 
   add him in aviman.cfg
   
   @user_description = ( '[GUEST]', '[VIP]', '[SU]', '[GOD]' );
 
 * change your usertype in cgi-bin/data/db/user.db (3 to 4)
 


 * change in aviman.cfg: 

    #4. What different status may a movie have?
    #   lower = better: e.g 'deleted' would be the highest value
    %status = ( 
                DivX => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                DVD => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                SVCD => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                MPEG => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                VHS => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                all => {
                            1 => 'burned/original',
                            2 => 'not burned/copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                        
    );

    and in %db (line 180):

    Status            => [ 10, 'SELECT', 0, 1, 1, 20, 25, 1, '2', $status{all} ],

* (optional, bugfix) in aviman.cfg: replace sub get_date:
 
  sub get_date {
      ( $SEC, $MIN, $HOUR, $DAY, $MONTH, $YEAR ) = localtime;
      $YEAR += 1900;
      $MONTH += 1;
      $MIN   = "0" . $MIN   if length($MIN) < 2;
      $DAY   = "0" . $DAY   if length($DAY) < 2;
      $MONTH = "0" . $MONTH if length($MONTH) < 2;
      return "$YEAR/$MONTH/$DAY \@$HOUR:$MIN";
  }


  



   
* 0.8.1rc1 to current
=====================

 * move your .htusers file to cgi-bin/data/db/user_passwords.db

   $ mv /vaw/www/aviman/pages/.htusers
     /usr/lib/cgi-bin/data/db/user_passwords.db
     
   You can remove the htuser lines in aviman.cfg and Aviman/CGI/aviman_cgi.in
   
 * set in aviman.cfg: $config_version=0.898

(the bugs in "add by dirname" required this two new features)
 
 * IMPORTANT: convert database:
 
	cp tools/cgi/convert_db_083.pl /path/to/your/cgi-bin/aviman
	run convert_db_083.pl in your browser

 * add in aviman.cfg, Preference Questions, Question 7
 
	# requires curl (must be in path)
	$socks_use = 0;
	$socks_url = 'http://localhost:9050';

 * add in aviman.cfg, Preference Questions
  
  	#   For statistics, the average sizes in MB
	 %videotype_size =('1'=>700,'2'=>4608,'3'=>700,'4'=>700,'5'=>0);

	#11. The feature "Add by Directoryname" adds movies intelligently,
	#    because it tries to extract as much informations out of the
	#    directoryname as possible. Please put here the language-names
	#    in and how they should be saved in database (if you add values/change
	#    these values and if you think, others maybe find them useful,
	#    send it to me!)
	#    The Format (blanks replaced with dots):
	#    Title.Year.X(Language for example)-Ripper
	%lang_add_by_dirname = ( 'GERMAN' => 'germ.', 'FRENCH' => 'french.', 'SPANISH' => 'span.', 'NORWEGIAN' => 'norw.', 'SWEDISH' => 'swed.', 'DANISH' => 'dan.');

	#    and here words that should be saved in Comment
%comment_add_by_dirname = ( 'INTERNAL' => 'INTERNAL', 'iNTERNAL' => 'INTERNAL','PROPER' => 'PROPER', 'RERIP' => 'RERIP', 'RERiP' => 'RERIP','REPACK' => 'REPACK', 'LIMITED' => 'LIMITED', 'LiMiTED' => 'LIMITED', 'TS' => 'TELESYNC', 'TELESYNC' => 'TELESYNC', 'CAM' => 'CAM', 'SVCD' => 'SVCD', 'VCD' => 'VCD', 'TELECINE' => 'TELECINE', 'TC' => 'TELECINE');

 * remove .htaccess file :)) in cgi-bin/aviman

 * install CGI::Session & HTML::Template
 * install CGI::Session, Config::Inifiles & HTML::Template (see README for details)
 
 * configure cgi-bin/aviman/Aviman/CGI/aviman_cgi.ini
 
 * If you want the added translations, copy the file in your 
   cgi-bin/aviman/language directory
    
    $ cp avimanager/cgi-bin/language/* /path/to/cgi-bin/aviman/language

 * new user GOD, SU can't manage user anymore:
 
   add him in aviman.cfg
   
   @user_description = ( '[GUEST]', '[VIP]', '[SU]', '[GOD]' );
 
 * change your usertype in cgi-bin/data/db/user.db (3 to 4)
 

 * change in aviman.cfg: 

    #4. What different status may a movie have?
    #   lower = better: e.g 'deleted' would be the highest value
    %status = ( 
                DivX => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                DVD => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                SVCD => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                MPEG => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                VHS => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                all => {
                            1 => 'burned/original',
                            2 => 'not burned/copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                        
    );

    and in %db (line 180):

    Status            => [ 10, 'SELECT', 0, 1, 1, 20, 25, 1, '2', $status{all} ],

* (optional, bugfix) in aviman.cfg: replace sub get_date:
 
  sub get_date {
      ( $SEC, $MIN, $HOUR, $DAY, $MONTH, $YEAR ) = localtime;
      $YEAR += 1900;
      $MONTH += 1;
      $MIN   = "0" . $MIN   if length($MIN) < 2;
      $DAY   = "0" . $DAY   if length($DAY) < 2;
      $MONTH = "0" . $MONTH if length($MONTH) < 2;
      return "$YEAR/$MONTH/$DAY \@$HOUR:$MIN";
  }



 


* 0.8beta/rc1/final to current
==============================

 * move your .htusers file to cgi-bin/data/db/user_passwords.db

   $ mv /vaw/www/aviman/pages/.htusers
     /usr/lib/cgi-bin/data/db/user_passwords.db
     
   You can remove the htuser lines in aviman.cfg and Aviman/CGI/aviman_cgi.in
   
 * set in aviman.cfg: $config_version=0.898

 * IMPORTANT: convert database:
 
	cp tools/cgi/convert_db_083.pl /path/to/your/cgi-bin/aviman
	run convert_db_083.pl in your browser


 * add in aviman.cfg, Preference Questions
   	#   For statistics, the average sizes in MB
	 %videotype_size =('1'=>700,'2'=>4608,'3'=>700,'4'=>700,'5'=>0);


	#11. The feature "Add by Directoryname" adds movies intelligently,
	#    because it tries to extract as much informations out of the
	#    directoryname as possible. Please put here the language-names
	#    in and how they should be saved in database (if you add values/change
	#    these values and if you think, others maybe find them useful,
	#    send it to me!)
	#    The Format (blanks replaced with dots):
	#    Title.Year.X(Language for example)-Ripper
	%lang_add_by_dirname = ( 'GERMAN' => 'germ.', 'FRENCH' => 'french.', 'SPANISH' => 'span.', 'NORWEGIAN' => 'norw.', 'SWEDISH' => 'swed.', 'DANISH' => 'dan.');

	%comment_add_by_dirname = ( 'INTERNAL' => 'INTERNAL', 'iNTERNAL' => 'INTERNAL','PROPER' => 'PROPER', 'RERIP' => 'RERIP', 'RERiP' => 'RERIP','REPACK' => 'REPACK', 'LIMITED' => 'LIMITED', 'LiMiTED' => 'LIMITED', 'TS' => 'TELESYNC', 'TELESYNC' => 'TELESYNC', 'CAM' => 'CAM', 'SVCD' => 'SVCD', 'VCD' => 'VCD', 'TELECINE' => 'TELECINE', 'TC' => 'TELECINE');
	
 * IMPORTANT: Add in aviman.cfg, EXTRA PATHS

	$request_list      = $data_path . "/db/request" . $file_suffix;

 * remove .htaccess file :)) in cgi-bin/aviman

 * install CGI::Session, Config::Inifiles & HTML::Template (see README for details)
 
 * configure cgi-bin/aviman/Aviman/CGI/aviman_cgi.ini
 
 * add in aviman.cfg, Preference Questions, Question 7
 
	# requires curl (must be in path)
	$socks_use = 0;
	$socks_url = 'http://localhost:9050';

 * If you want the added translations, copy the file in your 
   cgi-bin/aviman/language directory
    
    $ cp avimanager/cgi-bin/language/* /path/to/cgi-bin/aviman/language

 * new user GOD, SU can't manage user anymore:
 
   add him in aviman.cfg
   
   @user_description = ( '[GUEST]', '[VIP]', '[SU]', '[GOD]' );
 
 * change your usertype in cgi-bin/data/db/user.db (3 to 4)
 

 * change in aviman.cfg: 

    #4. What different status may a movie have?
    #   lower = better: e.g 'deleted' would be the highest value
    %status = ( 
                DivX => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                DVD => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                SVCD => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                MPEG => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                VHS => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                all => {
                            1 => 'burned/original',
                            2 => 'not burned/copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                        
    );

    and in %db (line 180):

    Status            => [ 10, 'SELECT', 0, 1, 1, 20, 25, 1, '2', $status{all} ],

* (optional, bugfix) in aviman.cfg: replace sub get_date:
 
  sub get_date {
      ( $SEC, $MIN, $HOUR, $DAY, $MONTH, $YEAR ) = localtime;
      $YEAR += 1900;
      $MONTH += 1;
      $MIN   = "0" . $MIN   if length($MIN) < 2;
      $DAY   = "0" . $DAY   if length($DAY) < 2;
      $MONTH = "0" . $MONTH if length($MONTH) < 2;
      return "$YEAR/$MONTH/$DAY \@$HOUR:$MIN";
  }



 

 
* 0.7 to current
================

AS YOU CAN SEE, MANY CHANGES IN aviman.cfg. SO MAYBE RECONFIGURE SHOULD BE EASIER ;)

 * move your .htusers file to cgi-bin/data/db/user_passwords.db

   $ mv /vaw/www/aviman/pages/.htusers
     /usr/lib/cgi-bin/data/db/user_passwords.db
     
   You can remove the htuser lines in aviman.cfg and Aviman/CGI/aviman_cgi.in
   
 * set in aviman.cfg: $config_version=0.898

* IMPORTANT: convert database:
 
	cp tools/cgi/convert_db_083.pl /path/to/your/cgi-bin/aviman
	run convert_db_083.pl in your browser


 * IMPORTANT: add in aviman.cfg, EXTRA PATHS
 
	$request_list      = $data_path . "/db/request" . $file_suffix;
   	$lent_list	   = $data_path . "/db/lent" . $file_suffix;		

 * create file $data_path/db/lent.txt ($data_path is defined in your aviman.cfg)

 	$ cd $data_path/db
	$ touch lent.txt
	$ chmod 777 lent.txt
	
 * replace your themes/default/[images] directory	
 

 * vote for (or add/change/delete) a movie 


 * Add (or change) following lines to your aviman.cfg, Preference Questions,
   if want this features:
  
 	#4. What different status may a movie have?
	#   lower = better: e.g 'deleted' would be the highest value
	%status = ('1'=>'burned','2'=>'not burned','3'=>'not available','4'=>'lent');
	$status_lent_id = 4;

	#   For statistics, the average sizes in MB
	%videotype_size =('1'=>700,'2'=>4608,'3'=>700,'4'=>700,'5'=>0);


        #11. The feature "Add by Directoryname" adds movies intelligently,
	#    because it tries to extract as much informations out of the
	#    directoryname as possible. Please put here the language-names
	#    in and how they should be saved in database (if you add values/change
	#    these values and if you think, others maybe find them useful,
	#    send it to me!)
	#    The Format (blanks replaced with dots):
	#    Title.Year.X(Language for example)-Ripper
	%lang_add_by_dirname = ( 'GERMAN' => 'germ.', 'FRENCH' => 'french.', 'SPANISH' => 'span.', 'NORWEGIAN' => 'norw.', 'SWEDISH' => 'swed.', 'DANISH' => 'dan.');


	%comment_add_by_dirname = ( 'INTERNAL' => 'INTERNAL', 'iNTERNAL' => 'INTERNAL','PROPER' => 'PROPER', 'RERIP' => 'RERIP', 'RERiP' => 'RERIP','REPACK' => 'REPACK', 'LIMITED' => 'LIMITED', 'LiMiTED' => 'LIMITED', 'TS' => 'TELESYNC', 'TELESYNC' => 'TELESYNC', 'CAM' => 'CAM', 'SVCD' => 'SVCD', 'VCD' => 'VCD', 'TELECINE' => 'TELECINE', 'TC' => 'TELECINE');

	 #13. Show movie of the moment? If yes, what is the min. imdbranking? 
	 #    You can use cookies to save the current movie and make 
	 #      - a movie of the n minutes: set expire to '+nm', for example '+5m'  
 	 #      - a movie of the hour ('+1h')
	 #      - a movie of the day ('+1d')
	 $show_movie_of_the_moment = 1;
	 $movie_of_the_moment_imdbmin = 7.0;
	 $set_movie_of_the_moment_cookie = 1;
	 $set_movie_of_the_moment_expire = '+1h'; # remove cookie with "-1D"
	 $set_movie_of_the_moment_title = 'Movie of the moment';


	 #28 Use "What's new"-Format from homepage for movietable?
	 #   It needs a LOT of space. You don't want this format if you have many movies.
  	 #   Set $max_movies_per_page to something between 25 and 50.
 	 $use_wn_format = 1;
	 
	 #29. Display "Save"-Buttons at the top of the add/change movie results.
	 #    Set this to 1 if you trust the IMDb-grabber and if you are to lazy
	 #    to scroll to the bottom of the page.
	 $save_button_top = 1;
	
 * remove .htaccess file :)) in cgi-bin/aviman

 * install CGI::Session, Config::Inifiles & HTML::Template (see README for details)
 
 * configure cgi-bin/aviman/Aviman/CGI/aviman_cgi.ini
 
 * If you want the added translations, copy the file in your 
   cgi-bin/aviman/language directory
    
    $ cp avimanager/cgi-bin/language/* /path/to/cgi-bin/aviman/language

 * new user GOD, SU can't manage user anymore:
 
   add him in aviman.cfg
   
   @user_description = ( '[GUEST]', '[VIP]', '[SU]', '[GOD]' );
 
 * change your usertype in cgi-bin/data/db/user.db (3 to 4)

 * change in aviman.cfg: 

    #4. What different status may a movie have?
    #   lower = better: e.g 'deleted' would be the highest value
    %status = ( 
                DivX => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                DVD => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                SVCD => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                MPEG => {
                            1 => 'burned',
                            2 => 'not burned',
                            3 => 'lent',
                            4 => 'not available'
                        },
                VHS => {
                            1 => 'original',
                            2 => 'copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                all => {
                            1 => 'burned/original',
                            2 => 'not burned/copy',
                            3 => 'lent',
                            4 => 'not available'
                        },
                        
    );

    and in %db (line 180):

    Status            => [ 10, 'SELECT', 0, 1, 1, 20, 25, 1, '2', $status{all} ],

 



* 0.6.x to current
==================

Due to the huge directory cleanup, it is necassary, to install the current version.
Backup your old version

	$ mv /var/www/aviman ~/aviman_old/aviman
	$ mv /usr/lib/cgi-bin/* ~/aviman_old/cgi-bin 

Do installation steps in README!


Additional steps to import your old database:


 * move your .htusers file to cgi-bin/data/db/user_passwords.db

   $ mv ~/aviman_old/pages/.htusers
     /usr/lib/cgi-bin/data/db/user_passwords.db
     

replace the files in cgi-bin/data/db with your old ones  
copy your plots, comments (both in cgi.bin/data/db), images, headshots (both in pages/images)

if you want the new standard fields Video and Audio:

	* run the cgi-script convert_db_06.pl (you can find this in tools/cgi): 
	
		point your browser to http://yourserver.com/cgi-bin/aviman/convert_db_06.pl


if not (not recommended):


	* open aviman.cfg with your favorite editor:
	* comment out lines

	        #    Video            => [14,  'SELECT',   0,   1,   1,  20,  25,   1,  '1',\%videotype],
		#    Audio            => [15,  'SELECT',   0,   1,   1,  20,  25,   1,  '1',\%audiotype],
	
	* change lines:

		$videotype_id      = 14;
		$audiotype_id      = 15;
	
	  to

		$videotype_id      = -1;
		$audiotype_id      = -1;
				
 * remove .htaccess file :)) in cgi-bin/aviman

 * install CGI::Session & HTML::Template
 

###########################################
##IMPORTANT: delete convert_db_06.pl !!!!##
###########################################


