virtUOS / edusharing-opencast-importer

This importer harvests episodes (lecture recordings) from Opencast instances and push it as external references to an Edusharing instance.
GNU General Public License v3.0
2 stars 2 forks source link

add episode blacklisting function #26

Closed ffeyen closed 3 years ago

ffeyen commented 3 years ago

If an episode has not wanted content, this episodes should not by imported. Approach/Idea:

  1. add Array in ocInstance objects in /config/config.oc-instances.js
  2. add blacklist-filter in /src/services/filter.js
  {
    orgName: 'Opencast',
    orgUrl: 'https://opencast.org',
    protocol: 'https',
    domain: 'develop.opencast.org',
    blacklistedIds: ['id1', 'id2', 'id3']
  }