mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
use --og-title
as fallback if template gives blank result
This commit is contained in:
parent
36f2c446af
commit
48a6789d36
|
@ -4857,7 +4857,7 @@ class HttpCli(object):
|
|||
while title.endswith(" - "):
|
||||
title = title[:3]
|
||||
|
||||
if vn.flags.get("og_s_title"):
|
||||
if vn.flags.get("og_s_title") or not title:
|
||||
title = str(vn.flags.get("og_title") or "")
|
||||
|
||||
for tag, hname in tagmap.items():
|
||||
|
|
Loading…
Reference in a new issue