Add custom URL for Plex web service
- Updated running_services_location() function to display custom URL for Plex web service. - If the service is Plex, the URL is now displayed as "http://$host_ip:${services[$service]}/web".
This commit is contained in:
parent
8886f0c56a
commit
1321db8634
6
docs.org
6
docs.org
@ -376,7 +376,11 @@ running_services_location() {
|
|||||||
|
|
||||||
echo -e "Service URLs:"
|
echo -e "Service URLs:"
|
||||||
for service in "${!services[@]}"; do
|
for service in "${!services[@]}"; do
|
||||||
echo "$service: http://$host_ip:${services[$service]}/"
|
if [ "$service" = "plex" ]; then
|
||||||
|
echo "$service: http://$host_ip:${services[$service]}/web"
|
||||||
|
else
|
||||||
|
echo "$service: http://$host_ip:${services[$service]}/"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -309,7 +309,11 @@ running_services_location() {
|
|||||||
|
|
||||||
echo -e "Service URLs:"
|
echo -e "Service URLs:"
|
||||||
for service in "${!services[@]}"; do
|
for service in "${!services[@]}"; do
|
||||||
echo "$service: http://$host_ip:${services[$service]}/"
|
if [ "$service" = "plex" ]; then
|
||||||
|
echo "$service: http://$host_ip:${services[$service]}/web"
|
||||||
|
else
|
||||||
|
echo "$service: http://$host_ip:${services[$service]}/"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user