feat: update provider interface for title-based search
This commit is contained in:
@@ -23,5 +23,5 @@ type Subtitle struct {
|
||||
|
||||
type Provider interface {
|
||||
Name() string
|
||||
GetStreams(ctx context.Context, animeID int, episode string, mode string) (*StreamResult, error)
|
||||
GetStreams(ctx context.Context, animeID int, titleCandidates []string, episode string, mode string) (*StreamResult, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user