mirror of
https://github.com/LukeHagar/plexcsharp.git
synced 2025-12-09 12:37:46 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.401.2
This commit is contained in:
@@ -48,7 +48,7 @@ CreatePlaylistRequest req = new CreatePlaylistRequest() {
|
||||
Title = "<value>",
|
||||
Type = LukeHagar.PlexAPI.SDK.Models.Requests.CreatePlaylistQueryParamType.Photo,
|
||||
Smart = LukeHagar.PlexAPI.SDK.Models.Requests.Smart.One,
|
||||
Uri = "https://inborn-brochure.biz",
|
||||
Uri = "https://hoarse-testing.info/",
|
||||
};
|
||||
|
||||
var res = await sdk.Playlists.CreatePlaylistAsync(req);
|
||||
@@ -236,7 +236,7 @@ var sdk = new PlexAPI(
|
||||
);
|
||||
|
||||
var res = await sdk.Playlists.UpdatePlaylistAsync(
|
||||
playlistID: 3915D,
|
||||
playlistID: 3915.00D,
|
||||
title: "<value>",
|
||||
summary: "<value>"
|
||||
);
|
||||
@@ -291,7 +291,7 @@ var sdk = new PlexAPI(
|
||||
|
||||
var res = await sdk.Playlists.GetPlaylistContentsAsync(
|
||||
playlistID: 5004.46D,
|
||||
type: LukeHagar.PlexAPI.SDK.Models.Requests.GetPlaylistContentsQueryParamType.Two
|
||||
type: LukeHagar.PlexAPI.SDK.Models.Requests.GetPlaylistContentsQueryParamType.Show
|
||||
);
|
||||
|
||||
// handle response
|
||||
@@ -385,7 +385,7 @@ var sdk = new PlexAPI(
|
||||
);
|
||||
|
||||
var res = await sdk.Playlists.AddPlaylistContentsAsync(
|
||||
playlistID: 8502.01D,
|
||||
playlistID: 8502.00D,
|
||||
uri: "server://12345/com.plexapp.plugins.library/library/metadata/1",
|
||||
playQueueID: 123D
|
||||
);
|
||||
@@ -437,7 +437,8 @@ var sdk = new PlexAPI(
|
||||
|
||||
var res = await sdk.Playlists.UploadPlaylistAsync(
|
||||
path: "/home/barkley/playlist.m3u",
|
||||
force: LukeHagar.PlexAPI.SDK.Models.Requests.QueryParamForce.Zero
|
||||
force: LukeHagar.PlexAPI.SDK.Models.Requests.QueryParamForce.Zero,
|
||||
sectionID: 1
|
||||
);
|
||||
|
||||
// handle response
|
||||
@@ -449,6 +450,7 @@ var res = await sdk.Playlists.UploadPlaylistAsync(
|
||||
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `Path` | *string* | :heavy_check_mark: | absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server. <br/>If the `path` argument is a directory, that path will be scanned for playlist files to be processed. <br/>Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it. <br/>The GUID of each playlist is based on the filename. <br/>If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it. <br/>The GUID of each playlist is based on the filename.<br/> | /home/barkley/playlist.m3u |
|
||||
| `Force` | [QueryParamForce](../../Models/Requests/QueryParamForce.md) | :heavy_check_mark: | Force overwriting of duplicate playlists. <br/>By default, a playlist file uploaded with the same path will overwrite the existing playlist. <br/>The `force` argument is used to disable overwriting. <br/>If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded.<br/> | |
|
||||
| `SectionID` | *long* | :heavy_check_mark: | Possibly the section ID to upload the playlist to, we are not certain. | 1 |
|
||||
|
||||
### Response
|
||||
|
||||
|
||||
Reference in New Issue
Block a user