Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

ItemFields enum is out-of-sync #24

Open
diamondq opened this issue Feb 6, 2018 · 1 comment
Open

ItemFields enum is out-of-sync #24

diamondq opened this issue Feb 6, 2018 · 1 comment

Comments

@diamondq
Copy link

diamondq commented Feb 6, 2018

The mediabrowser.model.querying.ItemFields enum contains the fixed list of fields you can add to a query. However, it's a quite a bit out-of-sync. Unfortunately, the ItemQuery class only allows ItemFields values, so there's no way to provide 'custom' values when building a query.

I'm guessing that this code is autogenerated from the .NET version, which is also missing the values. A few examples are:

AirDays, Album, AlbumArtist, AlbumId, AlbumPrimaryImageTag, AspectRatio, CommunityRating, EndDate, LocalTrailerCount, PremiereDate, Status

There are more, but this gives the general idea. I was specifically looking for CommunityRating, but when digging found that the list on https://github.com/MediaBrowser/Emby/wiki/Item-Information contains alot more than is on the enum.

@LukePulverenti
Copy link
Member

This repository is outdated and archived!
You can find up-to-date client libraries in the new Emby.ApiClient Repository

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants