Tags: oxypatic/RecORDER
Tags
Added screenshot handling and upgraded the code (#10) * refrac: Added event handler for Replay Buffer start * refac: sleep instead of dummy file utilizing time.sleep() instead of creation and reading of a dummy file; it proved to be more effective/successful * feat: exchanged the file creation in favour of sleep * fix: text file creation on lastest file Combined two methods of slowing down the process as a temporary measure against getting errors * refrac: upgrading code From this point the script is no longer usable by users with lower version than 29.0.0 - Changing the last recording location method into a method added to OBS at version 29.0.0 - Removed some of the logic due to unneccessary calls and unused values - Moved some globals to better places (not heaven, do not worry) * feat: added screenshot movement support Feature requested by: PixlPixi (OBS Forums) I had some free time on my hand and you had me interested over the fact that OBS can take screenshots, so consider this as your christmas present. Do the feature request on GitHub next time my guy, otherwise it might get overlooked! I hope it will work for you - have fun recording and/or screenshotting!
Upgrade and fixes (#9) * refrac: Added event handler for Replay Buffer start * refac: sleep instead of dummy file utilizing time.sleep() instead of creation and reading of a dummy file; it proved to be more effective/successful * feat: exchanged the file creation in favour of sleep * fix: text file creation on lastest file Combined two methods of slowing down the process as a temporary measure against getting errors
feat: removed start signal in favour of event Signals are not reliable enough for them to be used for initial script set-up. Found by @Penwywern from OBS Discord server Additionally I needed to create a fake buffer for the script, so the file movement wouldn't be blocked by "file is in use" situation, so I brought back old code from pre-optimization time as it works the best, although I really hate it.
Squashed commit of the following:
commit e67918879a5841f18d3d2985ece9daa38fea4b6e
Author: padii <61553947+padiix@users.noreply.github.com>
Date: Tue Apr 30 19:04:10 2024 +0200
fix: get_newPath outdated behaviour
get_newPath returned obsolete function in case of Replay Buffer save.
commit 2631fce88c648bcb4584d4e95516536f3a986d13
Author: padii <61553947+padiix@users.noreply.github.com>
Date: Tue Apr 30 18:56:40 2024 +0200
feat: changing from '(un)hooked' to 'get_hooked'
'hooked/unhooked' signals were to unreliable in the long run.
I implemented the utilization of 'get_hooked' source procedure for more accurate recording moving, since it will always fire on situations where recordings are saved
commit e489b14c1c5f5800e767c38314ad462ee26040ad
Author: padii <61553947+padiix@users.noreply.github.com>
Date: Tue Apr 30 18:53:59 2024 +0200
refactor: removed scenes from configurable properties
They do not really matter in a long run and make the changes annoying
commit b814e801442899f64c5ceb7d356d9407b94461b4
Author: padii <61553947+padiix@users.noreply.github.com>
Date: Tue Apr 30 18:53:03 2024 +0200
feat: searching source by the uuid
commit c9d0d065cb3d26712911ea6790685e0238597479
Author: padii <61553947+padiix@users.noreply.github.com>
Date: Tue Apr 30 14:01:33 2024 +0200
refactor: simpler logs and better path handling
- Made the logs significantly simpler instead of word-nami it was
- Using formatted string instead of concatenation
- Reworked the File class to have less parameters, more simplistic functions returning neccesary data and universal paths for systems using os.path lib
PreviousNext