mirror of
https://github.com/jellyfin/TMDbLib.git
synced 2024-11-26 23:30:23 +00:00
parent
d381703bde
commit
8e90d22bd2
@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Threading.Tasks;
|
||||
using TMDbLib.Objects.Collections;
|
||||
using TMDbLib.Objects.General;
|
||||
@ -37,8 +38,12 @@ namespace TMDbLib.Client
|
||||
//req.DateFormat = "yyyy-MM-dd";
|
||||
|
||||
RestResponse<Collection> resp = await req.ExecuteGet<Collection>().ConfigureAwait(false);
|
||||
Collection item = await resp.GetDataObject().ConfigureAwait(false);
|
||||
|
||||
return resp;
|
||||
if (item != null)
|
||||
item.Overview = WebUtility.HtmlDecode(item.Overview);
|
||||
|
||||
return item;
|
||||
}
|
||||
|
||||
public async Task<ImagesWithId> GetCollectionImagesAsync(int collectionId, string language = null)
|
||||
|
Loading…
Reference in New Issue
Block a user