Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

外挂字幕bug #7

Open
ilime666 opened this issue Nov 4, 2024 · 34 comments
Open

外挂字幕bug #7

ilime666 opened this issue Nov 4, 2024 · 34 comments
Labels
bug Something isn't working

Comments

@ilime666
Copy link

ilime666 commented Nov 4, 2024

当前版本(v0.0.5)外挂字幕貌似有bug?今天试了各种客户端视频可正常播放,但都无法调用字幕,之前(v0.0.3)没这个问题。

Port: 9000                                  # MideWarp监听端口

MediaServer:                                # 媒体服务器相关设置
  Type: Emby                                # 媒体服务器类型(可选选项:Emby)
  ADDR: http://192.168.1.199:8096               # 媒体服务器地址
  AUTH: fddd50be78e14fbca22277ef4c546011                      # 媒体服务器认证方式

Cache:                                      # 缓存设置
  Type: Memory                              # 缓存类型(可选项:Memory内存缓存)
  WebCache: False                           # 是否启用Web缓存中间件(若MdiaWarp离上游服务距离较近则不建议启用)

Logger:                                     # 日志设定
  AccessLogger:                             # 访问日志设定
    Console: True                           # 是否将访问日志文件输出到终端中
    File: False                             # 是否将访问日志文件记录到文件中
  ServiceLogger:                            # 服务日志设定
    Console: True                           # 是否将服务日志文件输出到终端中
    File: True                              # 是否将服务日志文件记录到文件中

Web:                                        # Web页面修改相关设置
  Enable: True                              # 总开关
  Custom: True                              # 是否加载自定义静态资源
  Index: True                               # 是否从static目录读取index.html文件 
  Head: |                                   # 是否添加自定义字段到index.html的HEAD中
    <script src="/MediaWarp/static/custom/emby-front-end-mod/actor-plus.js"></script>
    <script src="/MediaWarp/static/custom/emby-front-end-mod/emby-swiper.js"></script>
    <script src="/MediaWarp/static/custom/emby-front-end-mod/emby-tab.js"></script>
    <script src="/MediaWarp/static/custom/emby-front-end-mod/fanart-show.js"></script>
    <script src="/MediaWarp/static/custom/emby-front-end-mod/playbackRate.js"></script>

  ExternalPlayerUrl: True                   # 是否开启外置播放器
  ActorPlus: True                           # 过滤没有头像的演员和制作人员
  FanartShow: False                         # 显示同人图(fanart图)
  Danmaku: True                             # Web显示弹幕
  BeautifyCSS: True                         # Emby美化CSS样式

ClientFilter:                               # 客户端过滤器
  Enable: False                             # 是否启用客户端过滤器
  Mode: BlackList # WhileList / BlackList   # 黑白名单模式
  ClientList:                               # 名单列表
    - Fileball
    - Infuse

# 302重定向相关配置

HTTPStrm: 
  Enable: True                              # 是否开启HttpStrm重定向
  PrefixList:                               # EmbyServer中Strm文件的前缀(符合该前缀的Strm文件且被正确识别为http协议都会路由到该规则下)
    - D:\media

AlistStrm:                                  # AlistStrm相关配置(Strm文件内容是Alist上文件的路径,目前仅支持适配Alist V3)
  Enable: True                              # 是否启用AlistStrm重定向
  List:                                     # Alist服务关配置列表
    - ADDR: http://192.168.1.199:5244       # Alist服务器地址(MediaWarp可以正常访问到就可以)
      Username: iilime                       # Alist服务器账号
      Password: lqd593926                  # Alist服务器密码
      PrefixList:                           # EmbyServer中Strm文件的前缀(符合该前缀的Strm文件都会路由到该规则下)
        - D:\test
【INFO】    2024-11-05 10:58:46 | HTTP 协议Strm 重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/A%20-%20G/%E5%86%B0%E8%8F%93%20%282012%29/Season%201/%E5%86%B0%E8%8F%93%20-%20S01E12%20-%20%E6%97%A0%E9%99%90%E5%A0%86%E7%A7%AF%E7%9A%84%E3%80%8C%E9%82%A3%E4%B8%AA%E3%80%8D.mkv
【AccessLog】 2024-11-5 10:58:46  | 302 | 3.9554ms   | GET    |101.94.246.57 "/Videos/88688/stream?mediasourceid=8ca28c792fad2b96a5a26cd38c6bbbbf&static=true"
【AccessLog】 2024-11-5 10:58:50  | 200 | 1.899ms    | GET    |101.94.246.57 "/Items/88688/PlaybackInfo?userid=9d882dc8ec514b2ca14652262df0afad"
【AccessLog】 2024-11-5 10:58:50  | 204 | 5.7349ms   | POST   |101.94.246.57 "/Sessions/Playing"
【AccessLog】 2024-11-5 10:59:00  | 204 | 801µs      | POST   |101.94.246.57 "/Sessions/Playing/Progress"
@ilime666 ilime666 changed the title 外挂字幕支持 外挂字幕bug Nov 5, 2024
@Akimio521
Copy link
Owner

看你的请求日志中并没有发现请求了字幕,可以尝试访问/Items/88688/PlaybackInfo?userid=9d882dc8ec514b2ca14652262df0afad查看是否有字幕相关信息

@ilime666
Copy link
Author

ilime666 commented Nov 5, 2024

/Items/88688/PlaybackInfo?userid=9d882dc8ec514b2ca14652262df0afad无字幕信息

以下是v0.0.3的日志

【INFO】 2024-11-5 12:13:57   | getHttpStrmRedirectURL|Http协议Strm重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/A%20-%20G/%E5%86%B0%E8%8F%93%20%282012%29/Season%201/%E5%86%B0%E8%8F%93%20-%20S01E12%20-%20%E6%97%A0%E9%99%90%E5%A0%86%E7%A7%AF%E7%9A%84%E3%80%8C%E9%82%A3%E4%B8%AA%E3%80%8D.mkv
【AcessLog】 2024-11-5 12:13:57  | 302 | 2.7082ms   | GET    |101.94.246.57 "/Videos/88688/stream?mediasourceid=8ca28c792fad2b96a5a26cd38c6bbbbf&static=true"
【AcessLog】 2024-11-5 12:13:59  | 206 | 1.368926s  | GET    |101.94.246.57 "/Videos/88688/8ca28c792fad2b96a5a26cd38c6bbbbf/Subtitles/3/0/Stream."
【AcessLog】 2024-11-5 12:14:02  | 200 | 8.2527ms   | GET    |101.94.246.57 "/Items/88688/PlaybackInfo?userid=9d882dc8ec514b2ca14652262df0afad"
【AcessLog】 2024-11-5 12:14:02  | 204 | 32.2505ms  | POST   |101.94.246.57 "/Sessions/Playing"
【AcessLog】 2024-11-5 12:14:07  | 204 | 790.3µs    | POST   |101.94.246.57 "/Sessions/Playing/Progress"

