From fe9b565a9dd230f92a019518f296ebc53f4cd504 Mon Sep 17 00:00:00 2001 From: Timon Ringwald Date: Mon, 15 Aug 2022 11:35:49 +0200 Subject: [PATCH] ParsedTorrent refactored --- parsed_torrent.go | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/parsed_torrent.go b/parsed_torrent.go index 980dd0e..5f7927d 100644 --- a/parsed_torrent.go +++ b/parsed_torrent.go @@ -3,11 +3,15 @@ package model import "git.milar.in/milarin/anilist" type ParsedTorrent struct { - Torrent *Torrent - Anime *anilist.Media - Title string - Episode int - Languages []string + // parsed data + Anime *anilist.Media + OriginalAnimeTitle string + Episode int + Languages []string + Subtitles []string Resolution - Parser *Parser + + // meta data + Torrent *Torrent + Parser *Parser }