mediamosa/mediamosa — Issue #52: CQL support for start and end dates
Author: agentrickard
Created: 2012-03-02 20:33:17+00:00
State: open

We are running into a limitation while writing a Views-based media browser. I will try to describe the problem accurately.

* We need to query /asset for data stored in custom application fields.
* Doing so forces us to use CQL statements.
* Using CQL means you cannot pass certain parameters in the GET query.
* Our queries return items that are outside the dates set by play_restriction_start and play_restriction_end.

We also found that setting 'granted=false' did not exclude items outside the play restriction dates, which we assumed it would.

Our problem now is that we cannot directly query for items that are active, as defined by play_restriction dates.

From our end, adding the ability to query play_restriction_start and play_restriction_end via CQL seems like the easiest solution.

Even without using CQL, it appears that calls to /asset are not filtered by start and end dates as we would expect. Even if 'granted' is passed as false.