Git Product home page Git Product logo

obs_scene_tree_view's Introduction

Scene Tree Folder plugin for OBS Studio

Plugin for OBS that adds a scene tree folder dock

Screenshot

Build

Linux

  • Ensure that obs-studio and qt5-base are installed
    • Arch Linux: sudo pacman -S obs-studio qt5-base
  • Download repository
  • Execute inside the repository directory:
    mkdir build
    cd build
    cmake ..
    make
    sudo make install

Windows

  • Setup OBS Studio build environment (see https://obsproject.com/wiki/Install-Instructions)
  • Download this repository into UI/frontend-plugins/obs_scene_tree_view
  • Add the following to UI/frontend-plugins/CMakeLists.txt:
    set(BUILD_IN_OBS ON)
    add_subdirectory(obs_scene_tree_view)
  • Build and install OBS Studio

Installation

Linux

Arch Linux

Available via the obs-scene-tree-view-git AUR package:

pikaur -S obs-scene-tree-view-git

Windows

Visit Releases and follow the installation instructions for the newest version.

Todos

  • Undo/Redo scene rename does not update SceneTree
  • Add Fullscreen Viewport Projector option to scene context menu

obs_scene_tree_view's People

Contributors

digitotter avatar msmafra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

obs_scene_tree_view's Issues

Scene Tree View dock always visible when OBS starts

I have multiple users that use OBS on a computer and only one of them uses the plugin; the others just have a really small scene list, so it doesn't make sense to use it. Everything is fine for the user that uses the plugin, but for the others, even if we close OBS with the dock not enabled(unchecked from the Dock menu and not visible), the next time that OBS starts, the dock is open, just floating.

Looking at a few other plugins, it looks like they use setVisible(false) or hide() functions (inherited from QWidget) when instantiating the dock, but I don't see that anywhere in your code.

[Suggestion] Remember which folders you have expanded

Hello. First of all thanks for this amazing plugin. Been looking for something like this for a while so it's awesome to see it finally here

I've noticed that if you expand multiple folders in SceneTree and then proceed to restart OBS, those expanded folders will now all be closed with only the active scene folder being expanded. Would it be possible to make SceneTree remember which folders are expanded at all times for organizing's sake?

Thank you

SceneTree should follow selected Theme

SceneTree does not fully follow active Theme.
It does follow colours but spacing among lit items is not as in other list graphical elements. It is more compressed.

"SceneTreeView.Title"

There's an issue with the dock's title where it says "SceneTreeView.Title" instead of "SceneTree" like in the screenshots on the obs project forum. It's a minor thing, but it doesn't seem intentional.

Here's a screenshot:
image

[Suggestion] Sort button

Would be great to have a button to sort the tree view. I'd like to have folders first then all the scenes in alphabetical order.

[ Suggestion ] Add custom color highlights to scenes and folders

Much like the Source View/Window in OBS, it would be nice to have that ability extended into the Scene Tree View, for both folders and scenes. Folder sorting has been really helpful for me, though sometimes a little highlight on specific scenes would be nice.

The Scene Folders Get Reset.

switch to a different scene collection and then go back, it will reset the whole structure.

Saw a user post this on the OBS website and wasn't sure if you check those comments out.

Tree sorting lost if duplicating a collection

I've duplicated a collection of scenes in wich I had use your plugin to sort all the scenes.
In the new duplicated collection, the tree of folder became "flat" and sorted alphabetically.

Open/close folders by single-click on them

Actually, folders necessitate to click on the little arrow on the left to be opened.

It would be way more comfortable to browser our tree by single-clicking on the name of the folders themselves.

OBS 28 Version

Hey mate,

OBS 28 just dropped, any plans on updating it for obs 28 as well?
Love this plugin and would be a shame to lose it ๐Ÿ˜€

Possibility to create a tab with a folder

Let's say we have three folder (in-between the [ ] ) :

[Start of the stream]

  • Scene 1
  • Scene 2
    [Content]
  • Scene 1
  • Scene 2
  • Scene 3
    [End of the stream]
  • Scene 1

As the number of the scenes dramatically increase, it end to be difficult to browse the tree.
So, it would be a nice improvement to be able to split the tree in different tabs, like :

TAB1: Start of the Stream
TAB2 : Content
TAB3 : End

We would do that by just right-clicking on a folder (here, the ones with the [ ]), and select "Create a tab from this folder".

Comments about the actual plugin and way to implement the suggestion

Actually, the plugin opens itself in a different window. We can dock it in OBS, and it creates a tab.
So, maybe the idea would be to create a new window from your plugin when using the contextual menu "Create a tab...", and let the user to dock it ?

obs crashes on windows.

I went to the obs discord and I uploaded a file to it, and they said scene tree is the reason why its happening. I am uploading it now to to you guys to check out before deleting it and retrying it. I do not want to mess with the orginization because it took forever to do.
Crash 2022-09-20 09-08-12.txt

Missing Scenes and Crashing OBS

So major issue with randomly juggling folders over each other. This can cause:

  • Missing Scenes
  • Folders being renamed
  • New Folders being added
  • Duplicate Folders and Scenes (?)

Removing a scene in the original dock that is missing in the SceneTree dock will cause OBS to crash. After the Crash, Folders labeled "Folder 0" are listed. Sometimes an empty folder can't be removed unless you do another restart.

(?) My first time using SceneTree, I cloned a folder with 2 scenes 3 times (having 6 cloned scenes and 3 folders). Removing any of the cloned scenes deleted the original scene, so I ended up needing to redo 2 scenes. The other clones will still be there but won't work, but were removable. This is what made me start testing and finding the missing scene and changing folders bugs, but I'm not sure how I cloned the folders the first time even after several testings.

Below is a video of the Scene going missing, a folder being renamed and added, and OBS crashing.
https://youtu.be/Bv4-LECA1L4

image
image
^ps. In the above screenshots, I didn't make any folders with the same name or make "test3" folder.
In the second image all the scenes are gone in the SceneTree Dock. Selecting the missing scenes in the normal Dock will crash OBS. After the crash, the missing scenes will re-appear in both docks.

Not Working

After installing the "obs_scene_tree_view.dll" - file twice, watching two different video's on installing it doesn't work.
When starting OBS Studio after the installation of this plugin nothing happens, no new screen or popup, nothing happens......

Folder structure is lost after OBS chrashes

I have lost my scene folder structure when obs chrashed today..i've imported scene colection but there is no more folders..scenes are listed one by one..can i add scentree structure to scene colection, in json file..
so anytime i want to reload scene colection there shuld be scenetree structure

Scene Renamed in SceneTree isn't also renamed in the built-in Scenes Dock

For some reason, when I rename a Scene in SceneTree, the updated name doesn't update in the built-in Scenes list (the other way around works fine, renaming in built-in Scenes Dock updates the Scene name in SceneTree):

image
(Scene "IS: Droidcam 3" is renamed to "IS: Droidcam 2" in SceneTree, built-in Scenes Dock wasn't updated)

OBS 29 & log

im using OBS 29, the plugin itself is working, but when i checked the log, it shows [SceneTreeView] loaded version 0.0.2 when im using the latest version (v0.1.4)
also, i dont know if this plugin is crashing OBS when i close OBS or another plugin, so i cant blame it here. nice work btw!

Qt5-base installed, but qt6 asked

I try to compil this plugin on fedora 37 and i got this error :

Make Error at CMakeLists.txt:21 (find_package):
  By not providing "FindQt6.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt6", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt6" with any of
  the following names:

    Qt6Config.cmake
    qt6-config.cmake

  Add the installation prefix of "Qt6" to CMAKE_PREFIX_PATH or set "Qt6_DIR"
  to a directory containing one of the above files.  If "Qt6" provides a
  separate development package or SDK, be sure it has been installed.

I try to install Qt6-base but no change on compiling, what i have to install to make the compil work ?

[Suggestion] Add icons to the list

I don't know if this area will be used for suggestions, but here is one anyway ;)

Is it possible to maybe add an icon to the scene names?
Maybe use the icon that OBS already uses when you use scene nesting?

So it would look something like this:

Thanks for the awesome plugin ๐Ÿ˜„

Buttons are not aligned and do not hide using the global settings

Operating System Info

Windows 10

OBS Studio Version

28.0.1

Plugin Version

v0.1.4


Issue

The UI Buttons are not aligned correctly in the newest OBS Version compared to standard Scene / Source View (screenshots attached), and do not hide when the Scene/Source List Buttons Settings (under the menu View) is disabled.
Interacting is still possible using the Right Click Context Menu.

Current Shown Buttons

grafik

Expected Shown Buttons

grafik

Current Hidden Buttons

grafik

Excpected Hidden Buttons

grafik

Mac version

Hi there :) Would be possible to get a mac version of this plugin? ๐Ÿ˜Š

I can try to help with setting CI :)

