This reverts commit fb3188a7cd94a4577238aae1692f91f847949090.
This was a change that was added to fix support for certain intel
devices, but ultimately I feel like it's just not needed and is trying
to fix something that isn't broken.
For a path "D:/foo/bar-$Y/$M/$T.flv" this will return at least "D:/foo"
(and create "D:/foo" if the directory doesn't exist) or at most
"D:/foo/bar-$Y/$M" with $Y and $M expanded, if those directories exist
3rd party service.xconfigs are located in %AppDataPath%/services
(e.g. %APPDATA%/OBS/services in non-portable mode) and have the same
format as a single service definition in services.xconfig without the id
field, e.g.:
"My Service" : {
servers : {
Primary : "rtmp://live.example.org/live"
Secondary : "rtmp://live.example.com/live"
}
recommended : {
"max bitrate" : 1337
}
}
I have added a "Copy To" menu item to the scenes right click context menu below "Copy".
When hovered over it will open a sub-menu where the user can then select the scene collection file the user wants to copy the selected scene to.
If there is a reference to a global source it will open a dialog asking the user if he/she wants to also copy the global sources the references point to.If the user clicks "No" the references are removed from the copied scene.If the global sources already exists in the target scene collection a dialog will open letting the user know but the scene is still copied.
A dialog will open telling the user the export was successful or the scene already exists in the selected scene collection.
I believe this is useful for users that want to copy or move scenes to a different scene collection.
The "Import" button opens a "Open" dialog where a user can open a scene collection file then it lists all Global Sources from the selected scene collection in a dialog.
You can Import multiple global sources by holding shift or Ctrl and clicking on the Global sources you want to import.
With this change scene collections have their own Global Sources but users can import Global Sources from other scene collections.
If you make any changes to a Global sources properties and want the change in another scene collection you will need to remove the global source in the other scene collection and then import it again.
You can't import Global Sources if there is already a Global Source with the same name.
Hopefully this makes it simple and fast for users to import their commonly used Global sources like for
example followers alerts.
This moves all hotkeys that were accessible in the audio/publish
settings panes to a new hotkeys settings pane
Also makes the push to talk hotkeys behave like all other (settings)
hotkeys, i.e. as long as a hotkey is configured the hotkey is active
This hopefully resolves some conflicting opinions about how scene
collections should be handled, and removes it from the general settings
panel, where it felt a bit cluttered.
Actually, I would kind of like it if profiles were handled this way too.
This feels a lot cleaner than how profiles are handled in the general
settings. The profiles thing in the general settings definitely feels
clunky.
In the main menu, the scene collections menu now has the following menu
items:
- New
- Duplicate
- Rename
- Remove
- Import
- Export
Duplicate was something I personally added - I felt like it might be a
nice thing to have for the sake of convenience. Import/Export was
requested by dodgepong, and is also definitely nice to have. Due to how
easy new scene collections are to set up it didn't take very long to put
in.
This changes the semantics of SaveToFile from "disable all file output
when disabled" to "automatically save stream to file when enabled",
which allows the "Start Recording" button to be enabled even when
SaveToFile is disabled.
Having the "Start Recording" button enabled now depends on having a
non-empty SavePath
Now able to Switch between different Scene collections.
All Scene ".Xconfig" files now stored in the "sceneCollection" folder.
Changed "GetApplicationName()" added "Profile: SceneCollection: " to the beginning of the app name.
Added "Scene Collection" Combo Box in Settings General
Can add/rename/remove new scenes collections in settings general.
Can add/rename/remove new scene collections while streaming.
Can change scenes Collections while streaming.
I can't help but wonder if this is causing some issues with frame
duplication, I suddenly realized the code wasn't particularly thread
safe so I threw this in as a precaution.
The log file menu will now only contain log files that have at least logged
the system stats since too many people uploaded useless logs, unfortunately
Displaying both the defaults and the optimize button requires (currently
unnecessary) tweaking of the settings dialog, so they are mutually exclusive for
now
It was possible to bind an unlimited number of push to talk hotkeys via the first
push to talk hotkey edit box, and it was impossible to unbind those hotkeys
without restarting OBS
This should allow plugins to implement their own version of a log window
without having to worry about providing lightweight-ish and non-blocking
callback functions for OBSApi.