- 🐛 [Fixed] Attempt to cater to servers that do not have remote access enabled (i.e. private/local LAN). Users will need to run Set-PlexConfiguration again and reopen PowerShell.
- ✨ [New]
New-PlexSmartCollection
for creating new smart collections in Plex libraries (thanks to solid03).
- ✨ [New]
Remove-PlexCollection
for removing collections from Plex libraries (thanks to solid03).
- ✨ [New]
Set-PlexDefaultServer
for setting the default server to use for all future calls.- Context:
Set-PlexConfiguration
is called, a default is set as part of this. This function allows you to change it.
- Context:
- ✨ [New]
Get-PlexPlaylist
andGet-PlexLibrary
now support-Name
. The Plex API doesn't support this natively, so it's client side filtered. - ✨ [New]
Get-PlexWatchHistory
for returning the watch history for either yourself or another user (with-Username
).
- 🔨 [Changed] BREAKING CHANGES: Removed
Get-PlexAuthenticationToken
andSave-PlexConfiguration
. We now have a single function:Set-PlexConfiguration
. - 🔨 [Changed] BREAKING CHANGES: Reworked credential file structure, including removal of token encryption for Windows.
- ✨ [New]
Set-PlexItemEdition
for setting the 'edition' of movie items.
- ✨ [New]
New-PlexPlaylist
for creating new (video) playlists. - 🐛 [Fixed] Ensure
Get-PlexPlaylist -IncludeItems
doesn't throw an error for 'Smart' playlists. - 🔨 [Changed]
Add-PlexItemToPlaylist
handles adding multiple plex items.
- 🐛 [Fixed] Finished fixing (relevant) PSScriptAnalyzer issues.
- 🔨 [Changed] Finished migration of functions to internal Uri constructor.
- 🐛 [Fixed] Fixed some PSScriptAnalyzer issues (to complete later).
- 🔨 [Changed] MAJOR: Most functions now construct the URi for calls using a private function.
- ✨ [New]
Get-PlexItem
can now get album track data. Example:Get-PlexItem -Id 123 -IncludeTracks
- ✨ [New]
Set-PlexItemRating
for rating items from 1-5. Whilst the Plex API will accept 0, the UI won't display that accurately so I've prevented it. - 📚 [Added] Completed syntax blocks for all functions.
- 🎨 [Added] Added region blocking to improve readability of code.
- 🐛 [Fixed]
Get-PlexSession
now handles returned JSON with duplicate keys. The handling of this should become a function in later releases.
- 📚 [Added] Updated documentation to be more consistent. Added syntax blocks for the last two released functions.
- ✨ [New]
Add-PlexLabel
andRemove-PlexLabel
, for adding labels to Plex items (i.e. to control sharing restrictions and provide additional filtering abilities). Testing on albums, shows and movies. - 🐛 [Fixed]
Get-PlexItem
now handles both valid JSON returned from the Plex API for this endpoint. It had previously assumed all JSON was faulty.
- 🐛 [Fixed] Use
""
not$Null
for previous "fix".
- 🐛 [Fixed] Make
Get-PlexUser
populate user tokens for home users.
- 🔨 [Changed] Make
Save-PlexConfiguration
import new config immediately after saving it to disk.
- 🔨 [Changed] MAJOR: Updated queries to request JSON from Plex servers rather than XML.
- 🔨 [Changed] MAJOR:
Get-PlexItem
remapsguid
andrating
with_
prefixes due to the presence of additional uppercase Guid and Rating keys. - 🔨 [Changed] Reworked
Import-PlexConfiguration
to use script scoped variables, meaning it isn't called every time a cmdlet is required. - ✨ [New]
Set-PlexWebHook
lets you configure the URL to which your Plex server will send webhooks. - 🐛 [Fixed] Updated
Add-PlexItemToPlaylist
to use updated variable names for Plex config data.
- 🔨 [Changed]
Get-PlexPlaylist
: Removed one level of nesting for items. Previously you'd have to do this:$Playlist.Items.Metadata
. Now:$Playlist.Items
- 🔨 [Changed]
Copy-PlexPlaylist
: CallRemove-PlexPlaylist
internally rather than additional equivalent code.
- 🔨 [Added] Restored
-Force
parameter toCopy-PlexPlaylist
which will overwrite (delete and recreate) a destination playlist.
- 🎉 Initial release.