cr08 / obs-recording-renamer Goto Github PK
View Code? Open in Web Editor NEWOBS recording renamer - Adds extra info to the recording filename such as window title or Twitch stream info
License: GNU General Public License v3.0
OBS recording renamer - Adds extra info to the recording filename such as window title or Twitch stream info
License: GNU General Public License v3.0
Currently the script is written to check the foreground window upon stopping the recording/replay and use the title found in that moment for the rename (as documented in the README). This becomes problematic for example if you manually click Stop Recording in OBS as it will see OBS as foreground and label it as a Manual Recording. This means this script is really only viable with a hotkey or external tool such as a Stream Deck where you can stop recording with a game remaining foreground.
A potential fix may be to continually track the foreground window for the duration of the recording, logging this somewhere. We can keep this within the existing timing loop which defaults to checking every 15s. Upon stopping the recording, we have a couple of potential options:
This will likely be lowers priority.
Considering giving the user a number of different options at this point of 'Rename mode':
Because these are a ton of options, I would ultimately like to add an opt-in reporting mechanism to automatically report back to me JUST the mode people have used during an active recording session so I can get a good idea what's preferable and maybe drop off unused modes.
Discussion welcome. This may all change up as I deliberate on it some more.
New QoL feature I'd like to have implemented:
Currently when the OBS window is active/tracked it just refers to it as 'Manual Recording'. I'd like to see if we can have the script dive deeper and check for the active scene and/or active game capture or video capture and use that in the filename, ie: 'OBS - Console Capture scene'.
[RecordingRenamer.py] Traceback (most recent call last):
[RecordingRenamer.py] File "F:\Steam/steamapps/common/OBS Studio/data/obs-plugins/frontend-tools/scripts/OBS-Recording-Renamer\RecordingRenamer.py", line 57, in on_event
[RecordingRenamer.py] newfile = root_ext[0] + " - " + title + root_ext[1]
[RecordingRenamer.py] ^^^^^
[RecordingRenamer.py] UnboundLocalError: cannot access local variable 'title' where it is not associated with a value
[RecordingRenamer.py] Traceback (most recent call last):
[RecordingRenamer.py] File "F:\Steam/steamapps/common/OBS Studio/data/obs-plugins/frontend-tools/scripts/OBS-Recording-Renamer\RecordingRenamer.py", line 111, in on_event
[RecordingRenamer.py] newfile = root_ext[0] + " - " + title + root_ext[1]
[RecordingRenamer.py] ^^^^^
[RecordingRenamer.py] UnboundLocalError: cannot access local variable 'title' where it is not associated with a value
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.