fix: Emby在播放strm文件时无法正常加载外置字幕 - #188
Open
JustDreemurr wants to merge 3 commits into
Open
Conversation
Owner
|
应该是未播放时候因为字幕就是第一个文件,所以 index 是0。 |
Owner
|
播放前用网络检测有效性不太合适,会影响起播速度。 |
Author
|
今天测试了一下似乎可以加载了,但是昨天确实是播部分strm时反复重试也加载不出来字幕..可能和网络环境有关? |
Owner
|
油猴请求的信息也会有缓存,下次可以试一下刷新页面后再播放。 |
Owner
|
还有一些其他的曲线方法,比方说神医可以扫信息等。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Emby在播放strm文件时,由于无法加载文件而导致请求index时默认请求0,无法获取正确的字幕文件,因而需要通过动态探测获取需要的字幕文件,在代码里规定16次应该是绰绰有余了...
同时加入了偏移量判断以匹配从网页选择的字幕