{"id":25738358,"url":"https://github.com/blackstareye/obs-plugin-reset-and-set-source-values","last_synced_at":"2026-04-20T06:03:01.393Z","repository":{"id":246290983,"uuid":"820656414","full_name":"Blackstareye/obs-plugin-reset-and-set-source-values","owner":"Blackstareye","description":"This OBS-Script can reset and overwrite values of a source.","archived":false,"fork":false,"pushed_at":"2024-06-26T23:35:09.000Z","size":170,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T07:34:30.961Z","etag":null,"topics":["obs","obs-python","obs-script","obs-scripts","obs-studio","obs-studio-script","script","streaming"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Blackstareye.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-26T23:13:33.000Z","updated_at":"2025-01-05T13:51:57.000Z","dependencies_parsed_at":"2024-06-27T02:55:29.651Z","dependency_job_id":null,"html_url":"https://github.com/Blackstareye/obs-plugin-reset-and-set-source-values","commit_stats":null,"previous_names":["blackstareye/obs-plugin-reset-and-set-source-values"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Blackstareye/obs-plugin-reset-and-set-source-values","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blackstareye%2Fobs-plugin-reset-and-set-source-values","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blackstareye%2Fobs-plugin-reset-and-set-source-values/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blackstareye%2Fobs-plugin-reset-and-set-source-values/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blackstareye%2Fobs-plugin-reset-and-set-source-values/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Blackstareye","download_url":"https://codeload.github.com/Blackstareye/obs-plugin-reset-and-set-source-values/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blackstareye%2Fobs-plugin-reset-and-set-source-values/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32035276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["obs","obs-python","obs-script","obs-scripts","obs-studio","obs-studio-script","script","streaming"],"created_at":"2025-02-26T07:30:08.025Z","updated_at":"2026-04-20T06:03:01.374Z","avatar_url":"https://github.com/Blackstareye.png","language":"Python","funding_links":["https://ko-fi.com/black_eye"],"categories":[],"sub_categories":[],"readme":"# Reset and overwrite source setting values\n\n![Screenshot](screenshot.png)\n\nThis OBS-Script can reset and overwrite values of a source.\n\n**But I can edit the values in the source setting and save them? Why Do I need a script for that?**\n\nThats right, but sometimes there are cases, where you need to reset the values and then set `your values`. Hence, OBS don't let you change default settings, you need to this on your own.\nThis can be (or at least it was for me) really cumbersome.\n\nThus I coded this script, which can do this for me.\n\n**The Video freezes after pressing the reset button help?**\n\nNo worries, you just have to click on the resource and open it and save it.\nUnfortunately I don't know (yet) how to restart the source so that this will not happen.\n\n## Getting started\n\n1. clone or download the repo or python file\n2. Go to Tools-\u003eScripts\n3. load script into obs via file selector\n4. press the load script button\n5. Press `Print source settings` to see the source values\n   1. `NOTE: you need to open the script log to see the values`\n6. write your JSON file which holds the value that needs to be updated / set using the printed values\n7. select file that contains the values that will be used for the update\n   1. `NOTE: the values will be added to the source without checking if they are valid`\n8. press `Reset source settings and update values`\n9. additional: add a hotkey to the reset function\n\n## Features\n\n- reset the source\n- update values, defined in json\n- hotkey for reset function\n\n## Customize Behaviour using Flags\n\nwithin the script there can be flags set like that:\n\n| FLAG      | VALUES  | DEFAULT |  DESCRIPTION |\n| ------------- | ------------- | ------------- | ----------- |\n| FILTERCLASS | obs.SOURCE_VIDEO,obs.SOURCE_AUDIO or  [see obs output flags](https://docs.obsproject.com/reference-sources#c.obs_source_info.output_flags) | obs.SOURCE_VIDEO | Filters the source name list (drop down list) for only audio or audio etc. |\n| RESET | True,False | True | Determines if a reset should be done before updating the source settings|\n\n### Additional Flags (more for development)\n\n| FLAG      | VALUES  | DEFAULT |  DESCRIPTION |\n| ------------- | ------------- | ------------- | ----------- |\n| DEBUG | True,False  | False | Shows debug logs for debugging |\n| USE_OBS_LOGS | True,False  | False | uses obs `blog` method for logging |\n\ncreated by Blackeye / Blackstareye\n\n## License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n\n## Acknowledgements\n\nThank you for this resources:\n\n- Awesome Cheatsheet: \u003chttps://github.com/upgradeQ/OBS-Studio-Python-Scripting-Cheatsheet-obspython-Examples-of-API/tree/master\u003e\n- Getting Startet: \u003chttps://obsproject.com/wiki/Getting-Started-With-OBS-Scripting\u003e\n\n## Support\n\nIf you like my work and want to support me and my work, then this is the way:\n\n- [kofi](https://ko-fi.com/black_eye)\n\nMany Thanks ♥\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackstareye%2Fobs-plugin-reset-and-set-source-values","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackstareye%2Fobs-plugin-reset-and-set-source-values","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackstareye%2Fobs-plugin-reset-and-set-source-values/lists"}