We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 31895d0 + 512bf9a commit 506986bCopy full SHA for 506986b
scripts/obs_tally_light.py
@@ -2,6 +2,7 @@
2
from queue import SimpleQueue
3
import obspython as obs
4
import json
5
+import re
6
import urllib.request
7
import urllib.error
8
@@ -121,7 +122,7 @@ def list_video_source_names():
121
122
if sources is not None:
123
for source in sources:
124
source_id = obs.obs_source_get_id(source)
- if source_id in ['av_capture_input', 'droidcam_obs']:
125
+ if re.search("^av_capture.*|^droidcam.*", source_id):
126
source_name = obs.obs_source_get_name(source)
127
video_source_names.append(source_name)
128
0 commit comments