Skip to content

fix(effects): Play Sound/Video File Handling (#2879)#3076

Merged
ebiggz merged 1 commit intocrowbartools:v5from
phroggster:fix/2879
Apr 2, 2025
Merged

fix(effects): Play Sound/Video File Handling (#2879)#3076
ebiggz merged 1 commit intocrowbartools:v5from
phroggster:fix/2879

Conversation

@phroggster
Copy link
Collaborator

@phroggster phroggster commented Apr 2, 2025

Description of the Change

  • Octothorpe ('#') and URL-encoded characters in local media file names would break media previews and non-overlay playback.
  • Switch to encoding those characters for the effect previews, and for non-overlay output.
  • Cull some ancient (5+ year) non-existent placeholder video effect template logic.
  • Cull similar in play sound, and return early when no files are available for playback in random from folder mode.

Applicable Issues

#2879

Testing

Tested every conceivable variation of both effects with file names including octothorpe characters, as well as percent characters, and various URL-encoded symbols (e.g. %23, %25, %%%, %20, etc).

Screenshots

Before:
video-before
audio-before

After:
video-after
audio-after

Excerpted test cases (both for random from folder and per-file, each with output to default, device, or overlay):
various video files
various sound files tested

- Octothorpe ('#') and URL-encoded characters in local media file names
  would break media previews and non-overlay playback.
- Switch to encoding those characters for the effect previews, and for
  non-overlay output.
- Cull some ancient (5+ year) non-existent video placeholder frontend
  logic.
@phroggster phroggster requested a review from ebiggz as a code owner April 2, 2025 15:10
@ebiggz ebiggz merged commit 9d62396 into crowbartools:v5 Apr 2, 2025
2 checks passed
@phroggster phroggster deleted the fix/2879 branch April 2, 2025 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants