187 lines
5.0 KiB
Markdown
187 lines
5.0 KiB
Markdown
# Plex
|
|
|
|
### Réinstaller une ancienne version de PMS:
|
|
|
|
- arrêter le serveur
|
|
- désinstaller Plex (la bibliothèque /Plex/Library n'est pas effacée)
|
|
- installer Plex
|
|
|
|
### Bibliothèque Plex:
|
|
|
|
|
|
`/volume1/Plex/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Databases/com.plexapp.plugins.library.db`
|
|
|
|
`-rwx------+ 1 plex users 36980736 Jan 1 15:17 com.plexapp.plugins.library.db`
|
|
``
|
|
|
|
### Plex Plugins Folder Locations:
|
|
|
|
**Windows**
|
|
`%LOCALAPPDATA%\Plex Media Server\Plug-Ins\`
|
|
|
|
**Mac OS X**
|
|
`~\Library\Application Support\Plex Media Server\Plug-Ins\`
|
|
|
|
**Linux**
|
|
`$PLEX_HOME\Library\Application Support\Plex Media Server\Plug-Ins`
|
|
|
|
**QNAP (Network Attached Storage)**
|
|
`/root/library/Plex Media Server/Plug-ins`
|
|
|
|
**ReadyNAS ROS6**
|
|
`apps/plexmediaserver/Medialibrary/Plex Media Server/Plug-ins`
|
|
|
|
**Seagate**
|
|
`sudo rainbow -enter com.plex.plexmediaserver`
|
|
`/data/plex_conf/Library/Application\Support/Plex\ Media\ Server/Plug-Ins`
|
|
|
|
**Synology**
|
|
`/Volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins`
|
|
|
|
cd /volume1/Plex/Library/Application\ Support/Plex\ Media\ Server/Plug-ins
|
|
|
|
**Western Digital**
|
|
`/mnt/HD/HD_a2/plex_conf/Plex Media Server/Plug-Ins`
|
|
|
|
**Western Digital Wireless Pro**
|
|
`.wdcache/.Plexmediaserver/Plex Media Server/Plug-ins`
|
|
|
|
|
|
|
|
### Installer un plug-in IPTV:
|
|
|
|
1. Télécharger [IPTV.bundle](https://github.com/Cigaras/IPTV.bundle) ([wiki](https://github.com/Cigaras/IPTV.bundle/wiki))
|
|
|
|
2. Copier l'archive dans le dossier Plug-ins
|
|
|
|
```
|
|
$ scp -r -P 42666 markdown.txt bruno@clicclac.synology.me:/volume1/web
|
|
$ ssh dsm916e
|
|
$ sudo -i
|
|
# mv /volume1/web/markdown.txt /volume1/Plex/Library/Application\ Support/Plex\ Media\ Server/Plug-ins
|
|
```
|
|
|
|
3. Extraire, puis vérifier permissions et users
|
|
|
|
```
|
|
# cd /volume1/Plex/Library/Application\ Support/Plex\ Media\ Server/Plug-ins
|
|
# unzip IPTV.bundle.zip
|
|
# mv IPTV.bundle.master IPTV.bundle
|
|
# chmod 700 -R IPTV.bundle
|
|
# chown plex:users -R IPTV.bundle
|
|
```
|
|
|
|
4. Relancer Plex Server
|
|
|
|
5. Importer une [playlist](https://github.com/Cigaras/IPTV.bundle/wiki/Playlist)
|
|
|
|
|
|
Création de la playlist [m3u](https://it-tuto.com/kodiopenelec-preparer-playlist-m3u-kodi-iptv/)
|
|
Forum [plex](https://forums.plex.tv/discussion/83083/rel-iptv-bundle-plug-in-that-plays-iptv-streams-from-a-m3u-playlist/p1)
|
|
Plug-in [MultiPlex](https://github.com/JayTheHatWearer/MultiPLEX.bundle)
|
|
|
|
|
|
|
|
### Installer WebTools:
|
|
|
|
[WebTools](https://github.com/ukdtom/WebTools.bundle) est un plug-in Plex qui regroupe plusieurs outils pour Plex, dont l'UAS (Unsupported AppStore).
|
|
|
|
Le paquet pour NAS Synology se trouve [ici](https://github.com/ukdtom/WTInstaller/releases/latest).
|
|
|
|
WebTools se lance depuis [DSM](http://192.168.1.7:33400/#!/uas) (et pas depuis Plex). Il est dispo ici http://192.168.1.7:33400/login (on se loggue avec les identifiants Plex).
|
|
|
|
Si WebTools ne fonctionne plus, il faut le [resetter](https://github.com/ukdtom/WebTools.bundle/wiki/Reset).
|
|
|
|
|
|
|
|
### Installer WebGrabPlus:
|
|
|
|
1. Installer [:fa-link: mono](http://www.mono-project.com):
|
|
|
|
```bash
|
|
$ brew install mono
|
|
```
|
|
|
|
2. Télécharger [WebGrabPlus pour linux](http://webgrabplus.com/download) et le dernier [SiteIni.Pack](http://webgrabplus.com/epg-channels)
|
|
|
|
3. Installer WebGrabPlus:
|
|
|
|
```bash
|
|
$ cd ~
|
|
$ tar -zxvf WebGrabPlus_V2.1_install.tar.gz
|
|
```
|
|
|
|
4. Finir l'installation:
|
|
|
|
```bash
|
|
$ cd .wg++/
|
|
$ ./install.sh
|
|
```
|
|
|
|
5. [Configurer WebGrabPlus](http://webgrabplus.com/documentation/configuration/webgrabconfigxml):
|
|
|
|
```bash
|
|
$ edit WebGrab++.config.xml
|
|
```
|
|
|
|
6. Mettre à jour le dossier *siteini.pack*:
|
|
|
|
```bash
|
|
$ ./bin/SiteIni.Pack.Update.sh
|
|
```
|
|
|
|
7. Exécuter le programme:
|
|
|
|
```bash
|
|
$ ./run.sh
|
|
```
|
|
|
|
8. Envoyer le fichier *guide.xml* sur le serveur:
|
|
|
|
```bash
|
|
bruno@SilverBook:~/.wg++$ scp guide.xml funnymac@ftp.cluster011.ovh.net:www/guide.xml
|
|
funnymac@ftp.cluster011.ovh.net's password:
|
|
guide.xml 100% 2792KB 92.8KB/s 00:30
|
|
```
|
|
|
|
|
|
|
|
### Logs:
|
|
|
|
Réglages -> Serveur -> Aide -> Télécharger les logs
|
|
|
|
Pour les logs des plug-ins, aller directement sur le serveur:
|
|
|
|
`/volume1/Plex/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs`
|
|
|
|
|
|
|
|
### Impossible d'indexer le contenu d'un dossier:
|
|
|
|
1. In DSM go to "Control Panel > Shared folder:.
|
|
|
|
2. Select the media folder you want Plex to have access to.
|
|
|
|
3. Click Edit.
|
|
|
|
4. Click on the Permissions tab.
|
|
|
|
5. In the dropdown change "Local users" to System internal user".
|
|
|
|
6. Find and select the PlexMediaServer user (or Plex user for DSM 6).
|
|
|
|
7. Tick the Read/Write permission box and click Save (or OK for DSM 6).
|
|
|
|
|
|
|
|
### Liens:
|
|
|
|
[:fa-link: Plex Synology FAQ](https://forums.plex.tv/discussion/191000/faqs-read-this-first#latest)
|
|
|
|
[:fa-link: Plex For Apple TV](https://forums.plex.tv/categories/plex-for-apple-tv)
|
|
|
|
[:fa-link: Plex Downloads](https://plex.tv/downloads?channel=plexpass)
|
|
|
|
[:fa-link: Remettre à Zéro un plug-in](https://github.com/ukdtom/WebTools.bundle/wiki/Reset)
|
|
|