--- title: "Assign media categories" slug: "assign-media-categories" updated: 2026-08-17T09:43:24Z published: 2026-08-19T08:39:15Z canonical: "docs.grassfish.com/assign-media-categories" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.grassfish.com/llms.txt > Use this file to discover all available pages before exploring further. # Assign media categories Categories and locations allow you to create targeted content. - Specify categories and locations in which you want to play the media. - Specify categories and locations in which you don't want to play the media. - Assign them to a media file to determine when it's displayed on which player. > [!NOTE] > Note > > Drag locations and categories into the same category block to combine them with AND. Different category blocks are linked with OR. ## Assign categories and locations To assign categories and locations to media, perform the following steps: 1. Go to **Content > Media management**. 2. Select the media group that contains the media that you want to edit. 3. In the **Selectable media** pane, select the media file and click **Edit > Edit properties**. Alternatively, hover your mouse over the media tile and click ![](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/assign-media-categories-image-ri6safvg.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A13%3A25Z&se=2026-11-06T21%3A13%3A25Z&sr=c&sp=r&sig=NjkYFXTxgJfZApQQDraTksWyTgNPYMfcINXE0y%2FD2Dw%3D) **Edit properties**. 4. Switch to the **Categories** tab. 5. Use the icons at the top of the **Location/Categories** pane to switch between locations and categories. 6. Drag a category or location into the category block under **Only play in the following categories / locations**. 7. Add more categories or locations to link them with AND. 8. To add categories or locations and link them with OR, click **Add category block** and drag a location or category into the new category block. 9. Click **Save** to save your changes. ![](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/assign-media-categories-image-bdzj6hcc.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A13%3A25Z&se=2026-11-06T21%3A13%3A25Z&sr=c&sp=r&sig=NjkYFXTxgJfZApQQDraTksWyTgNPYMfcINXE0y%2FD2Dw%3D) ## Exclude categories and locations To ensure that media is not played in specific categories and locations, perform the following steps: 1. Go to **Content > Media management**. 2. Select the media group that contains the media that you want to edit. 3. In the **Selectable media** pane, select the media file and click **Edit > Edit properties**. Alternatively, hover your mouse over the media tile and click ![](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/assign-media-categories-image-g1ck97dp.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A13%3A25Z&se=2026-11-06T21%3A13%3A25Z&sr=c&sp=r&sig=NjkYFXTxgJfZApQQDraTksWyTgNPYMfcINXE0y%2FD2Dw%3D) **Edit display properties**. 4. Switch to the **Categories** tab. 5. Use the icons at the top of the **Location/Categories** pane to switch between locations and categories. 6. Drag a category or location into the category block under **Do not play in the following categories / locations**. 7. Add more categories or locations to link them with AND. 8. To add categories or locations and link them with OR, click **Add category block** and drag a location or category into the new category block. 9. Click **Save** to save your changes. ## Remove categories and locations You can remove assigned categories and locations in the following ways: - To remove a whole category block, click **Remove category block**. - To remove individual locations or categories from a category block, click ![](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/assign-media-categories-image-c74ebqbv.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A13%3A25Z&se=2026-11-06T21%3A13%3A25Z&sr=c&sp=r&sig=NjkYFXTxgJfZApQQDraTksWyTgNPYMfcINXE0y%2FD2Dw%3D) **Remove category/location**.