feat: better jav search support

This commit is contained in:
Simon Ding
2024-08-19 17:39:37 +08:00
parent 821d6859ff
commit ff63084014
13 changed files with 235 additions and 8 deletions

View File

@@ -150,6 +150,7 @@ func (c *Client) AddMediaWatchlist(m *ent.Media, episodes []int) (*ent.Media, er
SetTargetDir(m.TargetDir).
SetDownloadHistoryEpisodes(m.DownloadHistoryEpisodes).
SetLimiter(m.Limiter).
SetExtras(m.Extras).
AddEpisodeIDs(episodes...).
Save(context.TODO())
return r, err