tarina

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

commit 3133b9515a3a9a6056c95c52db6140978ac05491
parent b82acae7acf01bda27326c979a43e57643647c5b
Author: rob <rob@tarina.org>
Date:   Thu, 24 Aug 2023 10:39:26 +0100

placeholder right

Diffstat:
Mtarina.py | 16+++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/tarina.py b/tarina.py @@ -576,7 +576,21 @@ def main(): vumetermessage('Scene moved!') time.sleep(1) #INSERT SHOT - elif pressed == 'insert' and menu[selected] != 'SCENE:' or pressed == 'insert_shot': + elif pressed == 'insert' and menu[selected] != 'SCENE:': + insertshot = filmfolder + filmname + '/' + 'scene' + str(scene).zfill(3) +'/shot' + str(shot-1).zfill(3) + '_insert' + try: + os.makedirs(insertshot) + except: + print('is there already prob') + add_organize(filmfolder, filmname) + scenes, shots, takes = browse(filmname,filmfolder,scene,shot,take) + vumetermessage('Shot ' + str(shot) + ' inserted') + updatethumb = True + time.sleep(1) + #INSERT SHOT TO LAST SHOT + elif pressed == 'insert_shot': + shot = countshots(filmname, filmfolder, scene) + shot=shot+1 insertshot = filmfolder + filmname + '/' + 'scene' + str(scene).zfill(3) +'/shot' + str(shot-1).zfill(3) + '_insert' try: os.makedirs(insertshot)