obsproject / obsproject/obs-studio

Replay buffer filename formatting pattern adds extra whitespace

Open
#4,861 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
76.4k
Forks
10.2k
Avg merge
4d 23h
Merged PRs (30d)
12

Description

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

Git

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/LgSrA_HmUJpOMWfS

OBS Studio Crash Log URL

No response

Expected Behavior

Replay buffer should be saved as 2021_06_10_23-35-28_replay.mkv (current date and time, suffixed with _replay)

Current Behavior

Replay buffer was saved as 2021_06_10_23-35-28 _replay.mkv (extra unwanted whitespace before suffix)

Steps to Reproduce
  1. In Settings>Advanced, set filename formatting pattern to %CCYY.%MM.%DD/%CCYY_%MM_%DD_%hh-%mm-%ss
  2. Blank out the replay filename prefix and set suffix to _replay
  3. In Settings>Output, verify that "Generate file name without space" is unticked (off)
  4. Start replay buffer, save replay buffer
Anything else we should know?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the listed Windows 10 settings and the replay buffer workflow, then trace the replay buffer filename-generation entry point. Confirm the fix by saving a replay with a blank prefix and _replay suffix, ensuring the filename has no unwanted space before the suffix.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.