Author Topic: Relative File Paths for movies.  (Read 7578 times)

0 Members and 1 Guest are viewing this topic.

Offline Roy22

  • User
  • ***
  • Posts: 34
    • View Profile
Relative File Paths for movies.
« on: June 28, 2012, 07:38:40 pm »
I know this question has been asked in one way or another before, but I just want to be clear before restructuring some disks, folders etc.

Movies stored on removable drives may obviously have different paths (ie drive letters) depending on which USB drives are plugged in, the order they're plugged, and which laptop/PC I might be running PVD on.  A file path beginning 'F:\video\...' might appear as 'G:\video\...' when plugged into another machine.

How to I ensure PVD can always find the films to play etc, or do I have to manually search for & replace drive letters as I move between different PCs?

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Relative File Paths for movies.
« Reply #1 on: June 30, 2012, 12:39:48 am »
You can't use relative paths in thie path field, but you can use "Prefrences -> Folders -> Replace folders in file paths" feature to temporary switch the drive letter.
Gentlemen, you can’t fight in here! This is the War Room!

Offline Roy22

  • User
  • ***
  • Posts: 34
    • View Profile
Re: Relative File Paths for movies.
« Reply #2 on: June 30, 2012, 05:50:46 pm »
Will PVD by default, eg if no file path is given, seek video files in the same folder as the database file resides?  Just wondering if I could keep a copy of it alongside videofiles in whichever portable drive I used?

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Relative File Paths for movies.
« Reply #3 on: June 30, 2012, 07:40:01 pm »
No, as I said: the paths are saved as absolute paths and also always handled as such
Gentlemen, you can’t fight in here! This is the War Room!

Offline Roy22

  • User
  • ***
  • Posts: 34
    • View Profile
Re: Relative File Paths for movies.
« Reply #4 on: June 30, 2012, 09:20:20 pm »
Would there be any way to add this as a future feature?  Users running PVD on more than one PC and with different drives must be quite common.

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: Relative File Paths for movies.
« Reply #5 on: June 30, 2012, 10:25:38 pm »
Quote
Users running PVD on more than one PC and with different drives must be quite common.

PC's under the user's control can be configured to always use the same drive letter for the portable drive PVD is on (using Windows Disk Management). Otherwise, use Replace folders in file paths to change the drive letter references.

 

anything