Repository navigation
Conversation
splitshotz
left a comment
There was a problem hiding this comment.
This depends on #303, so it waits for that one. Two things to fix here in the meantime:
-
A process name longer than 15 characters never matches. The list is compared with
/proc/<pid>/comm, which Linux cuts to 15 characters. I tried it with a real process:wallpaperengine64in the list did not stop the session,wallpaperenginedid. Nobody will guess that from "(Linux may truncate them)". Please compare the first 15 characters on both sides. It's the same trap as #262. Matching the window class orsteam_app_<id>as well would help, since Steam software is the stated use. -
The API accepts things it shouldn't. Sending a string instead of a list answers
ok: trueand wipes the list. Non-strings are stored as theirstr()({'a': 1}ended up in my config), and there's no limit on length or count. Please answer 400 to anything that isn't a list of strings, and cap both.
Smaller: the help text is three lines and reads like a spec, the box shows while auto-start is off, and the three new rows are now the first thing in the Recording card, above Buffer duration. I'd put them at the bottom of that card and only show the list when auto-start is on.
To your question: I'd keep exclusions to automatic sessions for now.
Depends on #303.
Exclusion-only changes: compare with #303’s branch.
Summary
Adds Exclude processes from automatic sessions under Settings → Recording, with one process name per line. This lets users keep Steam software or other unwanted processes from triggering the automatic recording introduced in #303.
Names match exactly, ignoring case. The list defaults to empty, so existing behavior stays the same until entries are added. Saving changes does not restart capture. Manual recording, active sessions, game tagging, playlists, and Discord presence are unchanged.
This is limited to automatic starts for now. Input on whether app exclusions should eventually be shared with other game-detection features?
Testing
main.portholewas excluded, while non-excluded Project Zomboid still started automatically. The original exclusion list was restored afterward.