Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#970 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
ios, swift
Ambito
mobile

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Kotlin
Stelle
229
Fork
28
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di timusus/Shuttle2

Tutte le issue di timusus/Shuttle2

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.