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

BT 播放时显示"加载失败: 已取消", 但实际上正常下载 #784

Closed
NeKoOuO opened this issue Aug 19, 2024 · 2 comments
Closed
Labels
C 严重优先级, 需要立即修复 s: player 子系统: 视频播放器 s: torrent 子系统: BT t: bug 类型: bug
Milestone

Comments

@NeKoOuO
Copy link
Contributor

NeKoOuO commented Aug 19, 2024

问题描述

Screenshot_2024-08-19-23-33-52-666_me.him188.ani.jpg

复现步骤

正常加載BT 退出播放畫面到其他地方 回來後加載其他就會出現

Ani 版本号

3.7.0-beta04

操作系统

No response

应用日志

https://t.me/openani/11469

@NeKoOuO NeKoOuO added N 一般优先级 t: bug 类型: bug labels Aug 19, 2024
@NeKoOuO NeKoOuO changed the title 使用過程加載錯誤 使用過程加載失敗錯誤 Aug 19, 2024
@Him188 Him188 added M 重要优先级 s: player 子系统: 视频播放器 s: torrent 子系统: BT and removed N 一般优先级 labels Aug 19, 2024
@Him188
Copy link
Member

Him188 commented Aug 19, 2024


2024-08-19 23:33:46 INFO  d.d.DmhyMediaSource [null:176]   GET http://www.dmhy.org/topics/list/page/3?keyword=Undead+Unluck&sort_id=2 : 200 OK in 1.074820625s

2024-08-19 23:33:47 INFO  pj.n [null:69] Got new video source: null, updating playerState

2024-08-19 23:33:47 INFO  uh.i [null:23] Loaded libraries for AnitorrentEngine

2024-08-19 23:33:47 INFO  vj.q [null:108] setVideoSource: Cleaning up player since source is null

2024-08-19 23:33:47 INFO  uh.i [null:23] Loaded libraries for AnitorrentEngine

2024-08-19 23:33:47 INFO  wh.r [null:172] Fetching http url: https://acg.rip/t/299956.torrent

2024-08-19 23:33:47 INFO  wh.r [null:214] Fetching http url success, file length = 64842

2024-08-19 23:33:47 INFO  wh.r [null:240] Saved cache file: /storage/emulated/0/Android/data/me.him188.ani/files/torrent-caches/anitorrent/torrentFiles/-520109453.txt

