Commit graph

1319 commits

Author SHA1 Message Date
johannesd3 5c42d2e879 Clean up dependencies in librespot-audio
* Remove unused deps
* Use futures-util instead of futures
* Replace futures channels by tokio channels
* Remove unnecessary pin_project
* Reordered "use" statements
2021-02-23 22:22:52 +01:00
johannesd3 b83976a8ec Remove "extern crate"s from librespot-audio 2021-02-23 22:22:52 +01:00
johannesd3 746e6c863e Put lewton behind feature flag 2021-02-23 22:22:52 +01:00
johannesd3 a6ed6857d2 Clean up dependencies in librespot-metadata
* Replaced LinearMap by HashMap
* Removed unnecessary dependencies
* Removed "extern crate"s
2021-02-23 22:22:52 +01:00
johannesd3 10827bd6a8 Clean up dependencies of librespot-core
* Use sub-crates of future
* Remove unnecessary pin-project
* Removed unused crates and features
* Replace futures channels by tokio channels
* Use serde's "derive" feature flag instead of serde_derive
2021-02-23 22:22:51 +01:00
johannesd3 8cff10e983 Put apresolve behind feature flag 2021-02-23 22:22:51 +01:00
johannesd3 9253be7bc9 Small refactor of librespot-core
* Remove default impl for `SessionConfig`
* Move util mod to single file
* Restore privacy of mods
* Move `fn get_credentials` to application
* Remove `extern crate` statements
2021-02-23 22:22:51 +01:00
johannesd3 c0942f14e8 Restore rodiojack support
Probably more simple than the previous approach which
doubles the code: Instead of implementing the `Open` trait,
we simply use custom SinkBuilder, one for the default host,
and one for the "jack" host.
2021-02-23 22:22:51 +01:00
johannesd3 678d1777fd Merge branch 'dev' into tokio_migration 2021-02-23 22:22:49 +01:00
johannesd3 1fc5267a71 Revert "Merge pull request #548 from Lcchy/rodiojack-backend"
This reverts commit f483075b2c, reversing
changes made to ea8ece36d9.
2021-02-23 22:20:58 +01:00
Sasha Hilton 4beb3d5e60 Add version string CLI parameter, set name to optional parameter, default to 'librespot' 2021-02-23 18:35:57 +00:00
Sasha Hilton da0e913fa5
Merge pull request #647 from Johannesd3/msrv_1.41
Set MSRV to 1.41
2021-02-23 18:05:10 +00:00
Johannes Dertmann 58bd339e90 Restore MSRV to 1.41 2021-02-23 09:36:57 +01:00
Ash c9b3b955bd
Merge pull request #606 from Johannesd3/tokio_connect_migration
Finish tokio migration
2021-02-23 09:25:34 +01:00
Sasha Hilton e8204c970e
Merge pull request #569 from philippe44/passthrough-v3
Allow pipeline writer to spit out Ogg directly, including when seeking
2021-02-23 00:16:01 +00:00
Sasha Hilton 19e22ef486
Add note on issues/discussions. 2021-02-23 00:13:13 +00:00
Philippe G 34bc286d9b ogg passthrough
rename
2021-02-22 13:45:53 -08:00
Sasha Hilton d8c1b491c4 Merge branch 'master' into dev 2021-02-22 00:57:45 +00:00
Sasha Hilton d4b36b2398 Bump cargo.lock 2021-02-22 00:48:14 +00:00
Sasha Hilton b7c3609c7b Update version numbers to 0.1.6 2021-02-22 00:37:28 +00:00
Sasha Hilton 6407c20ea3 Merge branch 'master' into dev 2021-02-22 00:21:50 +00:00
Sasha Hilton 2060901c1e
Merge pull request #605 from flaktack/spirc-command-play-pause
Fix state toggling in SpircCommand::PlayPause
2021-02-21 23:30:48 +00:00
Sasha Hilton 4e1c24d98d
Merge pull request #602 from Johannesd3/bumb_crypto_crates
Bump crypto crates
2021-02-21 23:29:00 +00:00
Sasha Hilton 91152b47d8
Merge pull request #607 from willstott101/master
Stabilises #529 (NetBSD support)
2021-02-21 23:27:25 +00:00
Will Stott 89ad7a44a6 Update Cargo.lock 2021-02-21 19:01:31 +00:00
Will Stott 0b211f923f Stabilization of libmdns at 0.2.7 (includes fix for NetBSD) 2021-02-21 18:54:16 +00:00
johannesd3 220061e158 Migrate application to tokio 1.0 2021-02-21 17:05:36 +01:00
johannesd3 007e653f3d Restore original blocking player behaviour 2021-02-21 17:04:44 +01:00
johannesd3 1c4d57c6da Add shutdown to discovery server 2021-02-21 14:10:00 +01:00
johannesd3 2c81aaaf4e Implement MercurySender not as sink 2021-02-21 14:10:00 +01:00
johannesd3 daf7ecd23a Migrate librespot-connect to tokio 1.0 2021-02-21 14:09:31 +01:00
Sasha Hilton 7f705ed148 Merge branch 'master' into dev 2021-02-20 23:31:04 +00:00
Sasha Hilton 91dc14794c Update Cargo.lock 2021-02-20 23:23:44 +00:00
Sasha Hilton 2c110ca256 Update version numbers to 0.1.5 2021-02-20 23:05:56 +00:00
Sasha Hilton 66566e0b26 remove errant live code in dry-run of publish.sh 2021-02-20 23:04:08 +00:00
Sasha Hilton 4e0f5e46a5 Add skip-merge and dry-run options to publish script. Update Cargo.lock. 2021-02-20 22:59:35 +00:00
Sasha Hilton a173fa7cc5 Remove depreciated error description method 2021-02-20 21:55:12 +00:00
Érico Nogueira Rolim 7662bc5064 librespot-audio: update librespot-tremor.
This picks up a fix for librespot-tremor when building with Rust 1.48.
2021-02-20 21:54:14 +00:00
Zsombor Welker 392a12af92 Fix toggling in SpircCommand::PlayPause
Fix play/pause toggling in handle_play_pause() to correctly call handled_play()/handle_pause() based on the state.
2021-02-20 15:05:53 +01:00
Ash afacaea15f
Merge pull request #601 from Johannesd3/tokio_migration
[Tokio migration] Make RodioSink Send and other improvements
2021-02-20 10:41:45 +01:00
Johannes Dertmann c8e45ab690 Modified startup message 2021-02-17 15:13:57 +01:00
johannesd3 bce4858b9e Add semver constant, rename "build id" env var 2021-02-17 15:04:16 +01:00
johannesd3 34733baa75 Bump crypto crates 2021-02-13 19:10:57 +01:00
johannesd3 b77f0a18ce Fix formatting 2021-02-13 10:29:00 +01:00
johannesd3 85be0d075a Adjust documentation 2021-02-12 20:21:07 +01:00
johannesd3 689415a6f1 Improved error handling in rodio backend 2021-02-12 19:34:40 +01:00
johannesd3 b2f1be4374 Make RodioSink Send and improve error handling 2021-02-12 19:34:28 +01:00
johannesd3 2f05ddfbc2 Fix bugs in player 2021-02-12 18:19:04 +01:00
Ash 1f40affe1f
Merge pull request #599 from Johannesd3/tokio_migration
Merge dev into tokio migration
2021-02-11 07:21:51 +01:00
Sasha Hilton f483075b2c
Merge pull request #548 from Lcchy/rodiojack-backend
Use rodio for the jackaudio backend
2021-02-11 02:24:48 +00:00