Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

iOS: a no-length transcode that drops mid-song ends the song early

Đã đóng
#970 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
ios, swift
Lĩnh vực
mobile

Hướng nghiên cứu

Start in the shuttle-playback growing-file source, where a chunked or close-delimited body is treated as complete when the connection drops. Check how the S2 engine handles the #950 part 2 restart path, which only covers restarts from byte 0, and find where a StartTimeTicks re-open could be triggered. Done means a dropped no-Content-Length transcode re-opens at the playback position instead of ending the song, verified on an iOS device or simulator. Ask in the issue thread before choosing between a byte-count check and surfacing the URLSession error.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

impact:U2 P3 reach:R2 size:M

On iOS, a server transcode sent without a Content-Length (chunked or close-delimited) that drops mid-song looks like a complete body to shuttle-playback's growing-file source. The song then ends early instead of re-opening at the position.

The #950 part 2 drop recovery only catches restarts from byte 0. It needs shuttle-playback to tell a dropped connection apart from a real end of body (for example, compare the bytes received against the expected duration or bitrate, or surface the URLSession error), so the S2 engine can re-open via StartTimeTicks.

Likely hit with Emby or Jellyfin FLAC under the metered 320 kbps cap, which produces a progressive MP3 transcode.

Ngôn ngữ chính
Kotlin
Star
232
Fork
28
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của timusus/Shuttle2

Tất cả issue của timusus/Shuttle2

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.