-
-
Notifications
You must be signed in to change notification settings - Fork 3
Set Media
Sets media metadata
Sets media metadata, using ffmpeg
Set-Media -InputPath $home\Music\ASong.mp3 -Property @{
Title = "A Song"
Artist = "An Artist"
Lyrics = "Some lyrics"
}Set-Media -InputPath $home\Music\ASong.mp3 -AlbumArt $home\Music\Cover.jpgThe Input Path
| Type | Requried | Postion | PipelineInput |
|---|---|---|---|
[String[]] |
true | 1 | true (ByPropertyName) |
A dictionary of properties to update
| Type | Requried | Postion | PipelineInput |
|---|---|---|---|
[PSObject[]] |
false | 2 | true (ByValue) |
A collection of properties to clear
| Type | Requried | Postion | PipelineInput |
|---|---|---|---|
[String[]] |
false | 3 | false |
The path to FFMpeg.exe. Download it from http://ffmpeg.org/
| Type | Requried | Postion | PipelineInput |
|---|---|---|---|
[String] |
false | 4 | true (ByPropertyName) |
-WhatIf is an automatic variable that is created when a command has [CmdletBinding(SupportsShouldProcess)].
-WhatIf is used to see what would happen, or return operations without executing them
-Confirm is an automatic variable that is created when a command has [CmdletBinding(SupportsShouldProcess)].
-Confirm is used to -Confirm each operation.
If you pass -Confirm:$false you will not be prompted.
If the command sets a [ConfirmImpact("Medium")] which is lower than $confirmImpactPreference, you will not be prompted unless -Confirm is passed.
System.Nullable
Set-Media [-InputPath] <String[]> [[-Property] <PSObject[]>] [[-ClearProperty] <String[]>] [[-FFMpegPath] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]