Personal Video Database

English => Feature Suggestions => Topic started by: mgpw4me@yahoo.com on April 08, 2010, 09:03:10 pm

Title: Command Line Switches for PVD
Post by: mgpw4me@yahoo.com on April 08, 2010, 09:03:10 pm
Any thoughts on adding command line switches to PVD?

I can see it being useful, particularly from window scripting host (.wsh).  An example might be to add an image:
pvd -[photo | append] http://www.somesite.com/someimage.com -person 1234

The main idea here is to provide direct / secure (validated - person must have ID or IMDB_ID, same for movie) database access (without a server).

Queries to STDOUT would also be very useful from the scripting host and could be used to create custom fields (ie. person ratings).  If 'outfile' were provided, it would also provide a simple way to order images...
Title: Re: Command Line Switches for PVD
Post by: nostra on April 08, 2010, 11:02:17 pm
There are some simple command line switches already. I will consider implementing more cmd line functions and stdout support in later versions.

-readonlyOpens PVD in Read only mode (works only on first start)
-filmidShows ID in Filmography (works only on first start)
-mustfillmf=f1,f2,..fndefine obligatory fields (must be filled) for movies (works only on first start)
-mustfillpf=f1,f2,..fndefine obligatory fields (must be filled) for people (works only on first start)
-noconfigHides preferences (works only on first start)
-open=filenameopens database
-addfile=filenameStarts NMM with a certain filename
-addmovie=titleStarts NMM with a certain title
-selectmovie=titleSelects a certain movie
-selectperson=Selects a certain person