Author Topic: Command Line Switches for PVD  (Read 4176 times)

0 Members and 1 Guest are viewing this topic.

mgpw4me@yahoo.com

  • Guest
Command Line Switches for PVD
« 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...

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Command Line Switches for PVD
« Reply #1 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
Gentlemen, you can’t fight in here! This is the War Room!