Difference between revisions of "Avimanager"

From YobiWiki
Jump to navigation Jump to search
m (Undo revision 10006 by JasonAnderson (talk))
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Site==
 
==Site==
 
* http://avimanager.sourceforge.net/
 
* http://avimanager.sourceforge.net/
 
   
 
==Installation==
 
==Installation==
Line 71: Line 70:
 
I:Not yet voted for
 
I:Not yet voted for
 
O:Votes manquants
 
O:Votes manquants
  +
I:Logged in user is no owner. Ignoring status
  +
O:L'utilisteur loggué n'est pas le propriétaire. Statut ignoré
   
 
And some are missing:
 
And some are missing:
Line 79: Line 80:
 
I:not burned/copy
 
I:not burned/copy
 
O:Non brûlés/copies
 
O:Non brûlés/copies
  +
I:logged in as
  +
O:Loggué en tant que
  +
I:Logout
  +
O:Quitter
  +
I:No entry.
  +
O:Pas d'entr.e.
   
 
==TODO==
 
==TODO==
Line 86: Line 93:
 
* mark as seen -> last sen movie
 
* mark as seen -> last sen movie
 
* vote and say you saw it -> not in the "not seen list" anymore
 
* vote and say you saw it -> not in the "not seen list" anymore
  +
  +
Transmit translation to french to author
  +
  +
Seems jpg covers are actually gifs

Latest revision as of 15:59, 2 March 2016

Site

Installation

apt-get install libwww-perl libcgi-session-perl libconfig-inifiles-perl libhtml-template-perl libstring-approx-perl

Get last version from http://sourceforge.net/project/showfiles.php?group_id=54985
This was aviman_0.9rc2.tar.gz and I had to take also cgi-bin/imdb.pl from the CVS version so I simply just used the CVS snapshot:

cvs -d:pserver:anonymous@avimanager.cvs.sourceforge.net:/cvsroot/avimanager login
cvs -z3 -d:pserver:anonymous@avimanager.cvs.sourceforge.net:/cvsroot/avimanager co -P avimanager

Prepare in 2 dirs:

pages -> /usr/local/share/avimanager/pages
cgi-bin -> /usr/local/share/avimanager/cgi-bin
(and doc/html -> /usr/local/share/avimanager/doc)
mkdir /usr/local/share/avimanager/pages/media
mkdir /usr/local/share/avimanager/pages/subtitles
find . -type f -exec chmod 644 {} \;
find . -type f -name "*.pl" -exec chmod 755 {} \;
find . -type f -name "aviman.cfg" -exec chmod 755 {} \;
find cgi-bin/data -type d -exec chmod 777 {} \;
find cgi-bin/data -type f -exec chown www-data:www-data {} \;
find pages/images -type d -exec chmod 777 {} \;
find pages/media -type d -exec chmod 777 {} \;

Edit aviman.cfg
Owners must be added manually

@owners = ("me", "friend");'

Edit Aviman/CGI/aviman_cgi.ini

[URL] 
website = http...
website_data  =  aviman/pages
media_data  =  aviman/media
[PATH]
website_data =  /usr/local/share/avimanager/pages 
media_data =  /usr/local/share/avimanager/pages/media
sessions     =  /tmp
themes       =  /usr/local/share/avimanager/pages/themes

/etc/apache2/sites-available/aviman (and link in sites-enabled)

Alias /aviman /usr/local/share/avimanager
<Directory /usr/local/share/avimanager/cgi-bin>
 <IfModule mod_dir.c>
   DirectoryIndex aviman.pl
 </IfModule>
 AddHandler cgi-script .pl
</Directory>

Tuning

I prefer to change default settings when encoding a new movie:

  • Default status: burned/original
Status            => [ 10, 'SELECT', 0, 1, 1, 20, 25, 1, '1', $status{all} ], 
  • Default Video type: DVD
Video             => [ 14, 'SELECT',    0, 1, 1, 20, 25, 1, '2', \%videotype ],

French translations are sometimes very bad, some fixes in cgi-bin/language/aviman.fr:

I:Who borrowed this movie(s)?                                                                                                                
O:Qui a emprunté ce(s) film(s)?                                                                                                                                           
I: Remind me                                                                                                                                                              
O: Me le rappeler
I:Latest Comments
O:Derniers commentaires
I:Last seen list
O:Derniers films vus
I:Add to last seen
O:Ajout dans les films vus                                                           
I:Not yet voted for                                                                  
O:Votes manquants
I:Logged in user is no owner. Ignoring status                                        
O:L'utilisteur loggué n'est pas le propriétaire. Statut ignoré

And some are missing:

I:Not yet seen
O:Films pas encore vus
I:Requests
O:Requêtes
I:not burned/copy
O:Non brûlés/copies
I:logged in as                                                                       
O:Loggué en tant que
I:Logout
O:Quitter
I:No entry.
O:Pas d'entr.e.

TODO

themes?

No link between "seen" and actual nr of times the movie was seen in the voting field?

  • mark as seen -> last sen movie
  • vote and say you saw it -> not in the "not seen list" anymore

Transmit translation to french to author

Seems jpg covers are actually gifs