import Controller from 'ember-controller';
import injectService from 'ember-service/inject';
import limitForDirectoryTower from 'web-client/utilities/tower';
import { CHANNEL_PREVIEW_MIN_WIDTH } from 'web-client/services/layout';

export default Controller.extend({
  vodCoviews:  injectService(),
  recsHoldout: injectService('recs-holdout'),

  maxVodsPerRow: limitForDirectoryTower({
    minWidth: CHANNEL_PREVIEW_MIN_WIDTH,
    rowCount: 2
  })
});
