mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
removed never used part
This commit is contained in:
parent
6908f6cb5e
commit
7c49ffedad
1 changed files with 0 additions and 25 deletions
|
|
@ -74,31 +74,6 @@ class OpenInDJV(api.Loader):
|
|||
|
||||
fps = context.get('project', {}).get('data', {}).get('fps', 24)
|
||||
|
||||
|
||||
#
|
||||
# # TODO issequence is probably already built-in validation in ftrack
|
||||
# isseq = re.findall('%[0-9]*d', filename)
|
||||
# if len(isseq) > 0:
|
||||
# if len(isseq) == 1:
|
||||
# frames = []
|
||||
# padding = re.findall('%[0-9]*d', filename).pop()
|
||||
# index = filename.find(padding)
|
||||
#
|
||||
# full_file = filename[0:index-1]
|
||||
# file = full_file.split(os.sep)[-1]
|
||||
# folder = os.path.dirname(full_file)
|
||||
#
|
||||
# for fname in os.listdir(path=folder):
|
||||
# if fname.endswith(file_type) and file in fname:
|
||||
# frames.append(int(fname.split(".")[-2]))
|
||||
#
|
||||
# if len(frames) > 0:
|
||||
# start = min(frames)
|
||||
# end = max(frames)
|
||||
#
|
||||
# range = (padding % start) + '-' + (padding % end)
|
||||
# filename = re.sub('%[0-9]*d', range, filename)
|
||||
|
||||
cmd = []
|
||||
# DJV path
|
||||
cmd.append(os.path.normpath(self.djv_path))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue