1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mopidy_ynh.git synced 2024-09-03 19:46:21 +02:00

Merge pull request #44 from YunoHost-Apps/testing

Testing
This commit is contained in:
eric_G 2023-11-02 13:49:59 +01:00 committed by GitHub
commit cfc42dd55c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 12 additions and 13 deletions

View file

@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Play music, podcasts and radio programs from local disk and various streaming services
**Shipped version:** 3.4.2~ynh2
**Shipped version:** 3.4.2~ynh3
## Screenshots

View file

@ -18,7 +18,7 @@ Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
Écouter de la musique, des podcasts et des programmes radio depuis le disque local et divers services de streaming
**Version incluse :** 3.4.2~ynh2
**Version incluse :** 3.4.2~ynh3
## Captures décran

View file

@ -13,9 +13,9 @@
setup_public=1
upgrade=1
# 3.1.1~ynh2
upgrade=1 from_commit=bc421d01d57a273a59287cf7500e94a89de0abed
# upgrade=1 from_commit=bc421d01d57a273a59287cf7500e94a89de0abed
# 3.2.0~ynh1
upgrade=1 from_commit=31c5de684273794e4f4837d5dccc5a663ce9fb45
# upgrade=1 from_commit=31c5de684273794e4f4837d5dccc5a663ce9fb45
backup_restore=1
multi_instance=0
port_already_use=0

View file

@ -1,6 +1,6 @@
location /mopidy/ws {
proxy_pass http://localhost:__PORT__;
proxy_pass http://127.0.0.1:__PORT__;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
@ -12,7 +12,7 @@ location /mopidy/ws {
location __PATH__/ {
proxy_pass http://localhost:__PORT__/musicbox_webclient/;
proxy_pass http://127.0.0.1:__PORT__/musicbox_webclient/;
proxy_http_version 1.1;
proxy_set_header Host $host;
@ -22,7 +22,7 @@ location __PATH__/ {
location /musicbox_webclient/ {
proxy_pass http://localhost:__PORT__;
proxy_pass http://127.0.0.1:__PORT__;
proxy_http_version 1.1;
proxy_set_header Host $host;
@ -32,7 +32,7 @@ location /musicbox_webclient/ {
location /local/ {
proxy_pass http://localhost:__PORT__;
proxy_pass http://127.0.0.1:__PORT__;
proxy_http_version 1.1;
proxy_set_header Host $host;

View file

@ -6,7 +6,7 @@
"en": "Play music, podcasts and radio programs from local disk and various streaming services",
"fr": "Écouter de la musique, des podcasts et des programmes radio depuis le disque local et divers services de streaming"
},
"version": "3.4.2~ynh2",
"version": "3.4.2~ynh3",
"url": "https://www.mopidy.com",
"upstream": {
"license": "Apache-2.0",
@ -24,7 +24,7 @@
"email": "cyp@rouquin.me"
},
"requirements": {
"yunohost": ">= 4.3.0"
"yunohost": ">= 11.2"
},
"multi_instance": false,
"services": [
@ -47,7 +47,7 @@
"type": "boolean",
"help": {
"en": "Public app can be used by anonymous visitors.",
"fr": "L'application publique peut être utilisée par des visiteurs anonymes "
"fr": "L'application publique peut être utilisée par des visiteurs anonymes."
},
"default": false
},

View file

@ -37,7 +37,7 @@ myynh_install() {
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-local==3.2.1
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-MusicBox-Webclient==3.1.0
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-YouTube==3.7
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir mopidy-ytmusic==0.3.8
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-YTMusic==0.3.8
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-RadioNet==0.2.2
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-Podcast==3.0.1
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-Podcast-iTunes==3.0.1

View file

@ -124,7 +124,6 @@ ynh_add_nginx_config
#=================================================
ynh_script_progression --message="Updating a configuration file..."
media_dir="/home/yunohost.multimedia/share/Music"
ynh_add_config --template="../conf/app.conf" --destination="$final_path/$app.conf"
chmod 400 "$final_path/$app.conf"