You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: Add audio/local to device capabilities
Spotify Connect does not allow you to move playback of a local file to
the librespot device as it says that it "can't play this track". Note
that this is slightly inconsistent as Spotify allows you to switch to
a local file if librespot is already playing a non-local file, which
currently fails with an error.
However, it is possible for the desktop and iOS client to accept
playback of local files. In looking at the PUT request sent to
`connect-state/v1/devices/<id>` from the iOS client, it can be seen that
it includes `audio/local` as an entry in the `supported_types`
capability field.
This commit introduces this field to the capabilities that librespot
sends. For now, it is a complete lie as we do not support local file
playback, but it will make the ongoing development of this feature
easier, as we will not have to queue up a non-local track and attempt
to switch to a local one.
Testing shows that with this flag the "can't play this track" message
disappears and allows librespot to (attempt) to play a local file
before erroring out.
* feat: Add minimal local file support
* fix: Fix "q".parse
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
13
-[core] Add method `transfer` to `SpClient`
14
14
-[core] Add `SpotifyUri` type to represent more types of URI than `SpotifyId` can
15
15
-[discovery] Add support for [device aliases](https://developer.spotify.com/documentation/commercial-hardware/implementation/guides/zeroconf#device-aliases)
16
+
-[main]`--local-file-dir` / `-l` option added to binary to specify local file directories to pull from
17
+
-[metadata]`Local` variant added to `UniqueFields` enum (breaking)
18
+
-[playback] Local files can now be played with the following caveats:
19
+
- They must be sampled at 44,100 Hz
20
+
- They cannot be played from a Connect device using the dedicated 'Local Files' playlist; they must be added to another playlist first
21
+
-[playback]`local_file_directories` field added to `PlayerConfig` struct (breaking)
0 commit comments