2023-12-16 01:40:05 +00:00
|
|
|
|
using Tesses.CMS.Client;
|
|
|
|
|
|
2024-01-04 02:53:13 +00:00
|
|
|
|
TessesCMSClient client = new TessesCMSClient("http://192.168.0.158:62444/");
|
2023-12-16 01:40:05 +00:00
|
|
|
|
|
2024-01-04 02:53:13 +00:00
|
|
|
|
await foreach(var item in client.Movies.GetMoviesAsync("tesses"))
|
2023-12-16 01:40:05 +00:00
|
|
|
|
{
|
2024-01-04 02:53:13 +00:00
|
|
|
|
var res=await client.Movies.GetMovieContentMetadataAsync("tesses",item.Name);
|
2023-12-16 01:40:05 +00:00
|
|
|
|
Console.WriteLine(item.ProperName);
|
2024-01-04 02:53:13 +00:00
|
|
|
|
Console.WriteLine($"\t{res.PosterUrl}");
|
2023-12-16 01:40:05 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//await client.Movies.CreateAsync("HolyLoop","Holy Loop");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
await client.Users.LogoutAsync();
|