Skip to content

Commit

Permalink
Merge pull request #15 from robinmalik/development
Browse files Browse the repository at this point in the history
Release 1.0.16
  • Loading branch information
robinmalik authored Apr 11, 2024
2 parents 7eb9cf9 + e2f7c4a commit 0fcb862
Show file tree
Hide file tree
Showing 37 changed files with 1,128 additions and 47 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [1.0.16] - 2024-04-11

* *[New] `New-PlexSmartCollection` for creating new smart collections in Plex libraries (thanks to [solid03](https://github.com/solid03)).

## [1.0.15] - 2024-03-22

*[New] `Remove-PlexCollection` for removing collections from Plex libraries (thanks to [solid03](https://github.com/solid03)).
Expand Down
18 changes: 17 additions & 1 deletion Documentation/Add-PlexItemToPlaylist.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ Copies a single item to a playlist.
## SYNTAX

```
Add-PlexItemToPlaylist [-PlaylistId] <String> [-ItemId] <String[]> [-WhatIf] [-Confirm] [<CommonParameters>]
Add-PlexItemToPlaylist [-PlaylistId] <String> [-ItemId] <String[]> [-ProgressAction <ActionPreference>]
[-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -91,6 +92,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
Expand Down
18 changes: 17 additions & 1 deletion Documentation/Add-PlexLabel.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ Adds a label to a Plex item (movie, show, or album).
## SYNTAX

```
Add-PlexLabel [-Id] <String> [-Label] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
Add-PlexLabel [-Id] <String> [-Label] <String> [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm]
[<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -91,6 +92,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
Expand Down
19 changes: 17 additions & 2 deletions Documentation/Copy-PlexPlaylist.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ To overwrite, use the -Force switch.
## SYNTAX

```
Copy-PlexPlaylist [-Id] <String> [[-NewPlaylistName] <String>] [-Username] <String> [-Force] [-WhatIf]
[-Confirm] [<CommonParameters>]
Copy-PlexPlaylist [-Id] <String> [[-NewPlaylistName] <String>] [-Username] <String> [-Force]
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -125,6 +125,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
Expand Down
17 changes: 16 additions & 1 deletion Documentation/Find-PlexItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This function uses the search ability of Plex find items on your Plex server.

```
Find-PlexItem [-ItemName] <String> [[-ItemType] <String>] [[-LibraryTitle] <String>] [[-Year] <Int32>]
[-ExactNameMatch] [-WhatIf] [-Confirm] [<CommonParameters>]
[-ExactNameMatch] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -150,6 +150,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
Expand Down
26 changes: 24 additions & 2 deletions Documentation/Get-PlexCollection.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ Gets collections.

### CollectionId
```
Get-PlexCollection -Id <PSObject> [-IncludeItems] [<CommonParameters>]
Get-PlexCollection -Id <PSObject> [-IncludeItems] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### LibraryId
```
Get-PlexCollection -LibraryId <PSObject> [-IncludeItems] [<CommonParameters>]
Get-PlexCollection -LibraryId <PSObject> [-IncludeItems] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
```

## DESCRIPTION
Expand All @@ -37,6 +38,12 @@ Get-PlexCollection -LibraryId 1
Get-PlexCollection -Id 723 -IncludeItems
```

### EXAMPLE 3
```
# Get all collections from library 1 with the name, id (ratingkey) and number of items in the collection:
Get-PlexCollection -LibraryId 1 | Select-Object title,ratingkey,childcount
```

## PARAMETERS

### -Id
Expand Down Expand Up @@ -84,6 +91,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
Expand Down
19 changes: 17 additions & 2 deletions Documentation/Get-PlexItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ Get a specific item.

### Id
```
Get-PlexItem -Id <String> [-IncludeTracks] [<CommonParameters>]
Get-PlexItem -Id <String> [-IncludeTracks] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### Library
```
Get-PlexItem -LibraryTitle <String> [<CommonParameters>]
Get-PlexItem -LibraryTitle <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -90,6 +90,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
Expand Down
21 changes: 18 additions & 3 deletions Documentation/Get-PlexLibrary.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ By default, returns a list of libraries on a Plex server.

### All (Default)
```
Get-PlexLibrary [<CommonParameters>]
Get-PlexLibrary [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### Id
```
Get-PlexLibrary [-Id <String>] [<CommonParameters>]
Get-PlexLibrary [-Id <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### Name
```
Get-PlexLibrary [-Name <String>] [<CommonParameters>]
Get-PlexLibrary [-Name <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -70,6 +70,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
Expand Down
26 changes: 21 additions & 5 deletions Documentation/Get-PlexPlaylist.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,20 @@ Gets playlists.

### All (Default)
```
Get-PlexPlaylist [-IncludeItems] [-AlternativeToken <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
Get-PlexPlaylist [-IncludeItems] [-AlternativeToken <String>] [-ProgressAction <ActionPreference>] [-WhatIf]
[-Confirm] [<CommonParameters>]
```

### Id
```
Get-PlexPlaylist [-Id <String>] [-IncludeItems] [-AlternativeToken <String>] [-WhatIf] [-Confirm]
[<CommonParameters>]
Get-PlexPlaylist [-Id <String>] [-IncludeItems] [-AlternativeToken <String>]
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

### Name
```
Get-PlexPlaylist [-Name <String>] [-IncludeItems] [-AlternativeToken <String>] [-WhatIf] [-Confirm]
[<CommonParameters>]
Get-PlexPlaylist [-Name <String>] [-IncludeItems] [-AlternativeToken <String>]
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -140,6 +141,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
Expand Down
19 changes: 16 additions & 3 deletions Documentation/Get-PlexServer.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Returns a list of online Plex Servers that you have access to (remote access mus
## SYNTAX

```
Get-PlexServer [[-Name] <String>] [<CommonParameters>]
Get-PlexServer [[-Name] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -43,14 +43,28 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
## OUTPUTS
### ```
### accessToken : abcd123456ABCDEFG
### name : thor
### address : 87.50.66.123
Expand Down Expand Up @@ -80,7 +94,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
### sourceTitle : username_of_friend
### ownerId : 6728195
### home : 0
### ```
## NOTES
## RELATED LINKS
17 changes: 16 additions & 1 deletion Documentation/Get-PlexSession.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Gets a list of sessions (streams) on the Plex server.
## SYNTAX

```
Get-PlexSession [-WhatIf] [-Confirm] [<CommonParameters>]
Get-PlexSession [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -59,6 +59,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
Expand Down
Loading

0 comments on commit 0fcb862

Please sign in to comment.