From 44bb7e690bdf45e6018f560f4d17731019310384 Mon Sep 17 00:00:00 2001 From: Clayton Groeneveld Date: Fri, 21 Feb 2020 22:46:37 -0600 Subject: [PATCH] obs-scripting: Update text source IDs --- UI/frontend-plugins/frontend-tools/data/scripts/countdown.lua | 2 +- UI/frontend-plugins/frontend-tools/data/scripts/url-text.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/frontend-plugins/frontend-tools/data/scripts/countdown.lua b/UI/frontend-plugins/frontend-tools/data/scripts/countdown.lua index 862b53f25..07b97cd69 100644 --- a/UI/frontend-plugins/frontend-tools/data/scripts/countdown.lua +++ b/UI/frontend-plugins/frontend-tools/data/scripts/countdown.lua @@ -112,7 +112,7 @@ function script_properties() if sources ~= nil then for _, source in ipairs(sources) do source_id = obs.obs_source_get_id(source) - if source_id == "text_gdiplus" or source_id == "text_ft2_source" then + if source_id == "text_gdiplus" or source_id == "text_ft2_source" or source_id == "text_gdiplus_v2" or source_id == "text_ft2_source_v2" then local name = obs.obs_source_get_name(source) obs.obs_property_list_add_string(p, name, name) end diff --git a/UI/frontend-plugins/frontend-tools/data/scripts/url-text.py b/UI/frontend-plugins/frontend-tools/data/scripts/url-text.py index 256bcb0e5..819de010b 100644 --- a/UI/frontend-plugins/frontend-tools/data/scripts/url-text.py +++ b/UI/frontend-plugins/frontend-tools/data/scripts/url-text.py @@ -67,7 +67,7 @@ def script_properties(): if sources is not None: for source in sources: source_id = obs.obs_source_get_id(source) - if source_id == "text_gdiplus" or source_id == "text_ft2_source": + if source_id == "text_gdiplus" or source_id == "text_ft2_source" or source_id == "text_gdiplus_v2" or source_id == "text_ft2_source_v2": name = obs.obs_source_get_name(source) obs.obs_property_list_add_string(p, name, name)