/Videos/88688/8ca28c792fad2b96a5a26cd38c6bbbbf/Subtitles/3/0/Stream.中是字幕信息,所以我这里v0.0.5确实没有请求字幕

@Akimio521
Copy link
Owner

/Items/88688/PlaybackInfo?userid=9d882dc8ec514b2ca14652262df0afad的响应内容是什么

@ilime666
Copy link
Author

ilime666 commented Nov 5, 2024

Access token is invalid or expired.

@Akimio521
Copy link
Owner

Access token is invalid or expired.

需要拼接你的apikey

@ilime666
Copy link
Author

ilime666 commented Nov 5, 2024

抱歉 没明白您是什么意思 请问应该如何拼接?

@Akimio521
Copy link
Owner

url后面加上&api_key=你的apikey

@Akimio521
Copy link
Owner

我已经大致确定问题原因,需要检查请求播放视频时是否有请求 ItemsServiceQueryItem 失败: 的警告日志

@ilime666
Copy link
Author

ilime666 commented Nov 5, 2024

{
  "MediaSources": [
    {
      "Protocol": "Http",
      "Id": "8ca28c792fad2b96a5a26cd38c6bbbbf",
      "Path": "http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/A%20-%20G/%E5%86%B0%E8%8F%93%20%282012%29/Season%201/%E5%86%B0%E8%8F%93%20-%20S01E12%20-%20%E6%97%A0%E9%99%90%E5%A0%86%E7%A7%AF%E7%9A%84%E3%80%8C%E9%82%A3%E4%B8%AA%E3%80%8D.mkv",
      "Type": "Default",
      "Container": "mkv",
      "Size": 1254092943,
      "Name": "冰菓 - S01E12 - 无限堆积的「那个」",
      "IsRemote": true,
      "HasMixedProtocols": false,
      "RunTimeTicks": 16310180000,
      "SupportsTranscoding": true,
      "SupportsDirectStream": true,
      "SupportsDirectPlay": true,
      "IsInfiniteStream": false,
      "RequiresOpening": false,
      "RequiresClosing": false,
      "RequiresLooping": false,
      "SupportsProbing": false,
      "MediaStreams": [
        {
          "Codec": "hevc",
          "ColorSpace": "bt709",
          "TimeBase": "1/1000",
          "VideoRange": "SDR",
          "DisplayTitle": "1080p HEVC",
          "IsInterlaced": false,
          "BitRate": 6151215,
          "BitDepth": 10,
          "RefFrames": 1,
          "IsDefault": true,
          "IsForced": false,
          "IsHearingImpaired": false,
          "Height": 1080,
          "Width": 1920,
          "AverageFrameRate": 23.976025,
          "RealFrameRate": 23.976025,
          "Profile": "Main 10",
          "Type": "Video",
          "AspectRatio": "16:9",
          "Index": 0,
          "IsExternal": false,
          "IsTextSubtitleStream": false,
          "SupportsExternalStream": false,
          "Protocol": "File",
          "PixelFormat": "yuv420p10le",
          "Level": 123,
          "IsAnamorphic": false,
          "ExtendedVideoType": "None",
          "ExtendedVideoSubType": "None",
          "ExtendedVideoSubTypeDescription": "None",
          "AttachmentSize": 0
        },
        {
          "Codec": "flac",
          "Language": "jpn",
          "TimeBase": "1/1000",
          "DisplayTitle": "Japanese FLAC stereo (默认)",
          "DisplayLanguage": "Japanese",
          "IsInterlaced": false,
          "ChannelLayout": "stereo",
          "BitDepth": 16,
          "Channels": 2,
          "SampleRate": 48000,
          "IsDefault": true,
          "IsForced": false,
          "IsHearingImpaired": false,
          "Type": "Audio",
          "Index": 1,
          "IsExternal": false,
          "IsTextSubtitleStream": false,
          "SupportsExternalStream": false,
          "Protocol": "File",
          "ExtendedVideoType": "None",
          "ExtendedVideoSubType": "None",
          "ExtendedVideoSubTypeDescription": "None",
          "AttachmentSize": 0
        },
        {
          "Codec": "aac",
          "Language": "jpn",
          "TimeBase": "1/1000",
          "DisplayTitle": "Japanese AAC stereo",
          "DisplayLanguage": "Japanese",
          "IsInterlaced": false,
          "ChannelLayout": "stereo",
          "BitRate": 192000,
          "Channels": 2,
          "SampleRate": 48000,
          "IsDefault": false,
          "IsForced": false,
          "IsHearingImpaired": false,
          "Profile": "LC",
          "Type": "Audio",
          "Index": 2,
          "IsExternal": false,
          "IsTextSubtitleStream": false,
          "SupportsExternalStream": false,
          "Protocol": "File",
          "ExtendedVideoType": "None",
          "ExtendedVideoSubType": "None",
          "ExtendedVideoSubTypeDescription": "None",
          "AttachmentSize": 0
        },
        {
          "Codec": "ass",
          "Language": "zh-CN",
          "DisplayTitle": "Chinese Simplified (ASS)",
          "DisplayLanguage": "Chinese Simplified",
          "IsInterlaced": false,
          "IsDefault": false,
          "IsForced": false,
          "IsHearingImpaired": false,
          "Type": "Subtitle",
          "Index": 3,
          "IsExternal": true,
          "IsTextSubtitleStream": true,
          "SupportsExternalStream": true,
          "Path": "D:\\media\\115 网盘(177)\\影视\\动漫\\A - G\\冰菓 (2012)\\Season 1\\冰菓 - S01E12 - 无限堆积的「那个」.chs.ass",
          "Protocol": "File",
          "ExtendedVideoType": "None",
          "ExtendedVideoSubType": "None",
          "ExtendedVideoSubTypeDescription": "None",
          "AttachmentSize": 0
        }
      ],
      "Formats": [],
      "Bitrate": 6151215,
      "RequiredHttpHeaders": {

      },
      "AddApiKeyToDirectStreamUrl": false,
      "ReadAtNativeFramerate": false,
      "DefaultAudioStreamIndex": 1,
      "DefaultSubtitleStreamIndex": 3,
      "ItemId": "88688"
    }
  ],
  "PlaySessionId": "83a2f4c11d604d6c851f73294665a958"
}

@ilime666
Copy link
Author

ilime666 commented Nov 5, 2024

感谢~辛苦了

@Akimio521
Copy link
Owner

需要检查请求播放视频时是否有请求 ItemsServiceQueryItem 失败: 的警告日志

需要先确认这个问题

@ilime666
Copy link
Author

ilime666 commented Nov 5, 2024

需要检查请求播放视频时是否有请求 ItemsServiceQueryItem 失败: 的警告日志

需要先确认这个问题

【INFO】    2024-11-05 14:27:19 | HTTP 协议Strm 重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/A%20-%20G/%E5%86%B0%E8%8F%93%20%282012%29/Season%201/%E5%86%B0%E8%8F%93%20-%20S01E12%20-%20%E6%97%A0%E9%99%90%E5%A0%86%E7%A7%AF%E7%9A%84%E3%80%8C%E9%82%A3%E4%B8%AA%E3%80%8D.mkv
【AccessLog】 2024-11-5 14:27:19  | 302 | 4.8465ms   | GET    |101.94.246.57 "/Videos/88688/stream?mediasourceid=8ca28c792fad2b96a5a26cd38c6bbbbf&static=true"
【AccessLog】 2024-11-5 14:27:22  | 200 | 3.0372ms   | GET    |101.94.246.57 "/Items/88688/PlaybackInfo?api_key=fddd50be78e14fbca22277ef4c546011&userid=9d882dc8ec514b2ca14652262df0afad"
【AccessLog】 2024-11-5 14:27:27  | 204 | 909.4µs    | POST   |101.94.246.57 "/Sessions/Playing/Progress"
【AccessLog】 2024-11-5 14:27:37  | 204 | 1.4899ms   | POST   |101.94.246.57 "/Sessions/Playing/Progress"
【AccessLog】 2024-11-5 14:27:47  | 204 | 1.4748ms   | POST   |101.94.246.57 "/Sessions/Playing/Progress"
【AccessLog】 2024-11-5 14:27:57  | 204 | 1.0649ms   | POST   |101.94.246.57 "/Sessions/Playing/Progress"
【AccessLog】 2024-11-5 14:27:57  | 204 | 887.1µs    | POST   |101.94.246.57 "/Sessions/Playing/Progress"
【AccessLog】 2024-11-5 14:28:07  | 204 | 1.4105ms   | POST   |101.94.246.57 "/Sessions/Playing/Progress"
【AccessLog】 2024-11-5 14:28:17  | 204 | 1.325ms    | POST   |101.94.246.57 "/Sessions/Playing/Progress"
【AccessLog】 2024-11-5 14:28:27  | 204 | 1.195ms    | POST   |101.94.246.57 "/Sessions/Playing/Progress"
【AccessLog】 2024-11-5 14:28:37  | 204 | 4.6719ms   | POST   |101.94.246.57 "/Sessions/Playing/Progress"
【AccessLog】 2024-11-5 14:28:47  | 204 | 1.5674ms   | POST   |101.94.246.57 "/Sessions/Playing/Progress"

播放时未发现警告日志,logs文件夹中之前日志中也没有发现警告日志

@Akimio521
Copy link
Owner

Akimio521 commented Nov 5, 2024

因为v0.0.5扩大的302重定向的匹配路径,最初我判断可能会导致客户端在请求外挂字幕的时候意外匹配成功,然后进入重定向处理流程,导致无法加载外挂字幕

但如果进入重定向处理流程但是并不是请求视频,获取不到一些字段会触发warning,但实际情况是根本没有相关日志,所以现在无法判断

@Akimio521
Copy link
Owner

建议提供一下v0.0.4的电相关日志进行排查,因为0.0.4进行项目重构,差异较大,建议先排除这部分因素

@ilime666
Copy link
Author

ilime666 commented Nov 5, 2024

建议提供一下v0.0.4的v电相关日志进行排查,因为0.0.4进行项目重构,差异较大,建议先排除这部分因素

我无法运行v0.0.4,以下为配置文件 请问是哪里出错了吗

Port: 9000                                  # MideWarp监听端口

MeidaServer:                                # 媒体服务器相关设置
  TYPE: Emby                                # 媒体服务器类型(可选选项:Emby)
  ADDR: http://192.168.1.199:8096               # 媒体服务器地址
  AUTH: fddd50be78e14fbca22277ef4c546011                        # 媒体服务器认证方式

Cache:                                      # 缓存设置
  Type: Memory                              # 缓存类型(可选项:Memory内存缓存)

Logger:                                     # 日志设定
  AccessLogger                              # 访问日志设定
    Console: True                           # 是否将访问日志文件输出到终端中
    File: False                             # 是否将访问日志文件记录到文件中
  ServiceLogger:                            # 服务日志设定
    Console: True                           # 是否将服务日志文件输出到终端中
    File: True                              # 是否将服务日志文件记录到文件中


Web:                                        # Web页面修改相关设置
  Enable: True                              # 总开关
  Custom: True                              # 是否加载自定义静态资源
  Index: True                               # 是否从static目录读取index.html文件 
  Head: |                                   # 是否添加自定义字段到index.html的HEAD中
    <script src="/MediaWarp/static/custom/emby-front-end-mod/actor-plus.js"></script>
    <script src="/MediaWarp/static/custom/emby-front-end-mod/emby-swiper.js"></script>
    <script src="/MediaWarp/static/custom/emby-front-end-mod/emby-tab.js"></script>
    <script src="/MediaWarp/static/custom/emby-front-end-mod/fanart-show.js"></script>
    <script src="/MediaWarp/static/custom/emby-front-end-mod/playbackRate.js"></script>

  ExternalPlayerUrl: True                   # 是否开启外置播放器
  ActorPlus: True                           # 过滤没有头像的演员和制作人员
  FanartShow: False                         # 显示同人图(fanart图)
  Danmaku: True                             # Web显示弹幕
  BeautifyCSS: True                         # Emby美化CSS样式

ClientFilter:                               # 客户端过滤器
  Enable: False                             # 是否启用客户端过滤器
  Mode: BlackList # WhileList / BlackList   # 黑白名单模式
  ClientList:                               # 名单列表
    - Fileball
    - Infuse

# 302重定向相关配置

HTTPStrm: 
  Enable: True                              # 是否开启HttpStrm重定向
  PrefixList:                               # EmbyServer中Strm文件的前缀(符合该前缀的Strm文件且被正确识别为http协议都会路由到该规则下)
    - D:\media

AlistStrm:                                  # AlistStrm相关配置(Strm文件内容是Alist上文件的路径,目前仅支持适配Alist V3)
  Enable: False                              # 是否启用AlistStrm重定向
  List:                                     # Alist服务关配置列表
    - ADDR: http://192.168.1.100:5244       # Alist服务器地址(MediaWarp可以正常访问到就可以)
      Username: admin                       # Alist服务器账号
      Password: adminadmin                  # Alist服务器密码
      PrefixList:                           # EmbyServer中Strm文件的前缀(符合该前缀的Strm文件都会路由到该规则下)
        - /media/strm/MyAlist               # 同一个Alist可以有多个前缀规则
        - /mnt/cd2/strm
    - ADDR: https://xiaoya.com              # 可以填写多个配置
      Username: admin
      Password: adminadmin
      PrefixList: 
        - /media/strm

@Akimio521
Copy link
Owner

建议提供一下v0.0.4的v电相关日志进行排查,因为0.0.4进行项目重构,差异较大,建议先排除这部分因素

我无法运行v0.0.4,以下为配置文件 请问是哪里出错了吗


Port: 9000                                  # MideWarp监听端口



MeidaServer:                                # 媒体服务器相关设置

  TYPE: Emby                                # 媒体服务器类型(可选选项:Emby)

  ADDR: http://192.168.1.199:8096               # 媒体服务器地址

  AUTH: fddd50be78e14fbca22277ef4c546011                        # 媒体服务器认证方式



