Filter out obs correctly
This commit is contained in:
parent
89ac7e6a68
commit
2a2ab0f57f
2 changed files with 4 additions and 35 deletions
34
out.star
34
out.star
File diff suppressed because one or more lines are too long
|
|
@ -117,7 +117,9 @@ def main():
|
||||||
)
|
)
|
||||||
|
|
||||||
huddle_windows = list(filter(lambda x: "huddle" in x.lower(), windows))
|
huddle_windows = list(filter(lambda x: "huddle" in x.lower(), windows))
|
||||||
obs_windows = list(filter(lambda x: "obs" in x.lower(), windows))
|
obs_windows = list(
|
||||||
|
filter(lambda x: "obs" in x.lower() and "64" in x.lower(), windows)
|
||||||
|
)
|
||||||
|
|
||||||
if "Zoom Meeting" in windows:
|
if "Zoom Meeting" in windows:
|
||||||
if rendering != RenderType.ZOOM:
|
if rendering != RenderType.ZOOM:
|
||||||
|
|
@ -134,6 +136,7 @@ def main():
|
||||||
)
|
)
|
||||||
rendering = RenderType.HUDDLE
|
rendering = RenderType.HUDDLE
|
||||||
elif obs_windows:
|
elif obs_windows:
|
||||||
|
print("e")
|
||||||
with open(
|
with open(
|
||||||
rel_to_abspath("../status"), "r", encoding="utf-8"
|
rel_to_abspath("../status"), "r", encoding="utf-8"
|
||||||
) as file_handle:
|
) as file_handle:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue