Skip to content

Commit

Permalink
Add fallback title
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolMintChocolate committed Aug 5, 2024
1 parent 61b55ed commit 7dc468e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions comet/utils/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,4 +552,7 @@ def format_title(torrent_title: str, torrent_size: int, torrent_tracker: str, to
title += f"🔎 {torrent_tracker}"
if "Languages" in config["resultFormat"] or "All" in config["resultFormat"]:
title += f"{torrent_languages}"
if title == "":
# Without this, Streamio shows SD as the result, which is confusing
title = "Empty result format configuration"
return title

0 comments on commit 7dc468e

Please sign in to comment.