StreamingService/README.md
2024-01-03 23:31:24 +01:00

112 lines
2.9 KiB
Markdown

# Streaming services
Automatise l'installation d'un setup jellyfin + sonarr/radarr
## Dependences :
- curl
- jq
- sed
## Installation :
1. Changer les paramettres dans `install.sh`
```sh
# Username for all paramettrable services
# You will use this username to connect to sonarr/radarr/etc
GLOBAL_USER="A_user_name"
# If you want a different username for each services
SONARR_USER=$GLOBAL_USER
RADARR_USER=$GLOBAL_USER
PROWLARR_USER=$GLOBAL_USER
TRANSMISSION_USER=$GLOBAL_USER
# Passwords
SONARR_PASSWORD="a very secure password"
RADARR_PASSWORD="so secure any hacker would"
PROWLARR_PASSWORD="have to social engineer it"
TRANSMISSION_PASSWORD="in order to get it"
# ! MAKE SURE THE USER RUNNING THIS SCRIPT CAN READ
# **AND** WRITE TO THE FOLDERS YOU WRITE
# Main Folders
SERIES_PATH="path/to/series"
FILM_PATH="path/to/films"
# Config Folder
DOWNLOAD_FOLDER="path/to/downloads"
SONARR_CONFIG="path/to/config/sonarr"
RADARR_CONFIG="path/to/config/radarr"
PROWLARR_CONFIG="path/to/config/prowlarr"
TRANSMISSION_CONFIG="path/to/config/transmission"
JELLYSEERR_CONFIG="path/to/config/jellyseerr"
JELLYFIN_CONFIG="path/to/config/jellyfin"
```
2. lancer install.sh et laisser la magie operer .w.
## Post install
### Configurer Jellyfin
Le premier service a check est jellyfin :
- go a [http://localhost:8096](http://localhost:8096)
- Creer un compte
- Creer deux mediatheques :
- un pour les films avec le dossier : /movies
- un pour les series avec le dossier : /tvshows
- Change le reste comme ca te plait
- Enjoy
### Configurer Jellyseerr
- go a [http://localhost:5055](http:localhost:8096)
- Connecte toi avec Jellyfin
- ip de jellyfin `http://jellyfin:8096`
- addresse email : met ce que tu veux, ca a pas besoin d'exister genre a@b.fr
- username et password de jellyfin, ceux que t'as Creer
- Ajoute les mediatheques de jellyfin
- Clique sur sync et coche les deux mediatheques
- Ajoute Sonarr et Radarr
- Radarr
- Default server : True
- Name : Radarr
- hostname : http://radarr
- api key : Check dans post_install.md
- root folder : /movies
- Sonarr
- Default server : True
- Name : Sonarr
- hostname : http://sonarr
- api key : Check dans post_install.md
- root folder : /tv
- je te laisse utiliser ton cerveau pour le reste
- Enjoy
## Commandes utiles
- recup la cle api sans passer par la web ui de radarr/sonarr/prowlarr
```sh
docker exec -it [radarr/sonarr/prowlarr] cat /config/config.xml | grep ApiKey | cut -d'>' -f2
```
## Services
Streaming des videos -> Jellyfin : http://localhost:8096
Rerchercher et Ajouter -> Jellyseerr : http://localhost:5055
Gerer les films -> Radarr http://localhost:7878
Gerer les series -> Sonarr : http://localhost:8989
Rerchercher sur les sites de torrents -> Prowlarr : http://localhost:9696
Telecharger -> Transmission : http://localhost:9091