Make {system dlnaurl} handle any valid pathname for a file

This commit is contained in:
df 2021-03-15 13:31:38 +00:00
parent ef3513d4a2
commit 01afb288bb
1 changed files with 2 additions and 2 deletions

View File

@ -212,8 +212,8 @@ proc entry {file} {{i 0}} {
# Indexed
set dlna 0
if {$::dlnaok && $::model eq "HDR" && [llength [
system dlnaurl [file normalize $file]]]} {
if {$::dlnaok && $::model eq "HDR" &&
[llength [system dlnaurl $file]]} {
icon "/img/dlna.png" "Indexed by DLNA Server"
set dlna 1
}