diff options
author | Roger Gonzalez <roger@rogs.me> | 2023-01-07 13:00:20 -0300 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2023-01-07 13:00:20 -0300 |
commit | 4aca03906c1acd7edfc1606c27b3471f431200e0 (patch) | |
tree | af03eca4c7b358be6a0ba18d388c1e164739db14 | |
parent | 9c094744122ab2b5863060488b565e94db8e450e (diff) |
Replaced entertainment_folder for media_folder
-rw-r--r-- | docker-compose.example.yaml | 20 | ||||
-rwxr-xr-x | install.sh | 16 |
2 files changed, 18 insertions, 18 deletions
diff --git a/docker-compose.example.yaml b/docker-compose.example.yaml index 53a71e5..c0a29f1 100644 --- a/docker-compose.example.yaml +++ b/docker-compose.example.yaml @@ -9,8 +9,8 @@ services: - PUID=<your_PUID> - PGID=<your_PGID> volumes: - - <entertainment_folder>/movies:/data/tvshows # change me! - - <entertainment_folder>/tvshows:/data/movies # change me! + - <media_folder>/movies:/data/tvshows # change me! + - <media_folder>/tvshows:/data/movies # change me! ports: - 8096:8096 restart: unless-stopped @@ -24,7 +24,7 @@ services: - PGID=<your_PGID> - WEB_UI_PORT=8080 volumes: - - <entertainment_folder>/downloads:/downloads # change me! + - <media_folder>/downloads:/downloads # change me! ports: - 6881:6881 - 6881:6881/udp @@ -40,8 +40,8 @@ services: - PUID=<your_PUID> - PGID=<your_PGID> volumes: - - <entertainment_folder>/tvshows:/tv # change me! - - <entertainment_folder>/downloads:/downloads # change me! + - <media_folder>/tvshows:/tv # change me! + - <media_folder>/downloads:/downloads # change me! ports: - 8989:8989 restart: unless-stopped @@ -54,8 +54,8 @@ services: - PUID=<your_PUID> - PGID=<your_PGID> volumes: - - <entertainment_folder>/movies:/movies # change me! - - <entertainment_folder>/downloads:/downloads # change me! + - <media_folder>/movies:/movies # change me! + - <media_folder>/downloads:/downloads # change me! ports: - 7878:7878 restart: unless-stopped @@ -68,8 +68,8 @@ services: - PUID=<your_PUID> - PGID=<your_PGID> volumes: - - <entertainment_folder>/movies:/movies # change me! - - <entertainment_folder>/tvshows:/tv # change me! + - <media_folder>/movies:/movies # change me! + - <media_folder>/tvshows:/tv # change me! ports: - 6767:6767 restart: unless-stopped @@ -84,7 +84,7 @@ services: - PGID=<your_PGID> - AUTO_UPDATE="True" volumes: - - <entertainment_folder>/blackhole:/downloads # change me! + - <media_folder>/blackhole:/downloads # change me! ports: - 9117:9117 restart: unless-stopped @@ -85,18 +85,18 @@ else send_error_message "The user $username doesn't exist!" fi -read -p "Please, input your entertainment folder: " entertainment_folder +read -p "Please, input your media folder: " media_folder # Checking that the entertainment folder exists -realpath $entertainment_folder &>/dev/null || send_error_message "There was an error with your entertainment folder! The directory \"$entertainment_folder\" does not exist!" +realpath $media_folder &>/dev/null || send_error_message "There was an error with your media folder! The directory \"$media_folder\" does not exist!" -entertainment_folder=$(realpath $entertainment_folder) +media_folder=$(realpath $media_folder) -read -p "Are you sure your entertainment folder is $entertainment_folder? [y/N]: " entertainment_folder_correct -entertainment_folder_correct=${entertainment_folder_correct:-"n"} +read -p "Are you sure your media folder is $media_folder? [y/N]: " media_folder_correct +media_folder_correct=${media_folder_correct:-"n"} -if [ $entertainment_folder_correct == "n" ]; then +if [ $media_folder_correct == "n" ]; then send_error_message "Entertainment folder is not correct. Please, fix it and run the script again" fi @@ -119,8 +119,8 @@ sed -i -e "s/<your_PUID>/$puid/g" $filename # Set PGID sed -i -e "s/<your_PGID>/$pgid/g" $filename -# Set entertainment_folder -sed -i -e "s;<entertainment_folder>;$entertainment_folder;g" $filename +# Set media_folder +sed -i -e "s;<media_folder>;$media_folder;g" $filename # Set yams script sed -i -e "s;<filename>;$filename;g" yams |