ashthespy
9f9218f3cc
Remove redundant rpassword
crate from librespot-core
2019-03-26 18:07:05 +01:00
Sasha Hilton
e9b159e9d9
Merge pull request #321 from devgianlu/time-alignment-fix
...
Fix for time alignment issue
2019-03-25 19:05:06 +01:00
devgianlu
dc9b2de314
Fixed issue with time alignment
2019-03-24 07:15:14 -07:00
Michael Edwards
b7a2aad17d
Add credentials field alias
...
`encoded_auth_blob` is used in the credentials response of the Facebook auth flow
2019-03-20 21:17:23 +01:00
Michael Edwards
0bbca1d8bc
Use serde 1.0
2019-03-20 12:04:24 +01:00
Артём Павлов [Artyom Pavlov]
72589443c7
update Cargo.lock, use constant time equality check, remove block-modes
2019-03-16 18:30:10 +03:00
Artyom Pavlov
391b9c69c4
Merge branch 'master' into master
2019-03-15 16:32:54 +00: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
Tristan Stenner
113fed5c42
Update rand to 0.6
2019-02-12 08:02:44 +01:00
Artyom Pavlov
772591576a
Merge branch 'master' into master
2018-12-06 09:38:33 +00:00
Артём Павлов [Artyom Pavlov]
06266556de
update dependencies
2018-10-15 05:07:58 +03:00
ashthespy
c5fcdfd43c
Upgrade protobuf
to 2.0
and use protoc-rust
to compile proto files
2018-10-03 15:06:44 +02:00
newpavlov
e4677027d2
replace rust-crypto's hashes, HMAC and PBKDF2
2018-07-23 16:41:39 +03:00
Harold
4fb3d5f271
Add ap-port option to specify preferred port
2018-07-03 13:09:22 +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
Reinier Balt
870afdb4b6
fix deprecation warning for bytes
2018-04-30 14:28:43 +02:00
Reinier Balt
e6fff8003f
remove deprecated and unused import
2018-04-26 09:15:01 +02:00
Reinier Balt
2aea0e8fe6
do not panic on connection reset
2018-04-21 17:46:29 +02:00
Sasha Hilton
96124c5e18
Add 5xx error panic
2018-04-06 02:44:06 +02:00
Johan Anderholm
96a6978016
Update Cargo.lock
...
librespot now require rust 1.21.0. error_chain is updated to avoid
compilation warnings about unused rustdoc.
2018-03-24 08:45:43 +00:00
Johan Anderholm
3a14e9a6be
Validate proxy urls better.
...
Use the url crate to handle proxies to make sure they conform to a
proper format.
2018-03-24 08:45:43 +00:00
Johan Anderholm
1a04e3b899
Resolve AP through proxy as well
2018-03-24 08:45:43 +00:00
Johan Anderholm
3bdc5e0073
Add support for http proxy
...
Currently only http proxy (no https) is supported.
2018-03-24 08:45:43 +00:00
Johan Anderholm
612978908f
Reformat according to new rustfmt rules
2018-03-24 08:45:43 +00:00
thekr1s
d6b82cd732
revert file mode to original mode
2018-03-14 23:19:49 +01:00
thekr1s
b3966b0e08
Add optional linear volume contol
2018-03-11 11:27:28 +01:00
Sasha Hilton
cbc4ee7554
Add to_base62 method
2018-02-28 13:29:24 +01:00
Sasha Hilton
a7334b6c23
Add to_base62 method
2018-02-28 13:28:57 +01:00
Sasha Hilton
197d80edbf
Fix formatting
2018-02-25 16:33:32 +01:00
Sasha Hilton
0abad9a8f8
Add custom SpotifyIdError type
2018-02-25 15:47:57 +01:00
Sasha Hilton
084646e21b
Use prompt for password in main.rs
2018-02-25 05:40:00 +01:00
Sasha Hilton
4fb8c71b0a
Set SpotifyId methods to return Result
2018-02-25 03:04:07 +01:00
Anton Voyl
58ea1baa98
Issue 130 ( #164 )
...
* Core API: device_id
* Core API: u128
2018-02-24 16:34:04 +01:00
Colm
d0ffb2ecdd
Update for rust format
2018-02-14 04:50:51 +00:00
Sasha Hilton
874cc541de
Merge pull request #138 from librespot-org/authpanic
...
Add error message to auth failure case
2018-02-13 23:19:05 +01:00
Sasha Hilton
6936825783
[ci skip] Accidentally deleted commit
2018-02-13 15:29:01 +01:00
awiouy
edbe00c62b
core API: move StrChunks* to metadata
2018-02-13 08:33:50 +01:00
awiouy
0ed4fb1c68
core API: MercuryManager.request()
2018-02-13 08:24:59 +01:00
awiouy
ea597361ff
core API: component.new()
2018-02-13 08:18:49 +01:00
awiouy
4c2b641cad
core API: move spotify_id to lib.rs
2018-02-13 07:57:28 +01:00
awiouy
6a9084b00c
core API: Lazy
2018-02-12 20:20:43 +01:00
awiouy
aed4fe32d8
core API: SessionInternal
2018-02-12 20:13:37 +01:00
awiouy
0fd398e34d
core API: SessionData
2018-02-12 20:10:36 +01:00
Anton Voyl
e276d39704
core: remove protobuf_macros ( #146 )
...
Fixes #129
2018-02-12 15:58:09 +01:00
Sasha Hilton
234958672f
Implement [replace] for rust-crypto
2018-02-12 14:48:39 +01:00
awiouy
191caca518
core API: move Bitrate and PlayerConfig from core to playback
2018-02-11 23:55:41 +01:00
awiouy
c9ba73c9ef
rustfmt: core
2018-02-11 12:37:08 +01:00
awiouy
a35edc6af4
core API: move run_program to player.rs
2018-02-10 17:58:15 +01:00
awiouy
496a802248
core API: move subfile.rs to player.rs
2018-02-10 17:58:15 +01:00