MediaBrowser / Emby.ApiClient.Java

ApiClient allows Java apps to easily access the Emby API
http://emby.media
MIT License
20 stars 22 forks source link

ItemFields enum is out-of-sync #24

Open diamondq opened 6 years ago

diamondq commented 6 years ago

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 commented 6 months ago

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