0
0
mirror of https://github.com/jellyfin/jellyfin.org.git synced 2025-05-10 18:25:28 +00:00
Files
jellyfin.org/docs/general/server/media/excluding-directory.md
TimGels 4774d1d9c5 Added directory exclusion docs page
Added a page to document the usage of `.ignore` files.
2023-04-02 13:45:56 +02:00

1.1 KiB

uid, title
uid title
server-media-excluding-directory Excluding a directory

Excluding a directory

Directories, and their respective media files, can be excluded from the library scan. This can be achieved by placing a .ignore file in the directory you want to exclude. As a result, the directory, and it's subdirectories, will be excluded from being scanned and shown to the end user.

:::tip

When placing a .ignore file inside a directory, make sure to refresh/ rescan the metadata afterwards for it to be applied.

:::

The example given below results in the directories Season 03 and OST being ignored:

Shows
└── Series (2010)
    ├── Season 01
    │   ├── ...
    ├── Season 02
    │   ├── ...
    ├── Season 03
    │   ├── .ignore
    │   └── ...
    └── OST
        ├── .ignore
        └── ...

:::caution

Currently, placing a .ignore file inside an Extras directory does not work.

:::