gonzopi

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

commit 2702c8081bf43e513241ce8c28f6e6fb2ac6ae0f
parent 4ba382c4730125939352c28caede6063562dd196
Author: rbckman <rob@tarina.org>
Date:   Tue,  4 Mar 2025 21:22:59 +0000

moving clips works better

Diffstat:
MREADME.md | 2+-
Mgonzopi.py | 8++++++--
2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md @@ -42,7 +42,7 @@ Gluing takes and scenes together takes a while and depends on your usb harddrive Installing ---------- -Download [Raspbian buster (not the latest!)](https://www.raspberrypi.org/downloads/raspbian/) and follow [install instructions | a simple install script should take care of it all!](https://www.raspberrypi.org/documentation/installation/installing-images/README.md). +Download [Raspbian buster (not the latest!)](https://downloads.raspberrypi.com/raspios_oldstable_lite_armhf/images/raspios_oldstable_lite_armhf-2023-05-03/2023-05-03-raspios-buster-armhf-lite.img.xz) and follow [install instructions | a simple install script should take care of it all!](https://www.raspberrypi.org/documentation/installation/installing-images/README.md). [Ssh into](https://www.raspberrypi.org/documentation/remote-access/ssh/) Raspberry Pi and run: ``` sudo apt-get install git diff --git a/gonzopi.py b/gonzopi.py @@ -808,7 +808,7 @@ def main(): copying = '' moving = False vumetermessage('Pasted!') - #time.sleep(3) + time.sleep(1) #INSERT SHOT elif pressed == 'insert' and menu[selected] != 'SCENE:' and yanked == '': insertshot = filmfolder + filmname + '/' + 'scene' + str(scene).zfill(3) +'/shot' + str(shot-1).zfill(3) + '_insert' @@ -3889,7 +3889,11 @@ def organize(filmfolder, filmname): origin_scene_files=[] shots = next(os.walk(filmfolder + filmname + '/' + i))[1] for p in sorted(shots): - takes = next(os.walk(filmfolder + filmname + '/' + i + '/' + p))[2] + takes=[] + takefiles = next(os.walk(filmfolder + filmname + '/' + i + '/' + p))[2] + for t in takefiles: + if 'take' in t: + takes.append(t) if len(takes) == 0: logger.info('no takes in this shot, removing shot if no placeholder') if not os.path.isfile(filmfolder + filmname + '/' + i + '/' + p + '/.placeholder'):