Jump to content

New Resolution Filters


Luke

Recommended Posts

Up until now you've been using 

IsHD=true/false

Now we have

Is4K=true/false

And going forward we will also have lower level fitlers

MinWidth=1200
MaxWidth=1200
MinHeight=1200
MaxHeight=1200

In an effort to standardize, I would suggest taking advantage of the IsHD & Is4K dedicated filters.

 

Please note, these new filters depend on new data in the next server beta, and this will require refreshing existing videos. Thanks.

Link to comment
Share on other sites

PenkethBoy

Is "Is4k" etc in .16 beta server? As "next server release" is a bit vague

 

I can see two new fields added to the TypedBaseItems table of Width and Height - these get filled in with values after a movie refresh of Metadata

 

But nothing for Is4k

Link to comment
Share on other sites

I can see two new fields added to the TypedBaseItems table of Width and Height - these get filled in with values after a movie refresh of Metadata

 

But nothing for Is4k

 

The API would derive that information from the width and height.  You wouldn't want to save it in the DB (creating a possible inconsistency).

Link to comment
Share on other sites

PenkethBoy

well you do for a lot of other similar things like IsHD

 

So are you saying its calculated on the fly then?

Link to comment
Share on other sites

well you do for a lot of other similar things like IsHD

 

So are you saying its calculated on the fly then?

 

Well, yeah, sometimes those types of DB design rules have to be broken for performance reasons :).

 

As an answer to your question, this is all a very new work in progress but the filtering should be working (via the API) with the most recent beta release.

Link to comment
Share on other sites

The IsHD column is no longer used and if you install the beta fresh you won't have it anymore.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...