Author Topic: Remove portions of File Path within PVD  (Read 5647 times)

0 Members and 1 Guest are viewing this topic.

Offline simscj2000

  • Member
  • *
  • Posts: 6
    • View Profile
Remove portions of File Path within PVD
« on: January 18, 2014, 06:43:00 am »
I have my DVDs stored on an external hard drive with the drive letter E:.  My PC is set up as a web server to stream my movies to my TV.  When creating the XML file, I need the file path to simply be the file name without the path.  At this time, I am manually using replace in Notepad to update the XML file any time I update it, but that is certainly error prone.

Is there some way within PVD that I can tell it the root directory of my videos, and have it only include any path information beyond that root?

Thanks for your help!

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Remove portions of File Path within PVD
« Reply #1 on: January 18, 2014, 02:49:18 pm »
Feel free to study the export plugin documentation: http://www.videodb.info/help/hlp_export.html

You can use the "replace " template option or better yet the ExtractFileName function. There is also a StringReplace function. So plenty of possibilities, really :)
Gentlemen, you can’t fight in here! This is the War Room!

 

anything