Daica 0 Posted November 19, 2024 Posted November 19, 2024 For example: var item = libraryManager.GetItemById(Guid.Parse(itemId)); var dto = new BaseItemDto { ImageTags = BackdropImageTags } How would I grab the image tags for that item? similarly: if (item is Episode episode) { dto.ParentBackdropItemId = episode.Series.Id.ToString(); //dto.BackdropImageTags //dto.PrimaryImageTag = } How would I grab the image tags if its an episode?
Luke 42077 Posted November 22, 2024 Posted November 22, 2024 @Daicaif you want to get the same object that emby clients use then the best thing to do is use IDtoService.GetBaseItemDto This will include the image tags, among other things. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now