Skip to content

Commit 28a9329

Browse files
committed
fix(EmbyRegexp): 提高对 Afusekt 客户端的兼容性 #37
1 parent c087af4 commit 28a9329

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

constants/regexp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type OthersRegexps struct {
2121

2222
var EmbyRegexp = &EmbyRegexps{
2323
Router: RouterRegexps{
24-
VideosHandler: regexp.MustCompile(`(?i)^(/emby)?/videos/\d+/(stream|original)$`),
24+
VideosHandler: regexp.MustCompile(`(?i)^(/emby)?/Videos/\d+/(stream|original)(\.\w+)?$`),
2525
ModifyBaseHtmlPlayer: regexp.MustCompile(`(?i)^/web/modules/htmlvideoplayer/basehtmlplayer.js$`),
2626
ModifyIndex: regexp.MustCompile(`^/web/index.html$`),
2727
ModifyPlaybackInfo: regexp.MustCompile(`(?i)^(/emby)?/Items/\d+/PlaybackInfo$`),

0 commit comments

Comments
 (0)