Media folders collect things a library scan has no business touching: sample files, a folder with the soundtrack, a season that is only half sorted. Jellyfin lets you hide them with one small file called .ignore. I run Jellyfin on my Unraid server, and this is the cleanest way I know to keep a folder out of the library without moving it.
Drop an empty .ignore file into the folder and Jellyfin skips that folder and everything below it:
touch "/mnt/user/media/tv/Series (2010)/OST/.ignore"
If the file has content, Jellyfin reads it like a .gitignore, so you can skip single files or subfolders and leave the rest of the folder alone. A .ignore in the show folder with these lines:
*.avi
sample.mkv
specials/
ignores every file that ends in .avi, any file named exactly sample.mkv, and the specials subfolder with everything in it.
Two things to know. First, the change only shows up after a library refresh or rescan, so start one after you create or edit the file. Second, the pattern format is new: Jellyfin 10.11 and later read the contents of a non-empty file, while older versions did not care what was inside. A leftover non-empty .ignore from an older setup can therefore stop doing what it did before, and the docs say you have to fix those by hand.
The ignored files stay on disk, so nothing is deleted. That makes it a safe thing to try on a folder you are unsure about: remove the file again, rescan, and the items come back.
Further reading: Excluding files and directories (Jellyfin docs)
Going deeper: Guide: the Bazarr settings that matter, from languages to the minimum score