Cache:                                      # 缓存设置

  Type: Memory                              # 缓存类型(可选项:Memory内存缓存)



Logger:                                     # 日志设定

  AccessLogger                              # 访问日志设定

    Console: True                           # 是否将访问日志文件输出到终端中

    File: False                             # 是否将访问日志文件记录到文件中

  ServiceLogger:                            # 服务日志设定

    Console: True                           # 是否将服务日志文件输出到终端中

    File: True                              # 是否将服务日志文件记录到文件中





Web:                                        # Web页面修改相关设置

  Enable: True                              # 总开关

  Custom: True                              # 是否加载自定义静态资源

  Index: True                               # 是否从static目录读取index.html文件 

  Head: |                                   # 是否添加自定义字段到index.html的HEAD中

    <script src="/MediaWarp/static/custom/emby-front-end-mod/actor-plus.js"></script>

    <script src="/MediaWarp/static/custom/emby-front-end-mod/emby-swiper.js"></script>

    <script src="/MediaWarp/static/custom/emby-front-end-mod/emby-tab.js"></script>

    <script src="/MediaWarp/static/custom/emby-front-end-mod/fanart-show.js"></script>

    <script src="/MediaWarp/static/custom/emby-front-end-mod/playbackRate.js"></script>



  ExternalPlayerUrl: True                   # 是否开启外置播放器

  ActorPlus: True                           # 过滤没有头像的演员和制作人员

  FanartShow: False                         # 显示同人图(fanart图)

  Danmaku: True                             # Web显示弹幕

  BeautifyCSS: True                         # Emby美化CSS样式



ClientFilter:                               # 客户端过滤器

  Enable: False                             # 是否启用客户端过滤器

  Mode: BlackList # WhileList / BlackList   # 黑白名单模式

  ClientList:                               # 名单列表

    - Fileball

    - Infuse



# 302重定向相关配置



HTTPStrm: 

  Enable: True                              # 是否开启HttpStrm重定向

  PrefixList:                               # EmbyServer中Strm文件的前缀(符合该前缀的Strm文件且被正确识别为http协议都会路由到该规则下)

    - D:\media



AlistStrm:                                  # AlistStrm相关配置(Strm文件内容是Alist上文件的路径,目前仅支持适配Alist V3)

  Enable: False                              # 是否启用AlistStrm重定向

  List:                                     # Alist服务关配置列表

    - ADDR: http://192.168.1.100:5244       # Alist服务器地址(MediaWarp可以正常访问到就可以)

      Username: admin                       # Alist服务器账号

      Password: adminadmin                  # Alist服务器密码

      PrefixList:                           # EmbyServer中Strm文件的前缀(符合该前缀的Strm文件都会路由到该规则下)

        - /media/strm/MyAlist               # 同一个Alist可以有多个前缀规则

        - /mnt/cd2/strm

    - ADDR: https://xiaoya.com              # 可以填写多个配置

      Username: admin

      Password: adminadmin

      PrefixList: 

        - /media/strm

v0.0.4中配置文件读取我有几个笔误,并且和0.0.5并不通用,建议去release节目查看当时发布的example

@ilime666
Copy link
Author

ilime666 commented Nov 5, 2024

建议提供一下v0.0.4的v电相关日志进行排查,因为0.0.4进行项目重构,差异较大,建议先排除这部分因素

我无法运行v0.0.4,以下为配置文件 请问是哪里出错了吗

Port: 9000                                  # MideWarp监听端口

MeidaServer:                                # 媒体服务器相关设置
  TYPE: Emby                                # 媒体服务器类型(可选选项:Emby)
  ADDR: http://192.168.1.199:8096               # 媒体服务器地址
  AUTH: fddd50be78e14fbca22277ef4c546011                        # 媒体服务器认证方式

Cache:                                      # 缓存设置
  Type: Memory                              # 缓存类型(可选项:Memory内存缓存)

Logger:                                     # 日志设定
  AccessLogger                              # 访问日志设定
    Console: True                           # 是否将访问日志文件输出到终端中
    File: False                             # 是否将访问日志文件记录到文件中
  ServiceLogger:                            # 服务日志设定
    Console: True                           # 是否将服务日志文件输出到终端中
    File: True                              # 是否将服务日志文件记录到文件中


Web:                                        # Web页面修改相关设置
  Enable: True                              # 总开关
  Custom: True                              # 是否加载自定义静态资源
  Index: True                               # 是否从static目录读取index.html文件 
  Head: |                                   # 是否添加自定义字段到index.html的HEAD中
    <script src="/MediaWarp/static/custom/emby-front-end-mod/actor-plus.js"></script>
    <script src="/MediaWarp/static/custom/emby-front-end-mod/emby-swiper.js"></script>
    <script src="/MediaWarp/static/custom/emby-front-end-mod/emby-tab.js"></script>
    <script src="/MediaWarp/static/custom/emby-front-end-mod/fanart-show.js"></script>
    <script src="/MediaWarp/static/custom/emby-front-end-mod/playbackRate.js"></script>

  ExternalPlayerUrl: True                   # 是否开启外置播放器
  ActorPlus: True                           # 过滤没有头像的演员和制作人员
  FanartShow: False                         # 显示同人图(fanart图)
  Danmaku: True                             # Web显示弹幕
  BeautifyCSS: True                         # Emby美化CSS样式

ClientFilter:                               # 客户端过滤器
  Enable: False                             # 是否启用客户端过滤器
  Mode: BlackList # WhileList / BlackList   # 黑白名单模式
  ClientList:                               # 名单列表
    - Fileball
    - Infuse

# 302重定向相关配置

HTTPStrm: 
  Enable: True                              # 是否开启HttpStrm重定向
  PrefixList:                               # EmbyServer中Strm文件的前缀(符合该前缀的Strm文件且被正确识别为http协议都会路由到该规则下)
    - D:\media

AlistStrm:                                  # AlistStrm相关配置(Strm文件内容是Alist上文件的路径,目前仅支持适配Alist V3)
  Enable: False                              # 是否启用AlistStrm重定向
  List:                                     # Alist服务关配置列表
    - ADDR: http://192.168.1.100:5244       # Alist服务器地址(MediaWarp可以正常访问到就可以)
      Username: admin                       # Alist服务器账号
      Password: adminadmin                  # Alist服务器密码
      PrefixList:                           # EmbyServer中Strm文件的前缀(符合该前缀的Strm文件都会路由到该规则下)
        - /media/strm/MyAlist               # 同一个Alist可以有多个前缀规则
        - /mnt/cd2/strm
    - ADDR: https://xiaoya.com              # 可以填写多个配置
      Username: admin
      Password: adminadmin
      PrefixList: 
        - /media/strm

已解决,AccessLogger漏了一个" : "

@ilime666
Copy link
Author

ilime666 commented Nov 5, 2024

建议提供一下v0.0.4的电相关日志进行排查,因为0.0.4进行项目重构,差异较大,建议先排除这部分因素

