aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2026-01-16 12:03:21 +0530
committerBobby <[email protected]>2026-01-16 12:03:21 +0530
commit7a8a9a47c6a7f442f393fc0ab52175db60ab5e66 (patch)
treed89fd6fc43b11f0e0ae329f0fe583b0e4b99a646
parente72166bbe9669abe81e093ab398af066341c4ad7 (diff)
downloadmetachan-7a8a9a47c6a7f442f393fc0ab52175db60ab5e66.tar.xz
metachan-7a8a9a47c6a7f442f393fc0ab52175db60ab5e66.zip
Rename streaming source type from "M3U8" to "HLS" for clarity in GetEpisodeLinks function
-rw-r--r--utils/api/streaming/streaming.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/api/streaming/streaming.go b/utils/api/streaming/streaming.go
index cf55a70..570a744 100644
--- a/utils/api/streaming/streaming.go
+++ b/utils/api/streaming/streaming.go
@@ -420,7 +420,7 @@ func (c *AllAnimeClient) GetEpisodeLinks(showID, episode, mode string) ([]AnimeS
if sourceInfo.Type == "direct" {
// Transform type to M3U8 or MP4 based on URL
if strings.HasSuffix(sourceInfo.URL, ".m3u8") {
- sourceInfo.Type = "M3U8"
+ sourceInfo.Type = "HLS"
} else {
sourceInfo.Type = "MP4"
}