Commit graph

1372 commits

Author SHA1 Message Date
Will Stott
5ceb4db9b8 Improve formatting and macro usage in devices list. 2019-03-20 13:24:08 +00:00
Will Stott
f1be5085ad Make rodio backend the default 2019-03-20 13:24:07 +00:00
Will Stott
587aa9c711 Simple block of playback thread based on buffer size. 2019-03-20 13:24:07 +00:00
Will Stott
49fd48b42a Sink.play is not the opposite of Sink.stop in Rodio 2019-03-20 13:24:07 +00:00
Will Stott
2c2bfc52ac Cpal -> Rodio
Doesn't work that well.
2019-03-20 13:24:03 +00:00
Will Stott
1eb5b7d127 Turns out I don't have an appropriate output device. 2019-03-20 13:16:29 +00:00
Will Stott
b81bdca707 QDH: Instantiate audio backend immediately when using "--device ?". 2019-03-20 13:16:29 +00:00
Will Stott
ac9423d9d9 cpal backend builds. Panics building output stream on my system. 2019-03-20 13:16:29 +00:00
Will Stott
891298171c Initial untested VecDeque concept. 2019-03-20 13:16:29 +00:00
Michael Edwards
0bbca1d8bc Use serde 1.0 2019-03-20 12:04:24 +01:00
Sasha Hilton
8b32e7a63e
Merge pull request #305 from ashthespy/dynamic-playlists
Support for Spotify Radio/Dynamic Playlists
2019-03-20 11:41:29 +01:00
Sasha Hilton
308ff32386
Merge pull request #239 from newpavlov/master
Replace rust-crypto crate with RustCrypto crates
2019-03-20 11:29:40 +01:00
Артём Павлов [Artyom Pavlov]
72589443c7 update Cargo.lock, use constant time equality check, remove block-modes 2019-03-16 18:30:10 +03:00
ashthespy
6870c76a43 Limit new context tracks added to frame
Keep only a fixed history of previous tracks to prior pushing new tracks
2019-03-16 16:18:38 +01:00
Artyom Pavlov
391b9c69c4
Merge branch 'master' into master 2019-03-15 16:32:54 +00:00
ashthespy
b0ee8ec74d Tweak malformed gid handling 2019-03-15 08:26:58 +01:00
Sasha Hilton
ef28df6301
Merge pull request #302 from kingosticks/fix/discover-bad-mac-panic
Don't panic when the computed MAC doesn't match the client's expected MAC
2019-03-14 17:05:15 +01:00
Sasha Hilton
0fcfe4f890
Merge pull request #304 from librespot-org/protoc-rust
Switch to `protobuf-codegen-pure` to remove `protoc` dependency
2019-03-14 00:38:12 +01:00
ashthespy
06c6969e25 Switch to protobuf-codegen-pure to remove protoc dependency 2019-03-13 23:54:53 +01:00
Sasha Hilton
806a8f2da5
Merge pull request #297 from kaymes/kaymes-faster
Improve playback speed
2019-03-13 23:45:20 +01:00
Sasha Hilton
7f22785f52
Merge pull request #303 from devgianlu/unlock-features-fix
Update version number
2019-03-13 21:59:12 +01:00
Gianlu
4a6d7b921f Updated version number 2019-03-13 21:52:59 +01:00
ashthespy
c0416972b6 Support Dailymixes and refactor dynamic playlists 2019-03-13 20:35:46 +01:00
Nick Steel
6a600596e8 main: exit librespot after the first ctrl+c if no currently active spirc session. 2019-03-13 18:47:56 +00:00
Nick Steel
83bfdffcfe discover: log the actual HTTP port that is used.
If the default port is used (i.e. no command line argument specified),
this logging incorrectly reports the server is running at port 0.
2019-03-13 18:45:43 +00:00
Nick Steel
4c1562f245 discover: do not panic on MAC mismatch. (Fixes #289)
The client's expected MAC will not match librespot's derived MAC
if the client used the wrong public key. This can happen if librespot
is restarted (and thus generated a new key) but the client is still
mistakingly using the old public key. When this happens we do not need
to panic, we can just abort the connection attempt.
2019-03-13 18:34:38 +00:00
Sasha Hilton
c22a6d1fa0
Requires 1.30.0 not 1.27.0 apparently. 2019-03-11 03:37:05 +01:00
Sasha Hilton
c83c95b7a2 Fix depreciated cause error, bump Travis min. version to 1.27.0 2019-03-10 18:31:52 +01:00
Sasha Hilton
8978559d3a
Merge pull request #284 from tstenner/rand06
Update rand to 0.6
2019-03-10 18:09:08 +01:00
Sasha Hilton
0686fe545f Update Spirc depreciated rand method 2019-03-10 17:48:19 +01:00
Sasha Hilton
0a9a293315 Fix travis rust version 2019-03-10 03:33:40 +01:00
Konstantin Seiler
43dcc6b55b Remove deft over debug message. 2019-03-10 11:46:25 +11:00
Konstantin Seiler
43959ee788 Commit missing ; 2019-03-09 20:07:45 +11:00
Konstantin Seiler
f62709fb9d Merge remote-tracking branch 'origin/master' into kaymes-faster 2019-03-09 19:43:05 +11:00
Konstantin Seiler
2e492e4d44 Speed up playback by avoiding unnecessary seek when playing from the beginning of a file. 2019-03-09 19:30:27 +11:00
Konstantin Seiler
a3c63b4e05 Speed up loading of files by requesting file and key in parallel. 2019-03-09 19:29:47 +11:00
Sasha Hilton
daeeeaa122
Merge pull request #291 from forslund/uri-tweak-for-load-issue
Update subscription uri
2019-02-22 14:28:54 +00:00
Åke Forslund
9b6b55ee7d Update subscription uri
This fixes an issue loading new tracks probably caused by an update on spotify's side. The fix was suggested by @worleydl, all glory to them for figuring it out.
2019-02-22 14:09:01 +01:00
Tristan Stenner
113fed5c42 Update rand to 0.6 2019-02-12 08:02:44 +01:00
Tristan Stenner
b320c4b2af Run cargo update 2019-02-05 20:08:02 +01:00
newpavlov
54974d8bd0 update Cargo.lock 2018-12-06 12:58:40 +03:00
newpavlov
4bd0fc8b36 update aes-ctr to 0.3 2018-12-06 12:49:23 +03:00
newpavlov
57065620ef update deps 2018-12-06 12:39:41 +03:00
Artyom Pavlov
772591576a
Merge branch 'master' into master 2018-12-06 09:38:33 +00:00
Sasha Hilton
d2cadec419
Merge pull request #262 from librespot-org/seek-eof
Fix seek past EOF panic for some tracks
2018-11-19 15:03:35 +01:00
Sasha Hilton
74e0adac15 Fix seek past EOF panic for some tracks 2018-11-10 21:31:03 +01:00
Anton Voyl
96557b4ec1
Merge pull request #260 from StopMotionCuber/fix_232
Changed TRACK_ID from base16 to base62 so that it is equal with the official Spotify app
2018-11-07 07:32:19 +01:00
Anton Voyl
3441ef8f32
Merge pull request #259 from awiouy/lewton-0.9.3
update lewton to 0.9.3
2018-11-04 23:14:32 +01:00
ruben
81e7c9b9d3 Changed TRACK_ID from base16 to base62 so that it is equal with the official Spotify app 2018-11-04 18:41:33 +01:00
Sasha Hilton
0331a7f592
Remove contrib from .dockerignore
See https://github.com/librespot-org/librespot/issues/243 for reason. Causes docker to fail for RPi builds.
2018-11-03 16:20:52 +01:00