【INFO】 2024-11-5 22:31:27   | getHttpStrmRedirectURL|Http协议Strm重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/A%20-%20G/%E5%86%B0%E8%8F%93%20%282012%29/Season%201/%E5%86%B0%E8%8F%93%20-%20S01E12%20-%20%E6%97%A0%E9%99%90%E5%A0%86%E7%A7%AF%E7%9A%84%E3%80%8C%E9%82%A3%E4%B8%AA%E3%80%8D.mkv
【AcessLog】 2024-11-5 22:31:27  | 302 | 3.1305ms   | GET    |101.94.246.57 "/Videos/88688/stream?mediasourceid=8ca28c792fad2b96a5a26cd38c6bbbbf&static=true"
【AcessLog】 2024-11-5 22:31:29  | 404 | 894.9µs    | GET    |101.94.246.57 "/Videos/88688/8ca28c792fad2b96a5a26cd38c6bbbbf/Subtitles/3/0/Stream."
【AcessLog】 2024-11-5 22:31:29  | 200 | 2.5428ms   | GET    |101.94.246.57 "/Items/88688/PlaybackInfo?userid=9d882dc8ec514b2ca14652262df0afad"
【AcessLog】 2024-11-5 22:31:29  | 204 | 7.9247ms   | POST   |101.94.246.57 "/Sessions/Playing"
【AcessLog】 2024-11-5 22:31:39  | 204 | 1.726ms    | POST   |101.94.246.57 "/Sessions/Playing/Progress"
【AcessLog】 2024-11-5 22:31:40  | 204 | 1.2285ms   | POST   |101.94.246.57 "/Sessions/Playing/Progress"

以上为v0.0.4终端运行日志

@Akimio521
Copy link
Owner

建议提供一下v0.0.4的电相关日志进行排查,因为0.0.4进行项目重构,差异较大,建议先排除这部分因素


【INFO】 2024-11-5 22:31:27   | getHttpStrmRedirectURL|Http协议Strm重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/A%20-%20G/%E5%86%B0%E8%8F%93%20%282012%29/Season%201/%E5%86%B0%E8%8F%93%20-%20S01E12%20-%20%E6%97%A0%E9%99%90%E5%A0%86%E7%A7%AF%E7%9A%84%E3%80%8C%E9%82%A3%E4%B8%AA%E3%80%8D.mkv

【AcessLog】 2024-11-5 22:31:27  | 302 | 3.1305ms   | GET    |101.94.246.57 "/Videos/88688/stream?mediasourceid=8ca28c792fad2b96a5a26cd38c6bbbbf&static=true"

【AcessLog】 2024-11-5 22:31:29  | 404 | 894.9µs    | GET    |101.94.246.57 "/Videos/88688/8ca28c792fad2b96a5a26cd38c6bbbbf/Subtitles/3/0/Stream."

【AcessLog】 2024-11-5 22:31:29  | 200 | 2.5428ms   | GET    |101.94.246.57 "/Items/88688/PlaybackInfo?userid=9d882dc8ec514b2ca14652262df0afad"

【AcessLog】 2024-11-5 22:31:29  | 204 | 7.9247ms   | POST   |101.94.246.57 "/Sessions/Playing"

【AcessLog】 2024-11-5 22:31:39  | 204 | 1.726ms    | POST   |101.94.246.57 "/Sessions/Playing/Progress"

【AcessLog】 2024-11-5 22:31:40  | 204 | 1.2285ms   | POST   |101.94.246.57 "/Sessions/Playing/Progress"

以上为v0.0.4终端运行日志

看起来也未请求字幕

@ilime666
Copy link
Author

ilime666 commented Nov 5, 2024

建议提供一下v0.0.4的电相关日志进行排查,因为0.0.4进行项目重构,差异较大,建议先排除这部分因素


【INFO】 2024-11-5 22:31:27   | getHttpStrmRedirectURL|Http协议Strm重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/A%20-%20G/%E5%86%B0%E8%8F%93%20%282012%29/Season%201/%E5%86%B0%E8%8F%93%20-%20S01E12%20-%20%E6%97%A0%E9%99%90%E5%A0%86%E7%A7%AF%E7%9A%84%E3%80%8C%E9%82%A3%E4%B8%AA%E3%80%8D.mkv

【AcessLog】 2024-11-5 22:31:27  | 302 | 3.1305ms   | GET    |101.94.246.57 "/Videos/88688/stream?mediasourceid=8ca28c792fad2b96a5a26cd38c6bbbbf&static=true"

【AcessLog】 2024-11-5 22:31:29  | 404 | 894.9µs    | GET    |101.94.246.57 "/Videos/88688/8ca28c792fad2b96a5a26cd38c6bbbbf/Subtitles/3/0/Stream."

【AcessLog】 2024-11-5 22:31:29  | 200 | 2.5428ms   | GET    |101.94.246.57 "/Items/88688/PlaybackInfo?userid=9d882dc8ec514b2ca14652262df0afad"

【AcessLog】 2024-11-5 22:31:29  | 204 | 7.9247ms   | POST   |101.94.246.57 "/Sessions/Playing"

【AcessLog】 2024-11-5 22:31:39  | 204 | 1.726ms    | POST   |101.94.246.57 "/Sessions/Playing/Progress"

【AcessLog】 2024-11-5 22:31:40  | 204 | 1.2285ms   | POST   |101.94.246.57 "/Sessions/Playing/Progress"

以上为v0.0.4终端运行日志

看起来也未请求字幕

/Videos/88688/8ca28c792fad2b96a5a26cd38c6bbbbf/Subtitles/3/0/Stream. 应该是字幕,不过404了

@Akimio521
Copy link
Owner

/Videos/88688/8ca28c792fad2b96a5a26cd38c6bbbbf/Subtitles/3/0/Stream. 应该是字幕,不过404了

刚刚对比了一下,这个请求应该是进入重定向处理了,但是没有匹配成功所以404了,应该是符合逻辑的,但是0.0.5相比0.0.4变化不大,但是在0.0.5却没有请求字幕

@ilime666
Copy link
Author

ilime666 commented Nov 5, 2024

/Videos/88688/8ca28c792fad2b96a5a26cd38c6bbbbf/Subtitles/3/0/Stream. 应该是字幕,不过404了

刚刚对比了一下,这个请求应该是进入重定向处理了,但是没有匹配成功所以404了,应该是符合逻辑的,但是0.0.5相比0.0.4变化不大,但是在0.0.5却没有请求字幕

我再重新测试一下v0.0.5

@ilime666
Copy link
Author

ilime666 commented Nov 5, 2024

