mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #1112] [CLOSED] Allow to fine-tune the requested stream formats #1236
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#1236
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/librespot-org/librespot/pull/1112
Author: @ptesarik
Created: 1/27/2023
Status: ❌ Closed
Base:
dev← Head:fmt_prio📝 Commits (2)
2550448Store file format preference list in PlayerConfig0bb81ddAllow the user to fine-tune the requested stream formats📊 Changes
9 files changed (+143 additions, -46 deletions)
View changed files
📝
Cargo.lock(+24 -0)📝
Cargo.toml(+2 -0)📝
playback/Cargo.toml(+4 -0)📝
playback/src/config.rs(+38 -2)📝
playback/src/lib.rs(+1 -0)📝
playback/src/player.rs(+3 -34)📝
protocol/Cargo.toml(+3 -0)📝
protocol/build.rs(+15 -0)📝
src/main.rs(+53 -10)📄 Description
Requested file formats can be currently controlled only through the bitrate parameter, which translates to one of a few hard-coded priority lists.
Some users may want to specify a different preference list, e.g.:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.