mirror of
https://github.com/YunoHost-Apps/minidlna_ynh.git
synced 2024-09-03 19:36:34 +02:00
Small typos
This commit is contained in:
parent
a2aa27491a
commit
0a5790966f
12 changed files with 47 additions and 51 deletions
10
README.md
10
README.md
|
@ -1,6 +1,6 @@
|
||||||
# MiniDLNA for YunoHost
|
# MiniDLNA for YunoHost
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/minidlna)
|
[](https://dash.yunohost.org/appci/app/minidlna)  
|
||||||
[](https://install-app.yunohost.org/?app=minidlna)
|
[](https://install-app.yunohost.org/?app=minidlna)
|
||||||
|
|
||||||
*[Lire ce readme en français.](./README_fr.md)*
|
*[Lire ce readme en français.](./README_fr.md)*
|
||||||
|
@ -31,7 +31,7 @@ Edit the file `/etc/minidlna.conf` to adjust the configuration of MiniDLNA.
|
||||||
## YunoHost specific features
|
## YunoHost specific features
|
||||||
|
|
||||||
* Use shared Multimedia Directories
|
* Use shared Multimedia Directories
|
||||||
* Linked to transmission, nextcloud and all other app which use Multimedia Directories.
|
* Linked to transmission, Nextcloud and all other app which use Multimedia Directories.
|
||||||
|
|
||||||
#### Multi-users support
|
#### Multi-users support
|
||||||
|
|
||||||
|
@ -39,9 +39,8 @@ Not relevant.
|
||||||
|
|
||||||
#### Supported architectures
|
#### Supported architectures
|
||||||
|
|
||||||
* x86-64b - [](https://ci-apps.yunohost.org/ci/apps/minidlna/)
|
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/minidlna/)
|
||||||
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/minidlna/)
|
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/minidlna/)
|
||||||
* Jessie x86-64b - [](https://ci-stretch.nohost.me/ci/apps/minidlna/)
|
|
||||||
|
|
||||||
## Limitations
|
## Limitations
|
||||||
|
|
||||||
|
@ -55,8 +54,7 @@ Not relevant.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Developers infos
|
## Developers infos
|
||||||
----------------
|
|
||||||
|
|
||||||
Please do your pull request to the [testing branch](https://github.com/YunoHost-Apps/minidlna_ynh/tree/testing).
|
Please do your pull request to the [testing branch](https://github.com/YunoHost-Apps/minidlna_ynh/tree/testing).
|
||||||
|
|
||||||
|
|
12
README_fr.md
12
README_fr.md
|
@ -1,6 +1,6 @@
|
||||||
# MiniDLNA pour YunoHost
|
# MiniDLNA pour YunoHost
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/minidlna)
|
[](https://dash.yunohost.org/appci/app/minidlna)  
|
||||||
[](https://install-app.yunohost.org/?app=minidlna)
|
[](https://install-app.yunohost.org/?app=minidlna)
|
||||||
|
|
||||||
*[Read this readme in english.](./README.md)*
|
*[Read this readme in english.](./README.md)*
|
||||||
|
@ -22,7 +22,7 @@ Aucune démo pour cette application.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
Editez le fichier `/etc/minidlna.conf` pour ajuster la configuration de MiniDLNA.
|
Éditez le fichier `/etc/minidlna.conf` pour ajuster la configuration de MiniDLNA.
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ Editez le fichier `/etc/minidlna.conf` pour ajuster la configuration de MiniDLNA
|
||||||
## Fonctionnalités spécifiques à YunoHost
|
## Fonctionnalités spécifiques à YunoHost
|
||||||
|
|
||||||
* Utilise les répertoires multimédia partagés.
|
* Utilise les répertoires multimédia partagés.
|
||||||
* Lié à transmission, nextcloud et toute autre application qui utilise les répertoires multimédia.
|
* Lié à transmission, Nextcloud et toute autre application qui utilise les répertoires multimédia.
|
||||||
|
|
||||||
#### Support multi-utilisateurs
|
#### Support multi-utilisateurs
|
||||||
|
|
||||||
|
@ -39,9 +39,8 @@ Non applicable.
|
||||||
|
|
||||||
#### Architectures supportées.
|
#### Architectures supportées.
|
||||||
|
|
||||||
* x86-64b - [](https://ci-apps.yunohost.org/ci/apps/minidlna/)
|
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/minidlna/)
|
||||||
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/minidlna/)
|
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/minidlna/)
|
||||||
* Jessie x86-64b - [](https://ci-stretch.nohost.me/ci/apps/minidlna/)
|
|
||||||
|
|
||||||
## Limitations
|
## Limitations
|
||||||
|
|
||||||
|
@ -55,8 +54,7 @@ Non applicable.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Informations à l'intention des développeurs
|
## Informations à l'intention des développeurs
|
||||||
----------------
|
|
||||||
|
|
||||||
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/minidlna_ynh/tree/testing).
|
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/minidlna_ynh/tree/testing).
|
||||||
|
|
||||||
|
|
|
@ -1,25 +1,25 @@
|
||||||
# Minidlna
|
# MiniDLNA
|
||||||
|
|
||||||
Minidlna is a lightweight [dlna](https://fr.wikipedia.org/wiki/Digital_Living_Network_Alliance) server.
|
MiniDLNA is a lightweight [DLNA](https://fr.wikipedia.org/wiki/Digital_Living_Network_Alliance) server.
|
||||||
It allows to easily share multimedia files with any compatible devices present on the LAN.
|
It allows to easily share multimedia files with any compatible devices present on the LAN.
|
||||||
|
|
||||||
Minidlna does not have a graphical interface, but does not require any special configuration.
|
MiniDLNA does not have a graphical interface, but does not require any special configuration.
|
||||||
|
|
||||||
### What multimedia files are shared?
|
### What multimedia files are shared?
|
||||||
Minidlna is sharing the folder /home/yunohost.multimedia/share, which is common to each user in /home/$USER/Multimedia/Share.
|
MiniDLNA is sharing the folder `/home/yunohost.multimedia/share`, which is common to each user in `/home/$USER/Multimedia/Share`.
|
||||||
[More information about multimedia files here.](https://github.com/YunoHost-Apps/yunohost.multimedia)
|
[More information about multimedia files here.](https://github.com/YunoHost-Apps/yunohost.multimedia)
|
||||||
|
|
||||||
If [transmission](https://github.com/YunoHost-Apps/transmission_ynh) is installed, the downloaded media will be available in dlna.
|
If [Transmission](https://github.com/YunoHost-Apps/transmission_ynh) is installed, the downloaded media will be available in DLNA.
|
||||||
|
|
||||||
### How to view and play media files shared by minidlna?
|
### How to view and play media files shared by miniDLNA?
|
||||||
To view and play media files, all you need is a compatible client DLNA/UPNP.
|
To view and play media files, all you need is a compatible client DLNA/UPNP.
|
||||||
|
|
||||||
The majority of set-top boxes provided by ISPs are DLNA compatible, simply look for sources of external media.
|
The majority of set-top boxes provided by ISPs are DLNA compatible, simply look for sources of external media.
|
||||||
This is also true for the latest generation game consoles connected to internet.
|
This is also true for the latest generation game consoles connected to internet.
|
||||||
|
|
||||||
Some TV and blu-ray player are also DLNA compatible.
|
Some TV and Blu-ray player are also DLNA compatible.
|
||||||
|
|
||||||
In any case, it is generally sufficient to seek external sources, USB etc, to find the DLNA server, displayed under the name **Yunohost DLNA**.
|
In any case, it is generally sufficient to seek external sources, USB etc., to find the DLNA server, displayed under the name **YunoHost DLNA**.
|
||||||
|
|
||||||
There are a multitude of DLNA client for all platforms, including the following [not exhaustive list](https://en.wikipedia.org/wiki/List_of_UPnP_AV_media_servers_and_clients#UPnP_AV_clients).
|
There are a multitude of DLNA client for all platforms, including the following [not exhaustive list](https://en.wikipedia.org/wiki/List_of_UPnP_AV_media_servers_and_clients#UPnP_AV_clients).
|
||||||
In general, a DLNA client does not require any special configuration to access the media sharing.
|
In general, a DLNA client does not require any special configuration to access the media sharing.
|
||||||
|
|
|
@ -1,25 +1,25 @@
|
||||||
# Minidlna
|
# MiniDLNA
|
||||||
|
|
||||||
Minidlna est un serveur [dlna](https://fr.wikipedia.org/wiki/Digital_Living_Network_Alliance) ultra léger.
|
MiniDLNA est un serveur [DLNA](https://fr.wikipedia.org/wiki/Digital_Living_Network_Alliance) ultra léger.
|
||||||
Il permet de partager très simplement les fichiers multimédias avec tout les appareils compatibles présent sur le réseau local.
|
Il permet de partager très simplement les fichiers multimédias avec tout les appareils compatibles présent sur le réseau local.
|
||||||
|
|
||||||
Minidlna ne dispose pas d'une interface graphique, mais ne nécessite pas de configuration particulière.
|
Minidlna ne dispose pas d'une interface graphique, mais ne nécessite pas de configuration particulière.
|
||||||
|
|
||||||
### Quels fichiers multimédias sont partagés?
|
### Quels fichiers multimédias sont partagés?
|
||||||
Minidlna partage le dossier /home/yunohost.multimedia/share, qui est commun à chaque utilisateur dans le dossier /home/$USER/Multimedia/Share.
|
Minidlna partage le dossier `/home/yunohost.multimedia/share`, qui est commun à chaque utilisateur dans le dossier `/home/$USER/Multimedia/Share`.
|
||||||
[Plus d'informations sur les dossiers multimedia ici.](https://github.com/YunoHost-Apps/yunohost.multimedia)
|
[Plus d'informations sur les dossiers multimedia ici.](https://github.com/YunoHost-Apps/yunohost.multimedia)
|
||||||
|
|
||||||
Si [transmission](https://github.com/YunoHost-Apps/transmission_ynh) est installé, les médias téléchargés seront disponible en dlna.
|
Si [Transmission](https://github.com/YunoHost-Apps/transmission_ynh) est installé, les médias téléchargés seront disponible en DLNA.
|
||||||
|
|
||||||
### Comment consulter et lire les fichiers multimédias partagés par minidlna?
|
### Comment consulter et lire les fichiers multimédias partagés par miniDLNA?
|
||||||
Pour voir et lire les fichiers multimédias, il suffit de disposer d'un client compatible DLNA/UPNP.
|
Pour voir et lire les fichiers multimédias, il suffit de disposer d'un client compatible DLNA/UPNP.
|
||||||
|
|
||||||
La majorité des décodeurs TV fourni par les FAI sont compatible DLNA, il suffit de chercher les sources de médias externe.
|
La majorité des décodeurs TV fourni par les FAI sont compatible DLNA, il suffit de chercher les sources de médias externe.
|
||||||
C'est le cas également pour les consoles de jeux dernière génération connectée à internet.
|
C'est le cas également pour les consoles de jeux dernière génération connectée à internet.
|
||||||
|
|
||||||
Certaines TV et lecteur blu-ray sont également compatibles DLNA.
|
Certaines TV et lecteur Blu-ray sont également compatibles DLNA.
|
||||||
|
|
||||||
Dans tout les cas, il suffit en général d'aller chercher les sources externes, USB etc, pour trouver le serveur DLNA, affiché sous le nom **Yunohost DLNA**.
|
Dans tout les cas, il suffit en général d'aller chercher les sources externes, USB etc., pour trouver le serveur DLNA, affiché sous le nom **Yunohost DLNA**.
|
||||||
|
|
||||||
Il existe une multitude de client DLNA pour toutes les plateformes, dont voici une [liste non exhaustive](https://en.wikipedia.org/wiki/List_of_UPnP_AV_media_servers_and_clients#UPnP_AV_clients).
|
Il existe une multitude de client DLNA pour toutes les plateformes, dont voici une [liste non exhaustive](https://en.wikipedia.org/wiki/List_of_UPnP_AV_media_servers_and_clients#UPnP_AV_clients).
|
||||||
De manière générale, un client DLNA ne nécessite pas de configuration particulière pour accéder au partage de fichiers multimédias.
|
De manière générale, un client DLNA ne nécessite pas de configuration particulière pour accéder au partage de fichiers multimédias.
|
||||||
|
|
|
@ -27,8 +27,8 @@
|
||||||
{
|
{
|
||||||
"name": "version",
|
"name": "version",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "Select the minidlna version to install",
|
"en": "Select the MiniDLNA version to install",
|
||||||
"fr": "Choix de la version de minidlna à installer"
|
"fr": "Choix de la version de MiniDLNA à installer"
|
||||||
},
|
},
|
||||||
"choices": ["A. Version of the Debian repositories - recommended", "B. Latest version available for Debian"],
|
"choices": ["A. Version of the Debian repositories - recommended", "B. Latest version available for Debian"],
|
||||||
"default": "A. Version of the Debian repositories - recommended"
|
"default": "A. Version of the Debian repositories - recommended"
|
||||||
|
|
|
@ -33,7 +33,7 @@ fi
|
||||||
#=================================================
|
#=================================================
|
||||||
# RE-INSTALL MINIDLNA FROM BACKPORTS
|
# RE-INSTALL MINIDLNA FROM BACKPORTS
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Re-installing minidlna from backports..." --weight=9
|
ynh_script_progression --message="Re-installing MiniDLNA from backports..." --weight=9
|
||||||
|
|
||||||
# Remove the current version of minidlna
|
# Remove the current version of minidlna
|
||||||
ynh_package_remove minidlna
|
ynh_package_remove minidlna
|
||||||
|
|
|
@ -31,7 +31,7 @@ fi
|
||||||
#=================================================
|
#=================================================
|
||||||
# RE-INSTALL MINIDLNA FROM STABLE
|
# RE-INSTALL MINIDLNA FROM STABLE
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Re-installing minidlna from stable..." --weight=9
|
ynh_script_progression --message="Re-installing MiniDLNA from stable..." --weight=9
|
||||||
|
|
||||||
# Remove the current version of minidlna
|
# Remove the current version of minidlna
|
||||||
ynh_package_remove minidlna
|
ynh_package_remove minidlna
|
||||||
|
|
|
@ -19,35 +19,35 @@ ynh_abort_if_errors
|
||||||
#=================================================
|
#=================================================
|
||||||
# LOAD SETTINGS
|
# LOAD SETTINGS
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Loading installation settings..."
|
ynh_print_info --message="Loading installation settings..."
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
version=$(ynh_app_setting_get --app=$app --key=version)
|
version=$(ynh_app_setting_get --app=$app --key=version)
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC BACKUP
|
# DECLARE DATA AND CONF FILES TO BACKUP
|
||||||
|
#=================================================
|
||||||
|
ynh_print_info --message="Declaring files to be backed up..."
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP OF THE APT SOURCE
|
# BACKUP OF THE APT SOURCE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
if [ $version = "B" ]
|
if [ $version = "B" ]
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Backing up the APT source file..."
|
|
||||||
ynh_backup --src_path="/etc/apt/sources.list.d/minidlna.list"
|
ynh_backup --src_path="/etc/apt/sources.list.d/minidlna.list"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP OF INOTIFY'S CONFIG
|
# BACKUP OF INOTIFY'S CONFIG
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Backing up inotify's config..."
|
|
||||||
|
|
||||||
ynh_backup --src_path="/etc/sysctl.d/90-inotify_minidlna.conf"
|
ynh_backup --src_path="/etc/sysctl.d/90-inotify_minidlna.conf"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP OF MINIDLNA CONFIGURATION
|
# BACKUP OF MINIDLNA CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Backing up minidlna configuration..."
|
|
||||||
|
|
||||||
ynh_backup --src_path="/etc/minidlna.conf"
|
ynh_backup --src_path="/etc/minidlna.conf"
|
||||||
|
|
||||||
|
@ -55,4 +55,4 @@ ynh_backup --src_path="/etc/minidlna.conf"
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_script_progression --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)." --last
|
ynh_print_info --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)."
|
||||||
|
|
|
@ -37,7 +37,7 @@ ynh_app_setting_set --app=$app --key=admin_mail_html --value=1
|
||||||
#=================================================
|
#=================================================
|
||||||
# CHECK DEBIAN'S CODENAME
|
# CHECK DEBIAN'S CODENAME
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Checking debian's codename..."
|
ynh_script_progression --message="Checking Debian's codename..."
|
||||||
|
|
||||||
codename=$(ynh_debian_release)
|
codename=$(ynh_debian_release)
|
||||||
test -z "$codename" && (ynh_die --message="codename empty")
|
test -z "$codename" && (ynh_die --message="codename empty")
|
||||||
|
@ -70,7 +70,7 @@ ynh_multimedia_build_main_dir
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL MINIDLNA
|
# INSTALL MINIDLNA
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Installing minidlna..." --weight=45
|
ynh_script_progression --message="Installing MiniDLNA..." --weight=45
|
||||||
|
|
||||||
if [ ${version:0:1} = "B" ]
|
if [ ${version:0:1} = "B" ]
|
||||||
then
|
then
|
||||||
|
@ -154,4 +154,4 @@ ynh_send_readme_to_admin --app_message="mail_to_send" --recipients="root" --type
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_script_progression --message="Installation of $app completed" --last
|
ynh_script_progression --message="Installation of MiniDLNA completed" --last
|
||||||
|
|
|
@ -27,7 +27,7 @@ port=$(ynh_app_setting_get --app=$app --key=port)
|
||||||
# Check if the service is declared in YunoHost
|
# Check if the service is declared in YunoHost
|
||||||
if ynh_exec_fully_quiet yunohost service status minidlna
|
if ynh_exec_fully_quiet yunohost service status minidlna
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Removing $app service..."
|
ynh_script_progression --message="Removing MiniDLNA service..."
|
||||||
yunohost service remove minidlna
|
yunohost service remove minidlna
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -67,4 +67,4 @@ fi
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_script_progression --message="Removal of $app completed" --last
|
ynh_script_progression --message="Removal of MiniDLNA completed" --last
|
||||||
|
|
|
@ -47,7 +47,7 @@ ynh_multimedia_build_main_dir
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL MINIDLNA
|
# INSTALL MINIDLNA
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Installing minidlna" --weight=45
|
ynh_script_progression --message="Installing MiniDLNA" --weight=45
|
||||||
|
|
||||||
if [ ${version:0:1} = "B" ]
|
if [ ${version:0:1} = "B" ]
|
||||||
then
|
then
|
||||||
|
@ -114,4 +114,4 @@ ynh_send_readme_to_admin --app_message="mail_to_send" --recipients="root" --type
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_script_progression --message="Restoration completed for $app" --last
|
ynh_script_progression --message="Restoration completed for MiniDLNA" --last
|
||||||
|
|
|
@ -170,4 +170,4 @@ ynh_send_readme_to_admin --app_message="mail_to_send" --recipients="root" --type
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_script_progression --message="Upgrade of $app completed" --last
|
ynh_script_progression --message="Upgrade of MiniDLNA completed" --last
|
||||||
|
|
Loading…
Add table
Reference in a new issue