mardi 19 novembre 2013

Exclure fichiers, répertoires ou extensions dans Plex / Exlcude files in Plex with .plexignore

Voici une copie du wiki pour exclure des fichiers dans le scan avec Plex.  Pour ma part, Plex Media Server est installé sur Ubuntu 12.04 64bits.  Pour exclure des répertoires, j'ai dû écrire ceux-ci comme : */VIDEO_TS/* et non comme le wiki le disait : VIDEO_TS/*.  Aussi, j'ai essayé d'exclure les fichier *.iso et ça n'a pas fonctionné.  J'ai donc déplacé tout mes .iso sous un dossier nommé iso qui se retrouve dans chaque répertoire des émissions/films et j'ai exclu les répertoires */iso/*.  Je n'ai maintenant plus de duplicat dans mes librairies.

http://wiki.plexapp.com/index.php/Media_Naming_and_Organization_Guide#Excluding_files_with_.plexignore

Aussi j'ai mis à jour Plex server à la dernière version que j'ai obtenu directement sur le site de Plex, car celui qui est disponible dans Ubuntu n'est pas assez récent pour gérer le plexignore si je ne me trompe pas.

Eng/
 Here is a copy of the wiki to exclude files from the scan with Plex . Personally, Plex Media Server is installed on Ubuntu 12.04 64bit . To exclude directories I had to write these as : * / VIDEO_TS / * and not like the wiki said : VIDEO_TS / * . Also , I tried to exclude file * .iso and it has not worked. So I moved all my .iso in a folder called iso which is found in each directory emissions / movies and I excluded directories * / iso / * . Now I 'm out of my duplicate libraries.


http://wiki.plexapp.com/index.php/Media_Naming_and_Organization_Guide#Excluding_files_with_.plexignore


Also I 've updated Plex server to the latest version that I got directly on the site Plex as that available in Ubuntu is not recent enough to handle the plexignore if I 'm not mistaken .

Excluding files with .plexignore

You can tell the scanner to ignore files or patterns by adding a .plexignore file to any folder in your section. If you add the .plexignore file to the root (top-level) folder in the section, the ignore rules will apply to all sub-folders.
Note that many text editors (e.g. Notepad, Text Edit) will save files with a .txt extension by default. Make sure your file is called ".plexignore" (exactly, with no extension) or this won't work!
Add one pattern per line for things you'd like to ignore. The file is interpreted as follows:
  • Blank lines are ignored.
  • Lines starting with # are comments.
  • Patterns without '/'s (e.g. *.mkv) match filenames in the same directory as the .plexignore file, or anywhere in the tree if .plexignore is a root of the section.
  • Patterns with '/'s (e.g. somedir/*) match directory and file patterns relative to the directory containing the .plexignore file.
Note: always use forward slashes ('/') as path delimiters, even on Windows.
An example .plexignore file:
   # Ignore all files with "trailer" in the name.
   *trailer*
   
   # Ignore everything in the "thumbnails" directory.
   thumbnails/*
   
   # Ignore files with the extension ".cr2"
   *.cr2
   
   # Ignore directories called "Modified"
   Modified/*

Aucun commentaire:

Publier un commentaire