diff options
author | Guilhem Moulin <guilhem.moulin@ens-lyon.org> | 2012-03-08 15:23:16 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem.moulin@ens-lyon.org> | 2012-03-08 15:23:16 +0100 |
commit | 09158f50cc9a9d1be2086c5f37ff0f5b83e61b8b (patch) | |
tree | f838e2e2e44f78a1806270f4b5d185ec678a1acd | |
parent | 7944c09286c112f5d2880c4c4d3fdf9a4a86aa1a (diff) |
-rwxr-xr-x | videoadd.pl | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/videoadd.pl b/videoadd.pl index ac77e61..1f74081 100755 --- a/videoadd.pl +++ b/videoadd.pl @@ -59,7 +59,7 @@ videoadd.pl - add/update movies to your collection =head1 SYNOPSIS B<videoadd.pl> [B<-s>] [B<-u>] [B<--ignore-db>] [B<--dont-move>] [B<--force>] [B<-i> I<crit>] -[B<-o> I<key=value>...] [B<--only=>I<field,field,>...] [B<--exclude=>I<field,field,>...] +[B<-o> I<key=value>...] [B<--only=>I<field,field>...] [B<--exclude=>I<field,field>...] [B<-q>] [B<-t>] (I<filename>|I<title>|I<id>|I<IMDbID>) =head1 DISCLAIMER @@ -154,8 +154,10 @@ added to the database (unless overriden by B<-o> I<key=value>). Override data from IMDb with the I<value> provided. Valid I<key>s are I<title>, I<language >, I<imdbid>, I<year>, I<imgurl>, I<director>, I<genres>, I<country>, I<plot>, I<rating>, I<istv>. +Multiple keys can be overriden by setting this option multiple times: +B<-o> I<key1=value1> B<-o> I<key2=value2> ... -=item B<--only=>I<field,field,>... +=item B<--only=>I<field,field>... Update only the given fields of the database. Known fields are I<title>, I<subtitle>, I<language>, I<imdbid>, I<year>, I<imgurl>, @@ -183,19 +185,19 @@ I<video_width>, I<video_height>, I<runtime>, I<language>. =back -=item B<--exclude=>I<field,field,>... +=item B<--exclude=>I<field,field>... Do not update the given fields of the database. See B<--only> above for -details. +details on the known fields. =item B<-q>, B<--quiet> -Do not print the list of updated fields with old and new values. +Do not print the list of updated fields with old and new values; Do not print the final URL for the freshly added/updated movie. =item B<-t>, B<--test> -Simulate only the insertion / update. The database and file hierarchy +Simulate only the insertion / update; The database and file hierarchy are kept unchanged. =back |