[request] "Duplicate source"
See original GitHub issueI’m transporting my code that used obs-websockets-py to an OBS script. Now, every request that I did with websockets, I have to do it with Python. This cheatsheet is very usefull for me! Now, I have to transport this simple code:
ws.call(requests.DuplicateSceneItem(item, fromScene=fromScene, toScene=toScene))
But I think it is not that simple to do it as script. Can you give me a hand? Also, it would be great if there was both options: “Reference” and “Duplicate” 😁.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Question / Help - Paste (duplicate) and paste (reference)
I'm new to OBS and I can see that sources can be copied and paste but what is the difference between paste duplicate...
Read more >How To Copy And Duplicate a Source on OBS Studio - YouTube
How To Copy And Duplicate a Source on OBS StudioSubscribe to How to Media to get more solutions to your problems!
Read more >Azure Migrate Duplicate Source - Microsoft Q&A
"This source is a duplicate of another source added previously either with the same or a different friendly name of credentials." There is...
Read more >How to duplicate a data source - Klipfolio Help Center
To duplicate a data source: Click Data Sources in the left navigation bar to open your list of data sources. If you don't...
Read more >How to fix "W: Duplicate sources.list entry"? - Ask Ubuntu
Open it and choose Edit -> Software Sources -> Other Software tab. Simply look for the duplicate entries and uncheck them. (This is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Added this to examples
I’ve used source from current scene which was not present in selected scene to “Duplicate source”. If there is no source with name from script properties UI present in
current_scene
it might crash on repetitive clicks.In OBS Studio code linked above it’s done doing this:
You might try using
duplicate
to get a referenceduplicate = obs.obs_sceneitem_get_source(scene_item)
And later change this line:scene_item2 = obs.obs_scene_add(scene, duplicate)