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

Fix #995 #1065

Merged
merged 3 commits into from Jan 5, 2021
Merged

Fix #995 #1065

merged 3 commits into from Jan 5, 2021

Conversation

pithuene
Copy link
Contributor

Pass the appropriate bitrate to ffmpeg so that files aren't all 64kpbs anymore. I am not actually sure whether this changes quality in any way because the resulting file size hardly changed at all. At the very least it sets the appropriate metadata.

Also the audio stream selection now chooses the stream with highest bitrate. Before it was limited to only mp4 streams.

Pass the audio stream bitrate to ffmpeg.
@Silverarmor Silverarmor linked an issue Jan 2, 2021 that may be closed by this pull request
Copy link
Contributor

@aklajnert aklajnert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this PR should aim into the dev branch instead of master.

spotdl/download/downloader.py Outdated Show resolved Hide resolved
@pithuene pithuene force-pushed the audioBitrate branch 2 times, most recently from 902631c to 172209e Compare January 2, 2021 15:46
The get_audio_only function defaults to filtering for mp4 streams.
This seems arbitrary as ffmpeg has the capabilities for other codecs
too and higher quality may be achieved this way.
@pithuene pithuene changed the base branch from master to dev January 2, 2021 15:59
Shell substitution was causing problems for file names containing dollar
signs.
@Silverarmor Silverarmor merged commit ec5a6a7 into spotDL:dev Jan 5, 2021
@Silverarmor Silverarmor mentioned this pull request Jan 5, 2021
@Silverarmor Silverarmor added the Bug Fix PRs that fix bugs label Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Fix PRs that fix bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

All songs downloaded as 64kbps
3 participants