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
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
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
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
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
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
Brice
d40c0f50db
Cache volume across restarts ( #220 )
...
* create Volume struct for use with Cache
* add "volume" file to Cache
* load cached volume on start, intial overrides cached overrides default
* amend volume_to_mixer function to cache the volume on every change
* pass cache to Spirc and SpircTask so volume_to_mixer has access
* rustfmt changes
* revert volume_to_mixer function and Spirc/SpircTask cache variable
* Volume implements Copy, pass by value instead of reference
* clamp volume to 100 if cached value exceeds limit
* convert Volume to u16 internally, use float and round to convert hex->dec
* convert initial_volume and ConnectConfig.volume to u16 as well
* add cache_volume function to SpircTask
* remove conversion to/from percentage on cached volume
* consolidate device.set_volume, mixer.set_volume, and caching
* streamline intial volume logic
2018-05-17 03:15:17 +02:00
StopMotionCuber
21f1ccfb5a
Fixed Jackaudio compiling ( #222 )
2018-05-15 20:33:58 +02:00
Reinier Balt
deb240c02f
reverse #212 since it does not address the real problem ( #213 )
2018-05-01 21:39:49 +02:00
Sasha Hilton
817dff06bf
Merge pull request #211 from lrbalt/remove-warning
...
remove deprecated and unused import
2018-04-30 16:48:49 +02:00
Sasha Hilton
b86ffa9e7c
Update Cargo versions
2018-04-30 16:12:13 +02:00