On first load list of scenes is oddly sorted

After I installed plugin and made SceneTree visible it showed scenes but in odd partially sorted order.

For better user experience it should preserve existing order of the scenes and then allow user to alter it.

Click to switch scene registers twice

When clicking a scene (not the active one), the scene switches both on mouse button press and on mouse button release (hence twice for every click).
This is not visible when the transition is cut/fade/move but it is very visible with a stinger because the video restarts every time which is not desirable.

[Suggestion] Always highlight active scene

Basically as it says. In the normal scene dock in OBS you can always tell which scene is active (or which one you're viewing in Studio Mode, if a different one is active there), which is useful if you have a lot of similar scenes or just to reassure you that you're on the right scene.

It'd be really great to have this in the tree view as well, the only particularly missed feature for me (although the up/down sorting arrow buttons would be nice to have too). I have tons of scenes and sometimes get a bit lost. Thanks for your consideration!

Edit: I've actually realized this can be done with theming but that OBS themes don't normally theme QTreeView... Hmm...

No folder icon

Heya. Installed the update to this today, into OBS 28.0.3 and I'm not seeing any folder icon in my scene window.

I unzipped the package directly into the obs-studio folder, and I can see that everything is where it ought to be within their respective folders.

I downloaded obs studio and ran the installer again, just in case Id lost something, but no change.

I do have the stream elements live (SELive 22.9.8.69) installed too, would that be the cause?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.