lbryio / lbryio/lbry-sdk

with save_files disabled, restart during a stream and the file is saved

Open
#3,583 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area: files type: bug
Dominant language
Python
Stars
7.2k
Forks
493
PR merge metrics
No merged PRs in 30d

Description

steps:

  • save_files: false (default)
  • lbrynet get <some big file>
  • wget -O/dev/null <streaming_url>
  • restart SDK while that happens (let the wget call die)
  • file is resumed without any stream running and writes output to Downloads

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the sequence using save_files: false, lbrynet get, the streaming URL, and a restart while wget is active. Trace the download and resume handling around the restart, then verify that an interrupted stream is not resumed or written to Downloads when file saving is disabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.