Commit graph

799 commits

Author SHA1 Message Date
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
awiouy 7cbf6d173b update lewton to 0.9.3 2018-11-01 14:03:51 +01:00
Sasha Hilton d12640fb47
Merge pull request #251 from ashthespy/master
Update protobuf
2018-10-31 03:07:55 +00:00
Sasha Hilton 473fc188cd Bump minimum version for Travis Builds 2018-10-30 17:57:24 +00:00
Sasha Hilton 8d53c80481
Merge pull request #255 from wfraser/wfraser/child-exit-wait
reap the exit statuses from 'onevent' child processes using futures
2018-10-21 15:18:36 +02:00
Sasha Hilton 3614404f18
Merge pull request #248 from devgianlu/master
Add librespot-java to related projects
2018-10-16 15:26:44 +02:00
William R. Fraser 9fa138a116 implement using tokio-process instead 2018-10-16 02:34:56 -07:00
William R. Fraser eaac599ce3 reap the exit statuses from 'onevent' child processes 2018-10-16 00:24:33 -07:00
Артём Павлов [Artyom Pavlov] 06266556de
update dependencies 2018-10-15 05:07:58 +03:00
ashthespy 96b432aa4c Implement support for dynamic playlists (Radio) 2018-10-12 19:15:26 +02:00
ashthespy c5fcdfd43c Upgrade protobuf to 2.0 and use protoc-rust to compile proto files 2018-10-03 15:06:44 +02:00
ashthespy 37c588d6a1 Set proper name for kUnknown enum 2018-09-26 17:11:32 +02:00
Gianlu be6910f720
Added librespot-java to related projects 2018-09-17 15:00:30 +02:00
Colm a4e0f582a8
Merge pull request #237 from romerod/master
Docker file to create an RPI image
2018-08-17 13:30:12 +01:00
Sasha Hilton ee87904ac1
Merge pull request #236 from haroldmrt/master
Add option to specify preferred AP port
2018-08-06 20:44:27 +01:00
newpavlov 2ae5589318 bump min Rust version to 1.27 2018-07-30 14:24:25 +03:00
newpavlov 1f1cd116e7 aes-ctr 2018-07-30 14:18:43 +03:00
newpavlov e4677027d2 replace rust-crypto's hashes, HMAC and PBKDF2 2018-07-23 16:41:39 +03:00
Daniel Romero 4f8ea66207 Add Dockerfile.Rpi which creates a librespot docker image which can be used on the RPI directly. 2018-07-13 10:21:31 +02:00
Daniel Romero 861515e208 Add contrib to .dockerignore for the docker cache to work, when modifying the docker files 2018-07-13 10:21:31 +02:00
Harold 4fb3d5f271 Add ap-port option to specify preferred port 2018-07-03 13:09:22 +02:00
Harold 00e89343fb Formatting 2018-07-03 13:08:42 +02:00
Harold f61bbd87a8 Change documentation to reflect code behavior 2018-07-03 13:07:29 +02:00
Dawid Dziurla 431be9e847 Add kUnknown enum (#224) 2018-05-18 01:20:41 +02:00