【INFO】    2024-11-05 23:07:34 | HTTP 协议Strm 重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/A%20-%20G/%E5%86%B0%E8%8F%93%20%282012%29/Season%201/%E5%86%B0%E8%8F%93%20-%20S01E21%20-%20%E6%89%8B%E5%B7%A5%E5%B7%A7%E5%85%8B%E5%8A%9B%E4%BA%8B%E4%BB%B6.mkv
【AccessLog】 2024-11-5 23:07:34  | 302 | 2.6522ms   | GET    |101.94.246.57 "/Videos/88697/stream?mediasourceid=21ed6a9972693ffa82571197cb406b64&static=true"
【AccessLog】 2024-11-5 23:07:36  | 404 | 1.5292ms   | GET    |101.94.246.57 "/Videos/88697/21ed6a9972693ffa82571197cb406b64/Subtitles/3/0/Stream."
【INFO】    2024-11-05 23:07:37 | HTTP 协议Strm 重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/A%20-%20G/%E5%86%B0%E8%8F%93%20%282012%29/Season%201/%E5%86%B0%E8%8F%93%20-%20S01E21%20-%20%E6%89%8B%E5%B7%A5%E5%B7%A7%E5%85%8B%E5%8A%9B%E4%BA%8B%E4%BB%B6.mkv
【AccessLog】 2024-11-5 23:07:37  | 302 | 4.1156ms   | GET    |101.94.246.57 "/Videos/88697/stream?mediasourceid=21ed6a9972693ffa82571197cb406b64&static=true"
【INFO】    2024-11-05 23:07:38 | HTTP 协议Strm 重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/A%20-%20G/%E5%86%B0%E8%8F%93%20%282012%29/Season%201/%E5%86%B0%E8%8F%93%20-%20S01E21%20-%20%E6%89%8B%E5%B7%A5%E5%B7%A7%E5%85%8B%E5%8A%9B%E4%BA%8B%E4%BB%B6.mkv
【AccessLog】 2024-11-5 23:07:38  | 302 | 2.7924ms   | GET    |101.94.246.57 "/Videos/88697/stream?mediasourceid=21ed6a9972693ffa82571197cb406b64&static=true"
【AccessLog】 2024-11-5 23:07:40  | 200 | 1.8937ms   | GET    |101.94.246.57 "/Items/88697/PlaybackInfo?userid=9d882dc8ec514b2ca14652262df0afad"
【AccessLog】 2024-11-5 23:07:40  | 204 | 5.9358ms   | POST   |101.94.246.57 "/Sessions/Playing"
【AccessLog】 2024-11-5 23:07:44  | 204 | 932.2µs    | POST   |101.94.246.57 "/Sessions/Playing/Progress"

大佬破案了,v0.0.5也有相同的404,因为一直在请求重定向,所以只注意到了靠下方的成功播放的日志,给你添麻烦了。

@Akimio521
Copy link
Owner

下个版本修复

@Akimio521
Copy link
Owner

你是使用什么客户端进行测试的,我使用conflux在v0.0.5下是正常播放字幕的

@ilime666
Copy link
Author

ilime666 commented Nov 6, 2024

你是使用什么客户端进行测试的,我使用conflux在v0.0.5下是正常播放字幕的

ios:infuse、forward
pc:emby theater

@Akimio521
Copy link
Owner

你是使用什么客户端进行测试的,我使用conflux在v0.0.5下是正常播放字幕的

ios:infuse、forward

pc:emby theater

你试一下ios的conflux

@ilime666
Copy link
Author

ilime666 commented Nov 6, 2024

以下是我点击播放按钮至开始播放时全部终端日志

