Commit graph

100 commits

Author SHA1 Message Date
Sasha Hilton b86ffa9e7c Update Cargo versions 2018-04-30 16:12:13 +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
Sasha Hilton a7334b6c23 Add to_base62 method 2018-02-28 13:28:57 +01:00
Sasha Hilton f8db550e5e Add volume normalisation support 2018-02-23 20:08:20 +01:00
awiouy 15909613e9 connect: dispose of protobuf_macros 2018-02-16 22:43:57 +01:00
Sasha Hilton 67dabcdd8e Enable backtrace on all builds 2018-02-13 14:02:37 +01:00
Anton Voyl e276d39704 core: remove protobuf_macros (#146)
Fixes #129
2018-02-12 15:58:09 +01:00
Sasha Hilton 90ae9d713d Fix conflicts from PR #143 2018-02-12 01:12:02 +01:00
awiouy d900134114 connect: discovery and spirc 2018-02-11 23:55:41 +01:00
Sasha Hilton 1fb65354b0 Move audio backends into seperate crate 2018-02-09 02:05:50 +01:00
awiouy 99e7da562d lewton: handle OggError(NoCapturePatternFound) 2018-02-07 18:25:21 +01:00
Sasha Hilton ccbaff267e Re-add serde_derive 2018-02-06 20:26:37 +01:00
Sasha Hilton 6a442a4570 Move keymaster to core 2018-02-06 19:54:28 +01:00
Sasha Hilton d923f3bad3 Add with-dns-sd feature flag 2018-01-31 12:00:53 +01:00
Thomas Bächler d36017d6f0 Remove usage of deprecated tokio_core::io 2018-01-25 23:23:45 +01:00
Thomas Bächler 0bdf9aa080 Update all dependencies 2018-01-25 23:23:45 +01:00
Thomas Bächler f5d8019c18 Add proper error handling to the pulseaudio backend and ensure that no invalid pointers are passed to pulseaudio 2017-12-17 23:28:42 +01:00
Paul Lietar 3a18d1f91d Update Cargo.lock, use hyper, libpulse-sys and lewton from crates.io. 2017-08-04 05:28:25 +01:00
Paul Lietar d1447d2bfb Add support for lewton as an Vorbis decoder. 2017-08-04 05:28:25 +01:00
Paul Lietar ec8f80df75 Create new librespot-audio crate 2017-08-03 20:37:04 +01:00
Paul Lietar a51b562487 Create new librespot-metadata crate 2017-08-03 20:11:17 +01:00
Paul Lietar bf60f6e7ab Create new librespot-core crate 2017-08-03 19:58:44 +01:00
Paul Lietar 72070b6ce0 Allow device type to be chosen.
Fix #187
2017-08-03 19:31:15 +01:00
Paul Lietar 28232b5a52 Add keymaster API 2017-05-10 16:26:48 +01:00
Johan Anderholm e60cdeafca hyper::Url -> hyper::Uri, portaudio -> portaudio-rs
hyper::Url is replaced by hyper::Uri in recent hyper versions.

portaudio was renamed to portaudio-rs and added to cargo.io
2017-04-29 13:06:29 +02:00
Paul Lietar 294a7821d6 Add simple playback example. 2017-04-28 23:24:55 +01:00
Johan Anderholm 6daedde0e9 Add mipsel as a cross-compilation target. 2017-03-05 04:17:43 -08:00
Paul Lietar 188958710f Download shannon dependency from crates.io 2017-02-22 14:48:41 +00:00
Paul Lietar 541114e2b4 build: only rerun syntex when relevant files have changed 2017-02-22 14:27:54 +00:00
Paul Lietar d940ed161a Allow switching user accounts at runtime
Fixes #130
2017-02-22 04:18:27 +00:00
Paul Lietar 6d00f08d1f Don’t use backtrace library.
It causes problems when crosscompiling
2017-02-21 22:08:42 +00:00
Paul Lietar 19b06ae5fb Update dependencies.
Rust 1.15 is now required.
2017-02-09 01:27:52 +00:00
Paul Lietar 17482c236a Stop caching audio keys, reenable audio file cache 2017-01-29 15:36:39 +00:00
Paul Lietar f3ba3f4bd4 Update dependencies 2017-01-29 12:50:18 +00:00
Paul Lietar 379c90c0b2 Move audio_file and channels to tokio 2017-01-20 01:59:47 +00:00
Paul Lietar 9de55bb8cd Move ap resolve and discovery to tokio. 2017-01-20 01:59:46 +00:00
Paul Lietar 9d5e2e9fed Rewrite connection layer to use tokio 2017-01-20 01:59:46 +00:00
Paul Lietar e254bb7291 Remove support for Facebook authentication. 2017-01-05 14:40:33 +01:00
Paul Lietar baf2b65d7b Use rustls rather than openssl 2016-12-31 14:49:04 +01:00
Paul Lietar 8544faf75d Only use syntex on modules that need it.
Also updated dependencies.

Fixes #133 and #138
2016-12-31 12:51:44 +01:00
Paul Lietar c6327af2f3 Include pre-generated protocol files.
A build script is used to ensure the source files haven’t been modified.
2016-12-30 12:02:00 +01:00
silvester e3aa14c839 use ssl 2016-10-26 13:22:22 +02:00
Jörg Krause c1e570f48d Say goodbye when terminating
When librespot is terminated while a session is active it will now send
a goodbye message, so that the Spotify client unregisters the device
from its list.

Closes: #114
2016-09-20 21:00:01 +02:00
Jörg Krause b153de93d1 Update dependencies 2016-09-16 14:03:54 +02:00
Paul Lietar 445171a46a Add ALSA backend
Closes: #63
2016-08-27 20:14:11 +02:00
herrernst 704c89a8a7 update lmdb-rs dependency 2016-08-08 21:50:05 +02:00
Alain Boyer 82af7a3d71 Specify suggested_latency from device info.
- Update portaudio dependency.
- Pass default_high_output_latency to ensure robust playback.
- This is the same behavior as when previously using Stream::open_default().
2016-07-23 01:39:41 +03:00
Jörg Krause 1c973adaae Update dependency tremor 2016-07-20 21:24:37 +02:00
Paul Lietar b25585a41b Use a pure rust mDNS responder instead of relying on Avahi / dns-sd.
Fixes #33, #70
2016-07-06 02:36:01 +01:00