mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
daemon_control/yWeb: add minidlna support
Origin commit data
------------------
Branch: ni/coolstream
Commit: 431f222000
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-01-06 (Wed, 06 Jan 2021)
Origin message was:
------------------
- daemon_control/yWeb: add minidlna support
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -423,6 +423,8 @@ daemon_item.fcm_desc Zeigt die Anrufliste der FRITZ!Box und noch vieles mehr ...
|
|||||||
daemon_item.fcm_name FritzCallMonitor
|
daemon_item.fcm_name FritzCallMonitor
|
||||||
daemon_item.inadyn_desc Internet Automated Dynamic DNS Client
|
daemon_item.inadyn_desc Internet Automated Dynamic DNS Client
|
||||||
daemon_item.inadyn_name In-a-Dyn
|
daemon_item.inadyn_name In-a-Dyn
|
||||||
|
daemon_item.minidlna_desc Einfacher DLNA-Server
|
||||||
|
daemon_item.minidlna_name ReadyMedia (MiniDLNA)
|
||||||
daemon_item.nfsserver_desc NFS Kernel Server
|
daemon_item.nfsserver_desc NFS Kernel Server
|
||||||
daemon_item.nfsserver_name NFS-Server
|
daemon_item.nfsserver_name NFS-Server
|
||||||
daemon_item.sambaserver_desc Server-Message-Block-Protokoll (SMB) Implementierung
|
daemon_item.sambaserver_desc Server-Message-Block-Protokoll (SMB) Implementierung
|
||||||
|
@@ -423,6 +423,8 @@ daemon_item.fcm_desc Shows FRITZ!Box call list and much more ...
|
|||||||
daemon_item.fcm_name FritzCallMonitor
|
daemon_item.fcm_name FritzCallMonitor
|
||||||
daemon_item.inadyn_desc Internet Automated Dynamic DNS Client
|
daemon_item.inadyn_desc Internet Automated Dynamic DNS Client
|
||||||
daemon_item.inadyn_name In-a-Dyn
|
daemon_item.inadyn_name In-a-Dyn
|
||||||
|
daemon_item.minidlna_desc Simple DLNA server
|
||||||
|
daemon_item.minidlna_name ReadyMedia (MiniDLNA)
|
||||||
daemon_item.nfsserver_desc NFS kernel server
|
daemon_item.nfsserver_desc NFS kernel server
|
||||||
daemon_item.nfsserver_name NFS server
|
daemon_item.nfsserver_name NFS server
|
||||||
daemon_item.sambaserver_desc Server-Message-Block-Protocol (SMB) implementation
|
daemon_item.sambaserver_desc Server-Message-Block-Protocol (SMB) implementation
|
||||||
|
@@ -194,6 +194,25 @@
|
|||||||
<td>
|
<td>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<!-- minidlna -->
|
||||||
|
<tr class="list">
|
||||||
|
<td>
|
||||||
|
<img src="images/{=if-file-exists:/var/etc/.minidlnad~check_green~x_red=}.png" class="status">
|
||||||
|
djmount
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
{=if-file-exists:/var/etc/.minidlnad~
|
||||||
|
<input type="button" value="{=L:ni.stop=}" onclick='Y_NI_Tools("p_minidlna_stop", 5000);'/>
|
||||||
|
~
|
||||||
|
<input type="button" value="{=L:ni.start=}" onclick='Y_NI_Tools("p_minidlna_start", 5000);'/>
|
||||||
|
=}
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<!-- xupnpd -->
|
<!-- xupnpd -->
|
||||||
<tr class="list">
|
<tr class="list">
|
||||||
<td>
|
<td>
|
||||||
|
@@ -102,6 +102,16 @@ case "$1" in
|
|||||||
$y_path_sbin/service djmount stop >/dev/console
|
$y_path_sbin/service djmount stop >/dev/console
|
||||||
rm -f /var/etc/.djmount
|
rm -f /var/etc/.djmount
|
||||||
;;
|
;;
|
||||||
|
minidlna_start)
|
||||||
|
echo "[$BNAME] minidlna start"
|
||||||
|
touch /var/etc/.minidlnad
|
||||||
|
$y_path_sbin/service minidlnad start >/dev/console
|
||||||
|
;;
|
||||||
|
minidlna_stop)
|
||||||
|
echo "[$BNAME] minidlna stop"
|
||||||
|
$y_path_sbin/service minidlnad stop >/dev/console
|
||||||
|
rm -f /var/etc/.minidlnad
|
||||||
|
;;
|
||||||
xud_start)
|
xud_start)
|
||||||
echo "[$BNAME] xupnpd start"
|
echo "[$BNAME] xupnpd start"
|
||||||
touch /var/etc/.xupnpd
|
touch /var/etc/.xupnpd
|
||||||
|
@@ -488,6 +488,8 @@ case "$action" in
|
|||||||
p_ush_stop) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh ush_stop;;
|
p_ush_stop) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh ush_stop;;
|
||||||
p_djm_start) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh djm_start;;
|
p_djm_start) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh djm_start;;
|
||||||
p_djm_stop) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh djm_stop;;
|
p_djm_stop) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh djm_stop;;
|
||||||
|
p_minidlna_start) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh minidlna_start;;
|
||||||
|
p_minidlna_stop) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh minidlna_stop;;
|
||||||
p_xud_start) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh xud_start;;
|
p_xud_start) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh xud_start;;
|
||||||
p_xud_stop) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh xud_stop;;
|
p_xud_stop) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh xud_stop;;
|
||||||
p_cro_start) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh cro_start;;
|
p_cro_start) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh cro_start;;
|
||||||
|
@@ -73,6 +73,7 @@ daemons_data_t daemons_data[]=
|
|||||||
{LOCALE_DAEMON_ITEM_DROPBEAR_NAME, LOCALE_DAEMON_ITEM_DROPBEAR_DESC, NEUTRINO_ICON_HINT_IMAGELOGO, "dropbear", 0 ,0},
|
{LOCALE_DAEMON_ITEM_DROPBEAR_NAME, LOCALE_DAEMON_ITEM_DROPBEAR_DESC, NEUTRINO_ICON_HINT_IMAGELOGO, "dropbear", 0 ,0},
|
||||||
{LOCALE_DAEMON_ITEM_DJMOUNT_NAME, LOCALE_DAEMON_ITEM_DJMOUNT_DESC, NEUTRINO_ICON_HINT_IMAGELOGO, "djmount", 0 ,0},
|
{LOCALE_DAEMON_ITEM_DJMOUNT_NAME, LOCALE_DAEMON_ITEM_DJMOUNT_DESC, NEUTRINO_ICON_HINT_IMAGELOGO, "djmount", 0 ,0},
|
||||||
{LOCALE_DAEMON_ITEM_USHARE_NAME, LOCALE_DAEMON_ITEM_USHARE_DESC, NEUTRINO_ICON_HINT_IMAGELOGO, "ushare", 0 ,0},
|
{LOCALE_DAEMON_ITEM_USHARE_NAME, LOCALE_DAEMON_ITEM_USHARE_DESC, NEUTRINO_ICON_HINT_IMAGELOGO, "ushare", 0 ,0},
|
||||||
|
{LOCALE_DAEMON_ITEM_MINIDLNA_NAME, LOCALE_DAEMON_ITEM_MINIDLNA_DESC, NEUTRINO_ICON_HINT_IMAGELOGO, "minidlnad", 0 ,0},
|
||||||
{LOCALE_DAEMON_ITEM_XUPNPD_NAME, LOCALE_DAEMON_ITEM_XUPNPD_DESC, NEUTRINO_ICON_HINT_IMAGELOGO, "xupnpd", 0 ,0},
|
{LOCALE_DAEMON_ITEM_XUPNPD_NAME, LOCALE_DAEMON_ITEM_XUPNPD_DESC, NEUTRINO_ICON_HINT_IMAGELOGO, "xupnpd", 0 ,0},
|
||||||
{LOCALE_DAEMON_ITEM_CROND_NAME, LOCALE_DAEMON_ITEM_CROND_DESC, NEUTRINO_ICON_HINT_IMAGELOGO, "crond", 0 ,0}
|
{LOCALE_DAEMON_ITEM_CROND_NAME, LOCALE_DAEMON_ITEM_CROND_DESC, NEUTRINO_ICON_HINT_IMAGELOGO, "crond", 0 ,0}
|
||||||
};
|
};
|
||||||
|
@@ -450,6 +450,8 @@ typedef enum
|
|||||||
LOCALE_DAEMON_ITEM_FCM_NAME,
|
LOCALE_DAEMON_ITEM_FCM_NAME,
|
||||||
LOCALE_DAEMON_ITEM_INADYN_DESC,
|
LOCALE_DAEMON_ITEM_INADYN_DESC,
|
||||||
LOCALE_DAEMON_ITEM_INADYN_NAME,
|
LOCALE_DAEMON_ITEM_INADYN_NAME,
|
||||||
|
LOCALE_DAEMON_ITEM_MINIDLNA_DESC,
|
||||||
|
LOCALE_DAEMON_ITEM_MINIDLNA_NAME,
|
||||||
LOCALE_DAEMON_ITEM_NFSSERVER_DESC,
|
LOCALE_DAEMON_ITEM_NFSSERVER_DESC,
|
||||||
LOCALE_DAEMON_ITEM_NFSSERVER_NAME,
|
LOCALE_DAEMON_ITEM_NFSSERVER_NAME,
|
||||||
LOCALE_DAEMON_ITEM_SAMBASERVER_DESC,
|
LOCALE_DAEMON_ITEM_SAMBASERVER_DESC,
|
||||||
|
@@ -450,6 +450,8 @@ const char * locale_real_names[] =
|
|||||||
"daemon_item.fcm_name",
|
"daemon_item.fcm_name",
|
||||||
"daemon_item.inadyn_desc",
|
"daemon_item.inadyn_desc",
|
||||||
"daemon_item.inadyn_name",
|
"daemon_item.inadyn_name",
|
||||||
|
"daemon_item.minidlna_desc",
|
||||||
|
"daemon_item.minidlna_name",
|
||||||
"daemon_item.nfsserver_desc",
|
"daemon_item.nfsserver_desc",
|
||||||
"daemon_item.nfsserver_name",
|
"daemon_item.nfsserver_name",
|
||||||
"daemon_item.sambaserver_desc",
|
"daemon_item.sambaserver_desc",
|
||||||
|
Reference in New Issue
Block a user