mirror of
https://github.com/YunoHost-Apps/streama_ynh.git
synced 2024-09-03 20:26:30 +02:00
parent
d3a6e05dd5
commit
4184ecd823
10 changed files with 17 additions and 25 deletions
|
@ -17,16 +17,19 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
|
||||
Self hosted streaming media server
|
||||
|
||||
**Shipped version:** 1.10.3~ynh2
|
||||
**Shipped version:** 1.10.4~ynh1
|
||||
|
||||
**Demo:** https://streama.demo-version.net
|
||||
|
||||
## Screenshots
|
||||
|
||||

|
||||

|
||||
|
||||
## Disclaimers / important information
|
||||
|
||||
## Disclaimers / important information
|
||||
|
||||
## Installation guide
|
||||
|
||||
> :warning: Streama must be installed in the root domain or subdomain.
|
||||
|
|
|
@ -13,12 +13,13 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
|||
|
||||
Serveur de streaming auto-hébergé
|
||||
|
||||
**Version incluse :** 1.10.3~ynh2
|
||||
**Version incluse :** 1.10.4~ynh1
|
||||
|
||||
**Démo :** https://streama.demo-version.net
|
||||
|
||||
## Captures d'écran
|
||||
|
||||

|
||||

|
||||
|
||||
## Avertissements / informations importantes
|
||||
|
|
|
@ -1,12 +1,8 @@
|
|||
# See here for more informations
|
||||
# https://github.com/YunoHost/package_check#syntax-check_process-file
|
||||
|
||||
;; Test complet
|
||||
; Manifest
|
||||
domain="domain.tld" (DOMAIN)
|
||||
path="/" (PATH)
|
||||
is_public=1 (PUBLIC|public=1|private=0)
|
||||
port="9980" (PORT)
|
||||
domain="domain.tld"
|
||||
path="/"
|
||||
is_public=1
|
||||
; Checks
|
||||
pkg_linter=1
|
||||
setup_sub_dir=1
|
||||
|
@ -18,7 +14,6 @@
|
|||
upgrade=1 from_commit=3a02114f50e785722bc592cbcc33f92bf070b1c1
|
||||
backup_restore=1
|
||||
multi_instance=0
|
||||
port_already_use=0
|
||||
change_url=0
|
||||
;;; Options
|
||||
Email=
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/streamaserver/streama/releases/download/v1.10.3/streama-1.10.3.jar
|
||||
SOURCE_SUM=9d99acb55883e39be3604d5a1e8730c219acf59dfcdfbe8a36fb6ed1cbab615d
|
||||
SOURCE_URL=https://github.com/streamaserver/streama/releases/download/v1.10.4/streama-1.10.4.jar
|
||||
SOURCE_SUM=a1071ab783f4d47553ac38a5357b7ce801c8cfe3e523280feead865e23b7da2e
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=jar
|
||||
SOURCE_IN_SUBDIR=false
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
location __PATH__/ {
|
||||
|
||||
# Force usage of https
|
||||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
||||
proxy_pass http://127.0.0.1:__PORT__;
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $host;
|
||||
|
|
BIN
doc/.DS_Store
vendored
Normal file
BIN
doc/.DS_Store
vendored
Normal file
Binary file not shown.
|
@ -1,3 +1,5 @@
|
|||
## Disclaimers / important information
|
||||
|
||||
## Installation guide
|
||||
|
||||
> :warning: Streama must be installed in the root domain or subdomain.
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 678 KiB |
|
@ -6,7 +6,7 @@
|
|||
"en": "Self hosted streaming media server",
|
||||
"fr": "Serveur de streaming auto-hébergé"
|
||||
},
|
||||
"version": "1.10.3~ynh2",
|
||||
"version": "1.10.4~ynh1",
|
||||
"url": "https://streamaserver.org/",
|
||||
"upstream": {
|
||||
"license": "MIT",
|
||||
|
@ -21,7 +21,7 @@
|
|||
"email": "liberodark@gmail.com"
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">= 4.2.4"
|
||||
"yunohost": ">= 4.3.0"
|
||||
},
|
||||
"multi_instance": false,
|
||||
"services": [
|
||||
|
@ -31,8 +31,7 @@
|
|||
"arguments": {
|
||||
"install": [{
|
||||
"name": "domain",
|
||||
"type": "domain",
|
||||
"example": "streama.example.com"
|
||||
"type": "domain"
|
||||
},
|
||||
{
|
||||
"name": "is_public",
|
||||
|
|
|
@ -35,10 +35,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
|||
#=================================================
|
||||
ynh_script_progression --message="Validating restoration parameters..." --weight=3
|
||||
|
||||
ynh_webpath_available --domain="$domain" --path_url="$path_url" \
|
||||
|| ynh_die --message="Path not available: ${domain}${path_url}"
|
||||
test ! -d "$final_path" \
|
||||
|| ynh_die --message="There is already a directory: $final_path "
|
||||
test ! -d "$final_path" || ynh_die --message="There is already a directory: $final_path "
|
||||
|
||||
#=================================================
|
||||
# STANDARD RESTORATION STEPS
|
||||
|
|
Loading…
Add table
Reference in a new issue