Commit graph

1272 commits

Author SHA1 Message Date
Sasha Hilton 59683d7965 Update Cargo.lock 2021-05-04 13:27:57 +01:00
Sasha Hilton 3cd5ef32c4 Merge branch 'dev' 2021-05-04 13:16:39 +01:00
Sasha Hilton 7570241d86 Change wildcard env_logger dependency to version 0.8 2021-05-04 13:16:16 +01:00
Sasha Hilton 2ef3928691 Update version numbers to 0.2.0 2021-05-04 13:05:13 +01:00
Sasha Hilton cb6ffef4ff
Merge pull request #710 from Johannesd3/dependencies
Tweak dependencies
2021-05-04 12:13:35 +01:00
johannesd3 f6a328c6ec
Bump getopts 2021-05-01 16:17:05 +02:00
johannesd3 17b04c4b6e
Remove libc dep 2021-05-01 13:00:30 +02:00
johannesd3 da2cd8c971
Bump MSRV to 1.48
hyper, libmdns and sdl require a higher version.
2021-05-01 13:00:29 +02:00
johannesd3 9d55f9aa5f
Update Cargo.lock 2021-05-01 12:59:28 +02:00
johannesd3 1681574846
Bump hmac and pbkdf2 2021-05-01 10:53:14 +02:00
johannesd3 6077a1ef4e
Remove unused block-modes dep 2021-05-01 10:41:39 +02:00
johannesd3 ddf41a49f2
Update lower version bound for some deps 2021-05-01 10:40:52 +02:00
Sasha Hilton cc9d6f54ce
Merge pull request #708 from librespot-org/revert-666-dev
Revert "Add shuffle command and command handling"
2021-05-01 01:54:56 +01:00
Sasha Hilton 9a75ca195e Update spirc shuffle command for tokio migration 2021-05-01 01:48:42 +01:00
Sasha Hilton 9d5ac1b156
Merge pull request #699 from Johannesd3/ready-macro
Use `ready!` macro to reduce boilerplate
2021-05-01 01:25:14 +01:00
Sasha Hilton 617b3b72b7
Merge pull request #666 from jackvstrickland/dev
Add shuffle command and command handling
2021-05-01 01:20:03 +01:00
Sasha Hilton 8973d29837
Merge pull request #684 from roderickvd/fix-onevent-panic
Log error instead of panicking when child fails to start
2021-05-01 01:18:05 +01:00
Sasha Hilton 96dca284c9
Merge pull request #675 from Johannesd3/limit-cache-size
Add size limit to cache
2021-05-01 01:16:19 +01:00
Sasha Hilton 1ff7c43e7b
Merge pull request #698 from roderickvd/fix-basic-normalisation 2021-04-23 22:04:04 +01:00
Roderick van Domburg 78850dd45b Merge remote-tracking branch 'upstream/dev' into fix-onevent-panic 2021-04-21 21:07:56 +02:00
johannesd3 e355d4a4f1
Add cache-size-limit command line argument 2021-04-21 11:29:32 +02:00
johannesd3 de6bc32dea
Add documentation, logging and tests 2021-04-21 11:29:32 +02:00
johannesd3 e9dc9cd839
Add size limit to cache 2021-04-21 11:29:08 +02:00
johannesd3 4925adb4f1 Fix broken streaming mode 2021-04-21 11:26:49 +02:00
johannesd3 7d6267c0a2
Use ready macro to reduce boilerplate 2021-04-17 12:23:24 +02:00
Roderick van Domburg d44b74ea57 Add dB unit in warning message 2021-04-16 20:49:21 +02:00
Roderick van Domburg ffa284c42a Fix basic volume normalisation 2021-04-16 15:54:38 +02:00
Roderick van Domburg 7226bfd55a
Remove warning for Rodio on Alsa (fixed upstream) (#696) 2021-04-15 08:42:19 +02:00
Sasha Hilton 4fc3accc78
Merge pull request #691 from Johannesd3/tokio_migration
[Tokio migration] Better joining of session tasks
2021-04-13 02:17:31 +01:00
Sasha Hilton 7b537550ea
Merge pull request #665 from librespot-org/tokio_migration
Tokio migration
2021-04-13 02:06:01 +01:00
johannesd3 4c2fc61d64 Better joining of session tasks 2021-04-12 22:54:32 +02:00
Sasha Hilton f158d230d1
Merge pull request #687 from Johannesd3/tokio_migration
Further progress on tokio migration
2021-04-11 01:45:41 +01:00
johannesd3 3e9aee1d46 Renamed variable 2021-04-10 15:08:39 +02:00
johannesd3 b4f9ae31e2 Fix clippy warnings 2021-04-10 14:06:41 +02:00
johannesd3 a576194b0e Fix bug in rodio backend 2021-04-10 13:31:42 +02:00
johannesd3 26c127c2ec Merge branch 'dev' into tokio_migration 2021-04-10 12:59:47 +02:00
johannesd3 317e586472 Improve CI
Run the tests and add build for Windows.
2021-04-10 12:59:26 +02:00
johannesd3 ff499825e0 Add missing feature flag to tokio 2021-04-10 12:50:30 +02:00
johannesd3 690e0d2e10 Add simple tests to librespot-core
The first test checks whether apresolve works. A second test tries
to create a Spotify sessions with fake credentials and asserts that
an error is returned.
2021-04-10 12:50:30 +02:00
johannesd3 5435ab3270 Fix compile errors in backends
fe37186 added the restriction that `Sink`s must be `Send`. It turned
out later that this restrictions was unnecessary, and since some
`Sink`s aren't `Send` yet, this restriction is lifted again.

librespot-org/librespot#601 refactored the `RodioSink` in order to make
it `Send`. These changes are partly reverted in favour of the initial
simpler design.

Furthermore, there were some compile errors in the gstreamer backend
which are hereby fixed.
2021-04-10 12:50:30 +02:00
johannesd3 9a3a666856 Bump MSRV to 1.45 2021-04-10 12:50:30 +02:00
johannesd3 b7350b71da Restore previous feature flags
Some of the feature flags librespot uses are not really additive but
rather mutual exclusive. A previous attempt to improve the situation
had other drawbacks, so it's better to postpone a decision and restore
the old behaviour.
2021-04-10 12:50:30 +02:00
johannesd3 cb8c9c2afa Enable apresolve always in binary
Librespot-connect uses hyper anyway, so no one needs to disable it
only to reduce the number of dependencies. Furthermore, when using
another backend, people will use --no-default-features and will forget
to enable the apresolve feature again.
2021-04-10 12:50:30 +02:00
johannesd3 e688e7e886 Almost eliminate util module 2021-04-10 12:50:30 +02:00
Sasha Hilton 8fe2e01166
Merge pull request #660 from roderickvd/hi-res-volume-control
High-resolution volume control and normalisation
2021-04-10 01:26:20 +01:00
johannesd3 9378ae5b6f Bump num-bigint dependency 2021-04-09 22:39:51 +02:00
johannesd3 7ddb1a20bb Reuse librespot-core's Diffie Hellman in discovery 2021-04-09 22:39:47 +02:00
Roderick van Domburg e20b96c598 Merge remote-tracking branch 'upstream/dev' into hi-res-volume-control 2021-04-09 20:06:20 +02:00
Roderick van Domburg 222f9bbd01 Bump playback crates to the latest supporting Rust 1.41.1
For Rodio, this fixes garbled sound on some but not all Alsa hosts.
2021-04-09 20:01:21 +02:00
Roderick van Domburg d0ea9631d2 Optimize requantizer to work in f32, then round 2021-04-09 19:33:28 +02:00