From 0a28c6b415567517a38af9b8a3d3ba9030fdd521 Mon Sep 17 00:00:00 2001 From: Timon Ringwald Date: Sun, 21 Aug 2022 14:38:44 +0200 Subject: [PATCH] String() improved --- parsed_torrent.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/parsed_torrent.go b/parsed_torrent.go index b487c12..bad5e02 100644 --- a/parsed_torrent.go +++ b/parsed_torrent.go @@ -22,11 +22,12 @@ type ParsedTorrent struct { } func (t ParsedTorrent) String() string { - return fmt.Sprintf("title: %s | episode: %d | resolution: %s | languages: %s | subtitles: %s", + return fmt.Sprintf("title: %s | episode: %d | resolution: %s | languages: %s | subtitles: %s | %s", t.Anime.Title.Native, t.Episode, t.Resolution, strings.Join(t.Languages, ", "), strings.Join(t.Subtitles, ", "), + t.Torrent.StringWithoutTitle(), ) }