minidlna: fix issues

Removed cover resizing patch. It doesn't work right.

Removed SIGHUP reload. While minidlna handles it, it needs work to
function properly.

Removed service_triggers. They don't work for similar reasons as above.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-03-02 17:11:29 -08:00
parent 5c4480451c
commit 733aae9584
3 changed files with 3 additions and 92 deletions
+2 -11
View File
@@ -45,7 +45,6 @@ minidlna_create_config() {
{ [ -z "$interface" ] || [ -t "$port" ]; } && return 1
mkdir -p /var/etc
{
echo "# this file is generated automatically, don't edit"
echo "port=$port"
@@ -68,10 +67,10 @@ minidlna_create_config() {
minidlna_cfg_addstr "$cfg" root_container '.'
minidlna_cfg_addstr "$cfg" uuid '019f9a56-ff60-44c0-9edc-eae88d09fa05'
config_list_foreach "$cfg" "media_dir" minidlna_cfg_add_media_dir
} > "$MINIDLNA_CONFIG_FILE"
}
return 0
}
} > "$MINIDLNA_CONFIG_FILE"
start_service() {
local enabled
@@ -105,11 +104,3 @@ start_service() {
procd_set_param respawn
procd_close_instance
}
reload_service() {
procd_send_signal "$PROG"
}
service_triggers() {
procd_add_reload_trigger "minidlna"
}