def _get_sample_drm_marlin(self): marlin_drm_settings = self.settings.get('sampleObjects').get( 'drmConfigurations').get('Marlin') drm = MarlinDRM(key=marlin_drm_settings[0].get('key'), kid=marlin_drm_settings[0].get('kid'), name='Sample Marlin DRM') return drm
def _get_sample_drm_marlin(self): sample_output = self._get_sample_encoding_output() sample_output.outputPath += '/drm' marlin_drm_settings = self.settings.get('sampleObjects').get('drmConfigurations').get('Marlin') drm = MarlinDRM(key=marlin_drm_settings[0].get('key'), kid=marlin_drm_settings[0].get('kid'), outputs=[sample_output], name='Sample Marlin DRM') return drm