Path Map To JSON ?

This wildcard is substituted with the JSON representation, ensuring that any backslashes in a provided Windows (UNC) input path are properly escaped. It is designed for pointing to media files that necessitate escaped paths. UNIX paths will remain unchanged when processed through this wildcard. This process requires matching path mappings defined in Helmut preferences to ensure mapping across different platforms.

The wildcard is used in the following way:

  • {path.map.to.json.?}

  • For the following input (?) --> R:\Users\Administrator

  • The output is going to be --> R:\\Users\\Administrator

  • For the following input (?) --> /Volumes/Users/Administrator

  • The output is going to be --> /Volumes/Users/Administrator

Usage Restriction

The usage of this wildcard depends on the input path that the client host (macOS or Windows) uses for streaming:

Path mapping: \\test-filer\Helmut <--> /Volumes/Helmut

Windows:

  • {path.map.to.json.\\test-filer\Helmut}

    • Resolves to: \\\\test-filer\\Helmut

  • {path.map.to.json./Volumes/Helmut}

    • Resolves to: \\test-filer\Helmut

macOS:

  • {path.map.to.json.\\test-filer\Helmut}

    • Resolves to: \\\\test-filer\\Helmut

  • {path.map.to.json./Volumes/Helmut}

    • Resolves to: /Volumes/Helmut

No additional path mapping is applied when using this wildcard, so it’s important to carefully check the input, especially when a variable is used as the input.

Last updated