feat: torrent streaming with hls transcoding (#1)
* feat: add ffmpeg for hls streaming * feat: torrent streaming with hls transcoding - add nyaa.si torrent search client - add streaming service using anacrolix/torrent - add hls transcoding via ffmpeg for browser playback - add watch page with episode selection - add socks5 proxy support via TORRENT_PROXY env - switch to modernc.org/sqlite (pure go, no cgo conflicts) - update dockerfile with ffmpeg
This commit is contained in:
@@ -51,3 +51,15 @@ func (s *Service) GetAnimeDetails(ctx context.Context, id int, userID string) (j
|
||||
func (s *Service) GetRelations(id int) []jikan.RelationEntry {
|
||||
return s.jikanClient.GetFullRelations(id)
|
||||
}
|
||||
|
||||
func (s *Service) GetEpisodes(id int, page int) (jikan.EpisodesResult, error) {
|
||||
return s.jikanClient.GetEpisodes(id, page)
|
||||
}
|
||||
|
||||
func (s *Service) GetAllEpisodes(id int) ([]jikan.Episode, error) {
|
||||
return s.jikanClient.GetAllEpisodes(id)
|
||||
}
|
||||
|
||||
func (s *Service) GetAnime(id int) (jikan.Anime, error) {
|
||||
return s.jikanClient.GetAnimeByID(id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user