2024-08-19 23:33:47 INFO  pj.n [null:69] Got new video source: TorrentVideoSource(uri=torrent://7b2264617461223a7b2274797065223a..., episodeMetadata=EpisodeMetadata(title=不死与不运, ep=01, sort=01)), updating playerState

2024-08-19 23:33:47 INFO  ih.n [null:91] TorrentVideoSource '不死与不运' opening a VideoData

2024-08-19 23:33:47 INFO  uh.i [null:23] Loaded libraries for AnitorrentEngine

2024-08-19 23:33:47 INFO  ih.n [null:69] TorrentVideoSource '不死与不运' waiting for files

2024-08-19 23:33:47 INFO  wh.r [null:458] Creating a session using torrent file. data length=64842

2024-08-19 23:33:47 INFO  wh.r [null:646] [472536306] AnitorrentDownloadSession created, adding 29 trackers

2024-08-19 23:33:47 INFO  wh.r [null:762] withHandleTaskQueue: executed 0 delayed tasks

2024-08-19 23:33:47 INFO  xh.p [null:1] [472536306] onTorrentFinished

2024-08-19 23:33:47 INFO  xh.p [null:42] [472536306] reloadFiles

2024-08-19 23:33:47 INFO  xh.p [null:88] initializeTorrentInfo

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 01 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 111 pieces, index range: 0..110, offset range: Piece(0..4194303)..Piece(461373440..465567743)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 02 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 136 pieces, index range: 110..245, offset range: Piece(461373440..465567743)..Piece(1027604480..1031798783)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 03 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 146 pieces, index range: 245..390, offset range: Piece(1027604480..1031798783)..Piece(1635778560..1639972863)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 04 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 125 pieces, index range: 390..514, offset range: Piece(1635778560..1639972863)..Piece(2155872256..2160066559)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 05 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 103 pieces, index range: 514..616, offset range: Piece(2155872256..2160066559)..Piece(2583691264..2587885567)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 06 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 121 pieces, index range: 616..736, offset range: Piece(2583691264..2587885567)..Piece(3087007744..3091202047)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 07 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 147 pieces, index range: 736..882, offset range: Piece(3087007744..3091202047)..Piece(3699376128..3703570431)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 08 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 114 pieces, index range: 882..995, offset range: Piece(3699376128..3703570431)..Piece(4173332480..4177526783)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 09 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 157 pieces, index range: 995..1151, offset range: Piece(4173332480..4177526783)..Piece(4827643904..4831838207)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 10 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 134 pieces, index range: 1151..1284, offset range: Piece(4827643904..4831838207)..Piece(5385486336..5389680639)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 11 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 101 pieces, index range: 1284..1384, offset range: Piece(5385486336..5389680639)..Piece(5804916736..5809111039)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 12 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 89 pieces, index range: 1384..1472, offset range: Piece(5804916736..5809111039)..Piece(6174015488..6178209791)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 13 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 96 pieces, index range: 1472..1567, offset range: Piece(6174015488..6178209791)..Piece(6572474368..6576668671)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 14 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 142 pieces, index range: 1567..1708, offset range: Piece(6572474368..6576668671)..Piece(7163871232..7168065535)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 15 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 113 pieces, index range: 1708..1820, offset range: Piece(7163871232..7168065535)..Piece(7633633280..7637827583)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 16 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 163 pieces, index range: 1820..1982, offset range: Piece(7633633280..7637827583)..Piece(8313110528..8317304831)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 17 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 191 pieces, index range: 1982..2172, offset range: Piece(8313110528..8317304831)..Piece(9110028288..9114222591)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 18 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 120 pieces, index range: 2172..2291, offset range: Piece(9110028288..9114222591)..Piece(9609150464..9613344767)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 19 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 102 pieces, index range: 2291..2392, offset range: Piece(9609150464..9613344767)..Piece(10032775168..10036969471)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 20 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 135 pieces, index range: 2392..2526, offset range: Piece(10032775168..10036969471)..Piece(10594811904..10599006207)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 21 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 110 pieces, index range: 2526..2635, offset range: Piece(10594811904..10599006207)..Piece(11051991040..11056185343)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 22 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 149 pieces, index range: 2635..2783, offset range: Piece(11051991040..11056185343)..Piece(11672748032..11676942335)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 23 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 137 pieces, index range: 2783..2919, offset range: Piece(11672748032..11676942335)..Piece(12243173376..12247367679)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 24 [Baha][WebDL 1080p AVC AAC][CHT].mp4' piece initialized, 177 pieces, index range: 2919..3095, offset range: Piece(12243173376..12247367679)..Piece(12981370880..12984676186)

2024-08-19 23:33:47 INFO  xh.p [null:768] [472536306] File '[Lilith-Raws] Undead Unluck/readme.txt' piece initialized, 1 pieces, index range: 3095..3095, offset range: Piece(12981370880..12984676186)..Piece(12981370880..12984676186)

2024-08-19 23:33:47 INFO  xh.p [null:999] [472536306] Got torrent info: TorrentInfo(name=[Lilith-Raws] Undead Unluck, numPieces=3096, entries.size=25)

2024-08-19 23:33:47 INFO  xh.p [null:1] [472536306] onTorrentChecked

2024-08-19 23:33:47 INFO  xh.p [null:95] [472536306] saving resume data to: /storage/emulated/0/Android/data/me.him188.ani/files/torrent-caches/anitorrent/pieces/-1800660858/fastresume

2024-08-19 23:33:47 INFO  ih.n [null:158] TorrentVideoSource selected file: [Lilith-Raws] Undead Unluck - 01 [Baha][WebDL 1080p AVC AAC][CHT].mp4

2024-08-19 23:33:47 INFO  xh.h [null:1] [472536306] Set file priority to HIGH: [Lilith-Raws] Undead Unluck/[Lilith-Raws] Undead Unluck - 01 [Baha][WebDL 1080p AVC AAC][CHT].mp4

2024-08-19 23:33:47 DEBUG xh.p [null:54] [472536306][TorrentDownloadControl] Prioritizing pieces: [0, 1, 110]

2024-08-19 23:33:47 INFO  xh.h [null:169] 472536306: Still waiting to get file... saveDirectory: /storage/emulated/0/Android/data/me.him188.ani/files/torrent-caches/anitorrent/pieces/-1800660858

2024-08-19 23:33:48 INFO  yg.f0 [null:1] Saved user MediaPreference for subject 397808: MediaPreference(alliance=null, alliancePatterns=[喵萌, 猎户, lolihouse], resolution=null, fallbackResolutions=[1080P, 720P, 2160P, 1440P], subtitleLanguageId=null, fallbackSubtitleLanguageIds=[JPN, CHT], showWithoutSubtitle=false, mediaSourceId=mikan, fallbackMediaSourceIds=null)

2024-08-19 23:33:48 INFO  xh.h [null:169] 472536306: Still waiting to get file... saveDirectory: /storage/emulated/0/Android/data/me.him188.ani/files/torrent-caches/anitorrent/pieces/-1800660858

2024-08-19 23:33:48 INFO  uh.i [null:23] Loaded libraries for AnitorrentEngine

2024-08-19 23:33:48 INFO  uh.i [null:23] Loaded libraries for AnitorrentEngine

2024-08-19 23:33:48 INFO  pj.n [null:69] Got new video source: null, updating playerState

2024-08-19 23:33:48 INFO  vj.q [null:108] setVideoSource: Cleaning up player since source is null

2024-08-19 23:33:48 INFO  wh.r [null:136] HTTP torrent file 'https://mikanani.me/Download/20240606/3a98dc1c48e86888933e36635cf5e967222d18bb.torrent' found in cache: /storage/emulated/0/Android/data/me.him188.ani/files/torrent-caches/anitorrent/torrentFiles/2001444.txt, length=141309

2024-08-19 23:33:48 INFO  pj.n [null:69] Got new video source: TorrentVideoSource(uri=torrent://7b2264617461223a7b2274797065223a..., episodeMetadata=EpisodeMetadata(title=不死与不运, ep=01, sort=01)), updating playerState

2024-08-19 23:33:48 INFO  ih.n [null:91] TorrentVideoSource '不死与不运' opening a VideoData

2024-08-19 23:33:48 INFO  uh.i [null:23] Loaded libraries for AnitorrentEngine

2024-08-19 23:33:48 INFO  ih.n [null:69] TorrentVideoSource '不死与不运' waiting for files

2024-08-19 23:33:48 INFO  wh.r [null:261] Found existing session

2024-08-19 23:33:48 INFO  wh.r [null:762] withHandleTaskQueue: executed 0 delayed tasks

2024-08-19 23:33:49 INFO  yg.f0 [null:1] Saved user MediaPreference for subject 397808: MediaPreference(alliance=猎户不鸽压制, alliancePatterns=[喵萌, 猎户, lolihouse], resolution=1080P, fallbackResolutions=[1080P, 720P, 2160P, 1440P], subtitleLanguageId=null, fallbackSubtitleLanguageIds=[JPN, CHT], showWithoutSubtitle=false, mediaSourceId=mikan, fallbackMediaSourceIds=null)

2024-08-19 23:33:53 DEBUG xh.p [null:54] [472536306][TorrentDownloadControl] Prioritizing pieces: [1, 110, 2]

2024-08-19 23:33:55 TRACE qi.l0 [null:53] l0 onRemembered, refCount=1

2024-08-19 23:33:55 TRACE aj.q1 [null:53] q1 onRemembered, refCount=1

2024-08-19 23:33:55 TRACE uj.f [null:53] f onRemembered, refCount=1

2024-08-19 23:33:56 INFO  vj.q [null:38] ExoPlayer o5.h0@5a5f599 released

2024-08-19 23:33:57 TRACE ti.a [null:53] a onRemembered, refCount=1

2024-08-19 23:33:59 DEBUG xh.p [null:54] [472536306][TorrentDownloadControl] Prioritizing pieces: [110, 2, 3]

2024-08-19 23:34:03 DEBUG xh.p [null:54] [472536306][TorrentDownloadControl] Prioritizing pieces: [2, 3, 4]

2024-08-19 23:34:09 DEBUG xh.p [null:54] [472536306][TorrentDownloadControl] Prioritizing pieces: [3, 4, 5]

2024-08-19 23:35:03 DEBUG xh.p [null:54] [472536306][TorrentDownloadControl] Prioritizing pieces: [4, 5, 6]

2024-08-19 23:35:32 TRACE ti.c0 [null:53] c0 onRemembered, refCount=1

2024-08-19 23:35:32 TRACE a.u.s.t.m.MediaSettingsViewModel [null:53] MediaSettingsViewModel onRemembered, refCount=1

2024-08-19 23:35:32 TRACE a.u.s.t.m.AndroidTorrentCacheViewModel [null:53] AndroidTorrentCacheViewModel onRemembered, refCount=1

2024-08-19 23:35:34 TRACE a.u.s.t.n.NetworkSettingsViewModel [null:53] NetworkSettingsViewModel onRemembered, refCount=1

2024-08-19 23:35:34 TRACE a.u.s.t.AboutTabViewModel [null:53] AboutTabViewModel onRemembered, refCount=1

2024-08-19 23:35:34 TRACE ei.k [null:53] k onRemembered, refCount=1


日志可以看到实际上正常缓存了, 考虑 PlayerLauncher 的 bug

@Him188 Him188 changed the title 使用過程加載失敗錯誤 BT 播放时显示"加载失败: 已取消", 但实际上正常下载 Aug 19, 2024
@Him188 Him188 added C 严重优先级, 需要立即修复 and removed M 重要优先级 labels Aug 21, 2024
@Him188 Him188 closed this as completed in 8c740fe Aug 25, 2024
@Him188 Him188 reopened this Aug 26, 2024
@Him188
Copy link
Member

Him188 commented Aug 26, 2024

不是很好修, 这东西很容易改出问题, 3.8 还有最后一个 beta 时间, 不知道来不来得及

@Him188 Him188 added this to the 3.8.0 milestone Aug 26, 2024
@Him188 Him188 closed this as completed in 29a0e43 Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C 严重优先级, 需要立即修复 s: player 子系统: 视频播放器 s: torrent 子系统: BT t: bug 类型: bug
Projects
None yet
Development

No branches or pull requests

2 participants