【INFO】    2024-11-06 16:07:44 | HTTP 协议Strm 重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/U%20-%20Z/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20%282014%29/Season%201/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20-%20S01E02%20-%20%E6%8C%91%E6%88%98%E8%80%85%EF%BC%88Challenger%EF%BC%89.mkv
【AccessLog】 2024-11-6 16:07:44  | 302 | 4.7049ms   | GET    |192.168.1.107 "/emby/Videos/101192/stream.mkv?api_key=741cc616e38742e8ad83b926caa0a18b&authorization=Emby+UserId%3D036653A8-42AB-445A-A259-CF31085333D6%2C+Client%3DConflux+Video+Player%2C+Device%3DiPhone%2C+DeviceId%3D321%2C+Version%3D1.0.0&deviceid=036653A8-42AB-445A-A259-CF31085333D6&mediasourceid=2715f7e029e32388163bf8889b2b4a07&playsessionid=25a7af648de04ccfac53772c5c1fa7d0&static=true&x-emby-token=741cc616e38742e8ad83b926caa0a18b"
【INFO】    2024-11-06 16:07:45 | HTTP 协议Strm 重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/U%20-%20Z/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20%282014%29/Season%201/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20-%20S01E02%20-%20%E6%8C%91%E6%88%98%E8%80%85%EF%BC%88Challenger%EF%BC%89.mkv
【AccessLog】 2024-11-6 16:07:45  | 302 | 6.4964ms   | GET    |192.168.1.107 "/emby/Videos/101192/stream.mkv?api_key=741cc616e38742e8ad83b926caa0a18b&authorization=Emby+UserId%3D036653A8-42AB-445A-A259-CF31085333D6%2C+Client%3DConflux+Video+Player%2C+Device%3DiPhone%2C+DeviceId%3D321%2C+Version%3D1.0.0&deviceid=036653A8-42AB-445A-A259-CF31085333D6&mediasourceid=2715f7e029e32388163bf8889b2b4a07&playsessionid=25a7af648de04ccfac53772c5c1fa7d0&static=true&x-emby-token=741cc616e38742e8ad83b926caa0a18b"
【INFO】    2024-11-06 16:07:45 | HTTP 协议Strm 重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/U%20-%20Z/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20%282014%29/Season%201/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20-%20S01E02%20-%20%E6%8C%91%E6%88%98%E8%80%85%EF%BC%88Challenger%EF%BC%89.mkv
【AccessLog】 2024-11-6 16:07:45  | 302 | 5.211ms    | GET    |192.168.1.107 "/emby/Videos/101192/stream.mkv?api_key=741cc616e38742e8ad83b926caa0a18b&authorization=Emby+UserId%3D036653A8-42AB-445A-A259-CF31085333D6%2C+Client%3DConflux+Video+Player%2C+Device%3DiPhone%2C+DeviceId%3D321%2C+Version%3D1.0.0&deviceid=036653A8-42AB-445A-A259-CF31085333D6&mediasourceid=2715f7e029e32388163bf8889b2b4a07&playsessionid=25a7af648de04ccfac53772c5c1fa7d0&static=true&x-emby-token=741cc616e38742e8ad83b926caa0a18b"
【INFO】    2024-11-06 16:07:46 | HTTP 协议Strm 重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/U%20-%20Z/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20%282014%29/Season%201/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20-%20S01E02%20-%20%E6%8C%91%E6%88%98%E8%80%85%EF%BC%88Challenger%EF%BC%89.mkv
【AccessLog】 2024-11-6 16:07:46  | 302 | 4.7ms      | GET    |192.168.1.107 "/emby/Videos/101192/stream.mkv?api_key=741cc616e38742e8ad83b926caa0a18b&authorization=Emby+UserId%3D036653A8-42AB-445A-A259-CF31085333D6%2C+Client%3DConflux+Video+Player%2C+Device%3DiPhone%2C+DeviceId%3D321%2C+Version%3D1.0.0&deviceid=036653A8-42AB-445A-A259-CF31085333D6&mediasourceid=2715f7e029e32388163bf8889b2b4a07&playsessionid=25a7af648de04ccfac53772c5c1fa7d0&static=true&x-emby-token=741cc616e38742e8ad83b926caa0a18b"
【INFO】    2024-11-06 16:07:47 | HTTP 协议Strm 重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/U%20-%20Z/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20%282014%29/Season%201/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20-%20S01E02%20-%20%E6%8C%91%E6%88%98%E8%80%85%EF%BC%88Challenger%EF%BC%89.mkv
【AccessLog】 2024-11-6 16:07:47  | 302 | 5.7014ms   | GET    |192.168.1.107 "/emby/Videos/101192/stream.mkv?api_key=741cc616e38742e8ad83b926caa0a18b&authorization=Emby+UserId%3D036653A8-42AB-445A-A259-CF31085333D6%2C+Client%3DConflux+Video+Player%2C+Device%3DiPhone%2C+DeviceId%3D321%2C+Version%3D1.0.0&deviceid=036653A8-42AB-445A-A259-CF31085333D6&mediasourceid=2715f7e029e32388163bf8889b2b4a07&playsessionid=25a7af648de04ccfac53772c5c1fa7d0&static=true&x-emby-token=741cc616e38742e8ad83b926caa0a18b"
【AccessLog】 2024-11-6 16:07:47  | 204 | 8.749ms    | POST   |192.168.1.107 "/Sessions/Playing"
【INFO】    2024-11-06 16:07:47 | HTTP 协议Strm 重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/U%20-%20Z/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20%282014%29/Season%201/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20-%20S01E02%20-%20%E6%8C%91%E6%88%98%E8%80%85%EF%BC%88Challenger%EF%BC%89.mkv
【AccessLog】 2024-11-6 16:07:47  | 302 | 4.8504ms   | GET    |192.168.1.107 "/emby/Videos/101192/stream.mkv?api_key=741cc616e38742e8ad83b926caa0a18b&authorization=Emby+UserId%3D036653A8-42AB-445A-A259-CF31085333D6%2C+Client%3DConflux+Video+Player%2C+Device%3DiPhone%2C+DeviceId%3D321%2C+Version%3D1.0.0&deviceid=036653A8-42AB-445A-A259-CF31085333D6&mediasourceid=2715f7e029e32388163bf8889b2b4a07&playsessionid=25a7af648de04ccfac53772c5c1fa7d0&static=true&x-emby-token=741cc616e38742e8ad83b926caa0a18b"
【INFO】    2024-11-06 16:07:48 | HTTP 协议Strm 重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/U%20-%20Z/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20%282014%29/Season%201/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20-%20S01E02%20-%20%E6%8C%91%E6%88%98%E8%80%85%EF%BC%88Challenger%EF%BC%89.mkv
【AccessLog】 2024-11-6 16:07:48  | 302 | 4.4443ms   | GET    |192.168.1.107 "/emby/Videos/101192/stream.mkv?api_key=741cc616e38742e8ad83b926caa0a18b&authorization=Emby+UserId%3D036653A8-42AB-445A-A259-CF31085333D6%2C+Client%3DConflux+Video+Player%2C+Device%3DiPhone%2C+DeviceId%3D321%2C+Version%3D1.0.0&deviceid=036653A8-42AB-445A-A259-CF31085333D6&mediasourceid=2715f7e029e32388163bf8889b2b4a07&playsessionid=25a7af648de04ccfac53772c5c1fa7d0&static=true&x-emby-token=741cc616e38742e8ad83b926caa0a18b"
【AccessLog】 2024-11-6 16:07:55  | 204 | 482.7µs    | POST   |192.168.1.107 "/Sessions/Playing/Progress"
【AccessLog】 2024-11-6 16:08:05  | 204 | 1.6756ms   | POST   |192.168.1.107 "/Sessions/Playing/Progress"

播放时还是无字幕

@ilime666
Copy link
Author

ilime666 commented Nov 6, 2024

以下是我点击播放按钮至开始播放时全部终端日志

