Skip to content

[Feature Request] Add Config For More Granular Control Over DL Rate #181

@carlyd95

Description

@carlyd95

Related Problem/Issue
Is this Feature Request related to an existing GitHub Issue or Bug Report?

No: Perhaps my concern is unfounded but it relates to reducing the possibility of having an account flagged related to download rates. I understand that there are currently 2 options: full speed or DOWNLOAD_REAL_TIME. I believe a while back on the original repo this was discussed on an issue and someone suggested changing a portion of the code so that is what I have been doing ever since.

Ideal Solution
Adding a flag and config value that dictates a rate for download speeds. Or perhaps like 5 or 6 options to have for users to pick from with a recommended one based on a middle ground of decent DL speed and relatively low probability of Spotify flagging the download activity or getting rate limited via the librespot stream.

Additional context
What I have been doing is setting DOWNLOAD_REAL_TIME to true and changing the following line from 1000 to 9000:
delta_want = (downloaded / stream.size) * (self.duration_ms/1000)

I do think I remember when you download at full speed you get limited after a few songs but maybe that was the api portion of the old code base and not streaming. Perhaps what I am concerned about potentially happening is not worth worrying about. If that is the case feel free to let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    consideringThis may be worth working on, but may not fit the overall goalsenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions