Author |
Message |
Registered: March 14, 2007 | Reputation: | Posts: 6,744 |
| Posted: | | | | Hi,
I have several databases, the biggest being my DVD DB. But I also have one for contributions and on for my books.
The startup time of DVDP seems to be dependent upon the database it tries to open initially.
So it would be cool if there could be a start parameter like "/db=Books" where I can pre-select the database the program will open. | | | Karsten DVD Collectors Online
|
|
Registered: May 9, 2007 | Posts: 1,536 |
| Posted: | | | | This already exists.
You can use the command OpenDatabase "Books" in a command file. (See the Help function). | | | Hans |
|
Registered: March 14, 2007 | Reputation: | Posts: 6,744 |
| Posted: | | | | Yeah, but the command file is only loaded after the program has started up with the last active DB. :-/ | | | Karsten DVD Collectors Online
|
|
Registered: March 13, 2007 | Reputation: | Posts: 2,217 |
| Posted: | | | | Quoting DJ Doena: Quote: Yeah, but the command file is only loaded after the program has started up with the last active DB. :-/ As workaround, how about ending Profiler with a command-file that loads a very small or even empty DB? To go the whole nine yards, you could get mediadogg's MyTools and make menu-buttons for "Loading DB 1", "DB 2" etc and "Exit" and link them to the respective command-file cya, Mithi | | | Mithi's little XSLT tinkering - the power of XML --- DVD-Profiler Mini-Wiki |
|
Registered: March 13, 2007 | Reputation: | Posts: 3,197 |
| Posted: | | | | Good idea. | | | First registered: February 15, 2002 | | | Last edited: by Nexus the Sixth |
|
Registered: March 13, 2007 | Posts: 350 |
| Posted: | | | | Couldn't you write a tiny program that pushed the DB name into the appropriate registry key and then spark DVDP? | | | -fred |
|
Registered: March 14, 2007 | Posts: 5,734 |
| Posted: | | | | Quoting DJ Doena: Quote: But I also have one for contributions How does this work? Why a separate database for contributions? | | | Don't confuse while the film is playing with when the film is played. [Ken Cole, DVD Profiler Architect] |
|
Registered: March 14, 2007 | Posts: 2,337 |
| Posted: | | | | Quoting bbbbb: Quote: Quoting DJ Doena:
Quote: But I also have one for contributions How does this work? Why a separate database for contributions? You cannot have two titles with same locality and UPC in one db. I think that his local db differs so much from what can be contributed, that it doesn't make any sence to change everything back as he likes after the contribution. For example in initial contribution you cannot select which fields you contribute. I cannot figure out anything else reason. |
|
Registered: March 14, 2007 | Reputation: | Posts: 6,744 |
| Posted: | | | | Quoting Kulju: Quote: Quoting bbbbb:
Quote: Quoting DJ Doena:
Quote: But I also have one for contributions How does this work? Why a separate database for contributions? You cannot have two titles with same locality and UPC in one db. I think that his local db differs so much from what can be contributed, that it doesn't make any sence to change everything back as he likes after the contribution. For example in initial contribution you cannot select which fields you contribute. I cannot figure out anything else reason. That's pretty much it. I have my own rules for titles, SRP values, cast & crew and others. And since I'm often contribute initial child profiles for TV shows I simply backup these profiles, restore them into the contrib DB, change them according to the rules (i.e. removing all cast & crew) and then contribute it. Quoting FredLooks: Quote: Couldn't you write a tiny program that pushed the DB name into the appropriate registry key and then spark DVDP? Awesome idea, dude! I though the "current DB" was stored in that binary file that knows of the DBs. You don't even need a program. A simple batch file that changes the reg and then starts DVDP. Thanks, man! DVDP_Contrib.cmd: Quote: @echo off reg.exe add "HKCU\Software\Invelos Software\DVD Profiler" /v "CurrentDatabase" /t REG_SZ /d "Contrib DB" /f "C:\Program Files\DVD Profiler\dvdpro.exe" | | | Karsten DVD Collectors Online
| | | Last edited: by DJ Doena |
|
Registered: March 13, 2007 | Posts: 350 |
| Posted: | | | | Quoting DJ Doena: Quote: DVDP_Contrib.cmd:
Quote: @echo off reg.exe add "HKCU\Software\Invelos Software\DVD Profiler" /v "CurrentDatabase" /t REG_SZ /d "Contrib DB" /f "C:\Program Files\DVD Profiler\dvdpro.exe" I clearly need to bone up on the reg.exe command Learn something new here every day. Thanks | | | -fred |
|
Registered: March 14, 2007 | Posts: 5,734 |
| Posted: | | | | Quoting Kulju: Quote: I think that his local db differs so much from what can be contributed, that it doesn't make any sence to change everything back as he likes after the contribution. I see. My complete database is fellow users and Invelos reviewers approved. So rules compliant, without exception. | | | Don't confuse while the film is playing with when the film is played. [Ken Cole, DVD Profiler Architect] |
|