Adds a VLC playlist source
Adds or sets VLC playlist sources to OBS.
VLC must be installed for this to work.
EXAMPLE 1
Set-OBSVLCSource -FilePath .\*.mp3 # Creates a playlist of all MP3s in the current directory
The path to the media file.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[String[]] |
false | 1 | true (ByPropertyName) | Sources |
What to select in the playlist.
If a number is provided, this will select an index.
If a string is provided, this will select the whole name or last part of a name, accepting wildcards.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Object] |
false | 2 | true (ByPropertyName) | SelectIndex SelectName |
If set, the list of sources will loop.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Switch] |
false | named | true (ByPropertyName) | Looping |
If set, will switch between sources.
Sources will be displayed for a -Duration.
No source wil be displayed for an -Interval.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Switch] |
false | named | true (ByPropertyName) |
The interval between sources
Type | Required | Position | PipelineInput |
---|---|---|---|
[TimeSpan] |
false | 3 | true (ByPropertyName) |
The duration between sources that are switching at a time.
Type | Required | Position | PipelineInput |
---|---|---|---|
[TimeSpan] |
false | 4 | true (ByPropertyName) |
The item that will be switched in a TimeSwitch, after -Duration and -Interval. Valid Values:
Type | Required | Position | PipelineInput |
---|---|---|---|
[String] |
false | 5 | true (ByPropertyName) |
If set, will switch on the underlying source’s media state events.
Sources will be displayed for a -Duration.
No source wil be displayed for an -Interval.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Switch] |
false | named | true (ByPropertyName) |
The change in media state that should trigger a switch Valid Values:
Type | Required | Position | PipelineInput |
---|---|---|---|
[Object] |
false | 6 | true (ByPropertyName) |
When the source switcher is trigger by media end, this determines the next source that will be switched to. Valid Values:
Type | Required | Position | PipelineInput |
---|---|---|---|
[String] |
false | 7 | true (ByPropertyName) |
The name of the transition between sources.
Type | Required | Position | PipelineInput |
---|---|---|---|
[String] |
false | 8 | true (ByPropertyName) |
The properties sent to the transition.
Notice: this current requires confirmation in the UI.
Type | Required | Position | PipelineInput |
---|---|---|---|
[PSObject] |
false | 9 | true (ByPropertyName) |
The name of the transition used to show a source.
Type | Required | Position | PipelineInput |
---|---|---|---|
[String] |
false | 10 | true (ByPropertyName) |
The properties sent to the show transition.
Notice: this current requires confirmation in the UI.
Type | Required | Position | PipelineInput |
---|---|---|---|
[PSObject] |
false | 11 | true (ByPropertyName) |
The transition used to hide a source.
Type | Required | Position | PipelineInput |
---|---|---|---|
[String] |
false | 12 | true (ByPropertyName) |
The properties sent to the hide transition.
Notice: this current requires confirmation in the UI.
Type | Required | Position | PipelineInput |
---|---|---|---|
[PSObject] |
false | 13 | true (ByPropertyName) |
The name of the scene.
If no scene name is provided, the current program scene will be used.
Type | Required | Position | PipelineInput |
---|---|---|---|
[String] |
false | 14 | true (ByPropertyName) |
The name of the input.
If no name is provided, the last segment of the URI or file path will be the input name.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[String] |
false | 15 | true (ByPropertyName) | InputName SourceName |
If set, will check if the source exists in the scene before creating it and removing any existing sources found.
If not set, you will get an error if a source with the same name exists.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Switch] |
false | named | true (ByPropertyName) |
If set, will fit the input to the screen.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Switch] |
false | named | true (ByPropertyName) |
Set-OBSSwitchSource [[-SourceList] <String[]>] [[-Select] <Object>] [-Loop] [-TimeSwitch] [[-Interval] <TimeSpan>] [[-Duration] <TimeSpan>] [[-TimeSwitchTo] <String>] [-MediaStateSwitch] [[-MediaStateChange] <Object>] [[-MediaSwitchTo] <String>] [[-TransitionName] <String>] [[-TransitionProperty] <PSObject>] [[-ShowTransition] <String>] [[-ShowTransitionProperty] <PSObject>] [[-HideTransition] <String>] [[-HideTransitionProperty] <PSObject>] [[-Scene] <String>] [[-Name] <String>] [-Force] [-FitToScreen] [<CommonParameters>]