Adding genres and categories

Genres help you group similar IPTV Internet Protocol Television and VOD Video on demand content so that users can quickly find the content they need.

For VOD Video on demand content, you can use categories to further group content by type, for example, movies and TV shows. You can also localize genre and category names for the languages that you want to support.

Add an IPTV genre

IPTV Internet Protocol Television uses genres to group channels, for example, Sports or Documentary.

To add IPTV genres

  1. Navigate to IPTV channels > Genres.

  2. Select + Add genre.

  3. In the Genre field, enter a meaningful name, for example, Sports.

  4. To enable password protection, select the Age restriction check box.

  5. Select Save.

  6. To rearrange the genres on the list, hover over the number in the Order column and drag the genre into place.

You can now select the newly created genre when you add new channels or modify existing channels.

Read more Internet Protocol Television

Add a VOD category

VOD Video on demand uses categories to further group genres. For example, you can add separate categories for comedy movies and comedy TV shows.

To add VOD categories

  1. Navigate to VOD > Categories.

  2. Select + Add category.

  3. In the Category field, enter a meaningful name, for example, Movies.

  4. In the Order field, enter a number to arrange the category on the list.

  5. To enable password protection, select the Age restriction check box.

  6. Select Save.

  7. To rearrange the categories on the list, hover over the number in the Number column and drag the category into place.

You can now select the newly created category when you add new movies or modify existing movies.

Read more Video on demand

Add a VOD genre

VOD Video on demand uses genres to group content, for example, Action or Comedy.

To add VOD genres

  1. Navigate to VOD > Genres.

  2. Select + Add genre.

  3. In the Genre field, enter a meaningful name, for example, Comedy.

  4. In the Category field, select from the available categories, for example, Movies.

  5. Select Save.

You can now select the newly created genre when you add new movies or modify existing movies.

Read more Video on demand

Localize genre and category names

You can define localized names for the genres and categories you create by modifying configuration files and then adding the desired languages in the lists of genres and categories in the MinistraPRO administrator panel.

Information

This feature is available from version 6.22 onwards.

To add languages

  1. On the Linux server, check if the locales are generated for the languages that you want to add:

    1. In the console, run the following command:

      locale -a

      If the locales for your desired languages are on the list, skip to step 3.

  2. If your desired languages are not on yet generated, do the following:

    1. In the console, run the following command:

      sudo dpkg-reconfigure locales

    2. In the Package configuration view that appears, select the locales you want to generate.

    3. Select OK.

    4. From the list that appears, select the default locale.

    5. Select OK.

  3. In the l18n.ini file, add the languages by modifying the following line:

    content_languages['xx_YY']= 'xx'

    • 'xx' is the two-letter language code.

    • 'YY' is the two-letter country code.

    Tip

    You can use the default entry for English as a template.

    Read more Configuration files

  4. In the MinistraPRO administrator panel, add the localizations to your genres or categories:

    1. Navigate to the list to which you want to add localizations, for example, IPTV channels > Genres.

    2. At the top of the list, select columns drop-down icon.

    3. Select the languages that you want to add as columns.

    4. In the row for each item on the list, select cog icon.

    5. Select Edit localization.

    6. Enter the localized names in each language you add.

    7. Select Save.