refactor: remove unused playback methods and source resolution

This commit is contained in:
2026-05-12 12:34:39 +02:00
parent fc1726d1fd
commit 857bd85b4f
3 changed files with 0 additions and 115 deletions

View File

@@ -349,15 +349,6 @@ func clonePlaybackBaseData(data playbackBaseData) playbackBaseData {
}
}
// GetEpisodeMetadata fetches episode notes and thumbnails from AllAnime.
func (s *Service) GetEpisodeMetadata(ctx context.Context, malID int, episode string) (map[string]any, error) {
showID, _, err := s.resolveShowCached(ctx, malID, nil)
if err != nil {
return nil, err
}
return s.allAnimeClient.GetEpisodeMetadata(ctx, showID, episode)
}
func toQualities(sources []StreamSource) []string {
seen := make(map[string]struct{})
var qualities []string