Author Topic: relative paths  (Read 588 times)

Offline oceanwanderlust

  • Newbie
  • *
  • Posts: 14
    • View Profile
relative paths
« on: November 29, 2018, 03:57:18 PM »
I have a face as such:

Mouth-AI-EyesClosed="C:\Users\Joe\Desktop\CHRISTMAS\xlightsshows\DownloadedFaces\Reindeer\Reindeer_AI_eo.png"

When I try to use find and replace to make the path relative and sharable, the following two tries do not work:

Mouth-AI-EyesClosed="\DownloadedFaces\Reindeer\Reindeer_AI_eo.png"
Mouth-AI-EyesClosed="DownloadedFaces\Reindeer\Reindeer_AI_eo.png"

How do I make these paths relative so that I can share them easily?

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: relative paths
« Reply #1 on: November 29, 2018, 06:28:14 PM »
You cant ... and dont need to.

As long as the files are in or under the show folder xLights is smart enough to update the file locations.

Then if you follow the PROPER import process the file locations are updated BEFORE you run the import.