tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

commit 9f15763efe9aefa6f33f37c81b5c4b8cfe240f12
parent 9632ac77c151a2d022eaf25afb137bdb4153e3b9
Author: rob <rob@tarina.org>
Date:   Thu, 26 Oct 2023 20:47:16 +0100

only sync one scene

Diffstat:
Mtarina.py | 17++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/tarina.py b/tarina.py @@ -862,17 +862,16 @@ def main(): vumetermessage('Quality changed to '+str(quality)) elif 'MAKEPLACEHOLDERS:' in pressed: scenesshots=pressed.split(':')[1] - pscenes=int(scenesshots.split('|')[0]) + pscene=int(scenesshots.split('|')[0]) pshots=int(scenesshots.split('|')[1]) #to not throw away empty shots, make placeholders - for sc in range(pscenes): - for i in range(pshots): - placeholders=filmfolder + filmname + '/scene' + str(sc+1).zfill(3) + '/shot' + str(i+1).zfill(3) - try: - os.makedirs(placeholders) - except: - logger.info('scene or shot already there!') - run_command('touch ' + placeholders + '/.placeholder') + for i in range(pshots): + placeholders=filmfolder + filmname + '/scene' + str(pscene).zfill(3) + '/shot' + str(i+1).zfill(3) + try: + os.makedirs(placeholders) + except: + logger.info('scene or shot already there!') + run_command('touch ' + placeholders + '/.placeholder') scenes, shots, takes = browse(filmname,filmfolder,scene,shot,take) rendermenu = True vumetermessage('CONNECTED TO MASTER TARINA!')