====== Plex ====== ===== Infos utiles ===== * Naming and Organizing Your TV Show Files : https://support.plex.tv/articles/naming-and-organizing-your-tv-show-files * Local Media Assets – TV Shows : https://support.plex.tv/articles/200220717-local-media-assets-tv-shows * Local Media Assets – Movies : https://support.plex.tv/articles/200220677-local-media-assets-movies/ * Where is the Plex Media Server data directory located? : https://support.plex.tv/articles/202915258-where-is-the-plex-media-server-data-directory-located * Dossier d'installation : /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/ * Démarrer Plex Media Server : systemctl start plexmediaserver.service * Arrêt Plex Media Server : systemctl stop plexmediaserver.service ===== Installation ===== * Procédure d'installation : https://support.plex.tv/articles/200288586-installation * Télécharger Plex : https://www.plex.tv/media-server-downloads .dpkg -i plexmediaserver_**.deb ===== Dépôts ===== Ajouter Plex dans les dépôts : * Procédure d'ajout : https://support.plex.tv/articles/235974187-enable-repository-updating-for-supported-linux-server-distributions * echo deb https://downloads.plex.tv/repo/deb public main | tee /etc/apt/sources.list.d/plexmediaserver.list curl https://downloads.plex.tv/plex-keys/PlexSign.key | apt-key add - ===== Accès ===== Plex est accessible par défaut depuis : http://127.0.0.1:32400/web ===== Anime ===== Absolute Series Scanner (ASS) et HTTP Anidb Metadata Agent (HAMA) permettent de détecter correctement les animées. Installation ASS : * su - mkdir -p '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Scanners/Series' cd '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Scanners/Series' wget -O 'Absolute Series Scanner.py' https://raw.githubusercontent.com/ZeroQI/Absolute-Series-Scanner/master/Scanners/Series/Absolute%20Series%20Scanner.py chown -R plex:plex '../Scanners' chmod u+x 'Absolute Series Scanner.py' Installation HAMA : * su - cd '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins' wget -O master.zip https://github.com/ZeroQI/Hama.bundle/archive/refs/heads/master.zip unzip master.zip rm master.zip mv Hama.bundle-master Hama.bundle chown -R plex:plex '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins' Redémarrer Plex Media Server pour que le plug-in soit pris en compte : systemctl stop plexmediaserver.service systemctl start plexmediaserver.service Sources : * https://www.geekzone.fr/2019/08/01/comment-bien-gerer-ses-animes-avec-plex/ * https://github.com/ZeroQI/Absolute-Series-Scanner * https://github.com/ZeroQI/Hama.bundle