【INFO】    2024-11-06 16:07:44 | HTTP 协议Strm 重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/U%20-%20Z/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20%282014%29/Season%201/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20-%20S01E02%20-%20%E6%8C%91%E6%88%98%E8%80%85%EF%BC%88Challenger%EF%BC%89.mkv
【AccessLog】 2024-11-6 16:07:44  | 302 | 4.7049ms   | GET    |192.168.1.107 "/emby/Videos/101192/stream.mkv?api_key=741cc616e38742e8ad83b926caa0a18b&authorization=Emby+UserId%3D036653A8-42AB-445A-A259-CF31085333D6%2C+Client%3DConflux+Video+Player%2C+Device%3DiPhone%2C+DeviceId%3D321%2C+Version%3D1.0.0&deviceid=036653A8-42AB-445A-A259-CF31085333D6&mediasourceid=2715f7e029e32388163bf8889b2b4a07&playsessionid=25a7af648de04ccfac53772c5c1fa7d0&static=true&x-emby-token=741cc616e38742e8ad83b926caa0a18b"
【INFO】    2024-11-06 16:07:45 | HTTP 协议Strm 重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/U%20-%20Z/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20%282014%29/Season%201/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20-%20S01E02%20-%20%E6%8C%91%E6%88%98%E8%80%85%EF%BC%88Challenger%EF%BC%89.mkv
【AccessLog】 2024-11-6 16:07:45  | 302 | 6.4964ms   | GET    |192.168.1.107 "/emby/Videos/101192/stream.mkv?api_key=741cc616e38742e8ad83b926caa0a18b&authorization=Emby+UserId%3D036653A8-42AB-445A-A259-CF31085333D6%2C+Client%3DConflux+Video+Player%2C+Device%3DiPhone%2C+DeviceId%3D321%2C+Version%3D1.0.0&deviceid=036653A8-42AB-445A-A259-CF31085333D6&mediasourceid=2715f7e029e32388163bf8889b2b4a07&playsessionid=25a7af648de04ccfac53772c5c1fa7d0&static=true&x-emby-token=741cc616e38742e8ad83b926caa0a18b"
【INFO】    2024-11-06 16:07:45 | HTTP 协议Strm 重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/U%20-%20Z/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20%282014%29/Season%201/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20-%20S01E02%20-%20%E6%8C%91%E6%88%98%E8%80%85%EF%BC%88Challenger%EF%BC%89.mkv
【AccessLog】 2024-11-6 16:07:45  | 302 | 5.211ms    | GET    |192.168.1.107 "/emby/Videos/101192/stream.mkv?api_key=741cc616e38742e8ad83b926caa0a18b&authorization=Emby+UserId%3D036653A8-42AB-445A-A259-CF31085333D6%2C+Client%3DConflux+Video+Player%2C+Device%3DiPhone%2C+DeviceId%3D321%2C+Version%3D1.0.0&deviceid=036653A8-42AB-445A-A259-CF31085333D6&mediasourceid=2715f7e029e32388163bf8889b2b4a07&playsessionid=25a7af648de04ccfac53772c5c1fa7d0&static=true&x-emby-token=741cc616e38742e8ad83b926caa0a18b"
【INFO】    2024-11-06 16:07:46 | HTTP 协议Strm 重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/U%20-%20Z/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20%282014%29/Season%201/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20-%20S01E02%20-%20%E6%8C%91%E6%88%98%E8%80%85%EF%BC%88Challenger%EF%BC%89.mkv
【AccessLog】 2024-11-6 16:07:46  | 302 | 4.7ms      | GET    |192.168.1.107 "/emby/Videos/101192/stream.mkv?api_key=741cc616e38742e8ad83b926caa0a18b&authorization=Emby+UserId%3D036653A8-42AB-445A-A259-CF31085333D6%2C+Client%3DConflux+Video+Player%2C+Device%3DiPhone%2C+DeviceId%3D321%2C+Version%3D1.0.0&deviceid=036653A8-42AB-445A-A259-CF31085333D6&mediasourceid=2715f7e029e32388163bf8889b2b4a07&playsessionid=25a7af648de04ccfac53772c5c1fa7d0&static=true&x-emby-token=741cc616e38742e8ad83b926caa0a18b"
【INFO】    2024-11-06 16:07:47 | HTTP 协议Strm 重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/U%20-%20Z/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20%282014%29/Season%201/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20-%20S01E02%20-%20%E6%8C%91%E6%88%98%E8%80%85%EF%BC%88Challenger%EF%BC%89.mkv
【AccessLog】 2024-11-6 16:07:47  | 302 | 5.7014ms   | GET    |192.168.1.107 "/emby/Videos/101192/stream.mkv?api_key=741cc616e38742e8ad83b926caa0a18b&authorization=Emby+UserId%3D036653A8-42AB-445A-A259-CF31085333D6%2C+Client%3DConflux+Video+Player%2C+Device%3DiPhone%2C+DeviceId%3D321%2C+Version%3D1.0.0&deviceid=036653A8-42AB-445A-A259-CF31085333D6&mediasourceid=2715f7e029e32388163bf8889b2b4a07&playsessionid=25a7af648de04ccfac53772c5c1fa7d0&static=true&x-emby-token=741cc616e38742e8ad83b926caa0a18b"
【AccessLog】 2024-11-6 16:07:47  | 204 | 8.749ms    | POST   |192.168.1.107 "/Sessions/Playing"
【INFO】    2024-11-06 16:07:47 | HTTP 协议Strm 重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/U%20-%20Z/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20%282014%29/Season%201/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20-%20S01E02%20-%20%E6%8C%91%E6%88%98%E8%80%85%EF%BC%88Challenger%EF%BC%89.mkv
【AccessLog】 2024-11-6 16:07:47  | 302 | 4.8504ms   | GET    |192.168.1.107 "/emby/Videos/101192/stream.mkv?api_key=741cc616e38742e8ad83b926caa0a18b&authorization=Emby+UserId%3D036653A8-42AB-445A-A259-CF31085333D6%2C+Client%3DConflux+Video+Player%2C+Device%3DiPhone%2C+DeviceId%3D321%2C+Version%3D1.0.0&deviceid=036653A8-42AB-445A-A259-CF31085333D6&mediasourceid=2715f7e029e32388163bf8889b2b4a07&playsessionid=25a7af648de04ccfac53772c5c1fa7d0&static=true&x-emby-token=741cc616e38742e8ad83b926caa0a18b"
【INFO】    2024-11-06 16:07:48 | HTTP 协议Strm 重定向:http://ecuplyylh.tpddns.cn:5244/d/115%20%E7%BD%91%E7%9B%98%EF%BC%88177%EF%BC%89/%E5%BD%B1%E8%A7%86/%E5%8A%A8%E6%BC%AB/U%20-%20Z/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20%282014%29/Season%201/%E6%B8%B8%E6%88%8F%E4%BA%BA%E7%94%9F%20-%20S01E02%20-%20%E6%8C%91%E6%88%98%E8%80%85%EF%BC%88Challenger%EF%BC%89.mkv
【AccessLog】 2024-11-6 16:07:48  | 302 | 4.4443ms   | GET    |192.168.1.107 "/emby/Videos/101192/stream.mkv?api_key=741cc616e38742e8ad83b926caa0a18b&authorization=Emby+UserId%3D036653A8-42AB-445A-A259-CF31085333D6%2C+Client%3DConflux+Video+Player%2C+Device%3DiPhone%2C+DeviceId%3D321%2C+Version%3D1.0.0&deviceid=036653A8-42AB-445A-A259-CF31085333D6&mediasourceid=2715f7e029e32388163bf8889b2b4a07&playsessionid=25a7af648de04ccfac53772c5c1fa7d0&static=true&x-emby-token=741cc616e38742e8ad83b926caa0a18b"
【AccessLog】 2024-11-6 16:07:55  | 204 | 482.7µs    | POST   |192.168.1.107 "/Sessions/Playing/Progress"
【AccessLog】 2024-11-6 16:08:05  | 204 | 1.6756ms   | POST   |192.168.1.107 "/Sessions/Playing/Progress"

播放时还是无字幕

我这边conflux不仅9000端口没字幕,8096端口也没字幕(其它播放器8096端口字幕正常),可能是播放器bug,所以我也不确定9000端口字幕是否正常。

@Akimio521
Copy link
Owner

Akimio521 commented Nov 6, 2024

那有可能是我测试的http链接自带了字幕信息,你测试一下这个链接https://ani.v300.eu.org/2022-4/%E7%B4%84%E6%9C%83%E5%A4%A7%E4%BD%9C%E6%88%B0%20DATE%20A%20LIVE%20%E7%AC%AC%E5%9B%9B%E5%AD%A3/%5BANi%5D%20%E7%B4%84%E6%9C%83%E5%A4%A7%E4%BD%9C%E6%88%B0%20DATE%20A%20LIVE%20%E7%AC%AC%E5%9B%9B%E5%AD%A3%EF%BC%88%E5%83%85%E9%99%90%E6%B8%AF%E6%BE%B3%E5%8F%B0%E5%9C%B0%E5%8D%80%EF%BC%89%20-%2003%20%5B1080P%5D%5BBilibili%5D%5BWEB-DL%5D%5BAAC%20AVC%5D%5BCHT%20CHS%5D.mp4?d=true

@Akimio521
Copy link
Owner

那应该就是http链接的问题,看来我之前的测试都不太正确

@Akimio521 Akimio521 added the bug Something isn't working label Nov 6, 2024
@ilime666
Copy link
Author

ilime666 commented Nov 6, 2024

辛苦~

@Akimio521
Copy link
Owner

Akimio521 commented Dec 22, 2024

最新版本已经修复字幕问题(大概,至少路由规则上没问题了),但未发布,可以自行构建或者从dev 工作流中下载,有条件可以测试一下,方便后续完善测试集

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants