123456789101112131415161718192021222324 |
- def filenameFix(s):
- if nuke.env["MACOS"]:
- s = s.replace("//calculon/o/", "/Volumes/O/", 1)
- s = s.replace("//hades/p/", "/Volumes/P/", 1)
- s = s.replace("//zeus/r/", "/Volumes/R/", 1)
- s = s.replace("/Volumes/192.168.0.253/", "/Volumes/O/", 1)
- s = s.replace("/Volumes/192.168.0.251/", "/Volumes/P/", 1)
- s = s.replace("/Volumes/192.168.0.250/", "/Volumes/R/", 1)
- s = s.replace("O:/", "/Volumes/O/", 1)
- s = s.replace("P:/", "/Volumes/P/", 1)
- s = s.replace("R:/", "/Volumes/R/", 1)
- else:
- s = s.replace("/Volumes/O/", "//calculon/o/", 1)
- s = s.replace("/Volumes/P/", "//hades/p/", 1)
- s = s.replace("/Volumes/R/", "//zeus/r/", 1)
- s = s.replace("O:/", "//calculon/o/", 1)
- s = s.replace("P:/", "//hades/p/", 1)
- s = s.replace("R:/", "//zeus/r/", 1)
- s = s.replace("o:/", "//calculon/o/", 1)
- s = s.replace("p:/", "//hades/p/", 1)
- s = s.replace("r:/", "//zeus/r/", 1)
- # for LUT
- s = s.replace("/Volumes/Libs/Nuke/arri/", "//hades/p/env/nuke/_workgroup/6.0v5/lut/", 1)
- return s
|