10 Replies Latest reply on Jun 29, 2017 6:26 AM by Bruce Bullis

    XMP Metadata: Different file path in Mac

    meett9325076 Level 1

      Hi All,


      I am importing same file from two different places in premiere pro (one from Project panel and other from Media Browser panel) in Mac. I have fetched their file path using XMP metadata, but the file paths of both project items are different!!



      File path when import file from Project panel:



      File path when import file from Media Browser panel:

      /Volumes/Macintosh HD/Users/user1/Documents/fil1.txt  

      Here extra prefix "/Volumes/Macintosh HD" is added which creates an issue for us as we are comparing file paths with one another.


      Code snippet to read file path:

      var projectMetadata=currentChild.getProjectMetadata();
      var xmp=new XMPMeta(projectMetadata);
      var kPProPrivateProjectMetadataURI="http://ns.adobe.com/premierePrivateProjectMetaData/1.0/";
      var filePath=xmp.getProperty(kPProPrivateProjectMetadataURI, "Column.Intrinsic.FilePath");


      Premiere Pro Version: 11.1.0

      Extension Type: Panel


      Thanks & Regards
      Meet Tank