Merge branch 'master' into prpr-patch-fix-thumbnail

This commit is contained in:
prpr 2020-11-14 01:29:38 +00:00
commit 6dc47f2b96

View File

@ -26,6 +26,9 @@ if {[file isdirectory $file]} {
set new [string map {"\n" ""} [ set new [string map {"\n" ""} [
string trim [cgi_get "rename_$attr"]]] string trim [cgi_get "rename_$attr"]]]
set old [$ts get $attr] set old [$ts get $attr]
if {$attr eq "title" || $attr eq "synopsis"} {
set new "\025$new"
}
if {$new ne $old} { if {$new ne $old} {
if {$attr eq "guidance" || if {$attr eq "guidance" ||
[string length $new] > 0} { [string length $new] > 0} {