Sasha Hilton
17d39dffa9
Make backtrace var conditional
2018-02-13 16:46:10 +01:00
Sasha Hilton
67dabcdd8e
Enable backtrace on all builds
2018-02-13 14:02:37 +01:00
Sasha Hilton
60996d108e
Update device usage instructions
2018-02-13 02:35:59 +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
awiouy
191caca518
core API: move Bitrate and PlayerConfig from core to playback
2018-02-11 23:55:41 +01:00
Michael Herger
5ed4639cca
Remove the -z as an alias for the --zeroconf-port parameter
2018-02-11 06:32:07 +01:00
Michael Herger
12487966b2
Somewhat uniform coding style might help myself to better understand Rust :-)
2018-02-11 06:32:07 +01:00
Sasha Hilton
f3bb85c33a
Merge pull request #137 from awiouy/core_API
...
core API review changes.
2018-02-10 23:14:41 +01:00
awiouy
77882836ce
core API: move now_ms to spirc.rs
2018-02-10 17:58:15 +01:00
Nick Steel
d05fa10067
Improved next/prev handling for queued tracks.
...
1) A queued track is removed once it has become the current track.
Note that the track doesn't need to actually play i.e. it could
have been immediately skipped over with 'next()'. This is
implemented in 'consume_queued_track()'.
2) Queued tracks are always positioned immediately after the current
track. 1) ensures this is true for 'next()' but 'prev()' requires
all the queued tracks are actually moved for this to remain the
case.
Also fixed the case where 'prev()' on the first track would incorrectly
wrap back around to the last track even when repeat was disabled. The
correct behaviour is to remain on the first track and just seek to the
start.
For example, with the following tracks and repeat enabled:
TrackA, TrackB, TrackC-Q, TrackD-Q, TrackE
^^^^^^
Here, the result of 'prev' changes the current track from TrackB to
TrackA and the queued tracks (TrackC, TrackD) move to the position
immediately after TrackA:
TrackA, TrackC-Q, TrackD-Q, TrackB, TrackE
^^^^^^
Calling 'prev' again results in the current track wrapping back around
to TrackE and the queued tracks moving after that same track:
TrackA, TrackB, TrackE, TrackC-Q, TrackD-Q
^^^^^^
2018-02-10 15:17:30 +00:00
Sasha Hilton
1fb65354b0
Move audio backends into seperate crate
2018-02-09 02:05:50 +01:00
awiouy
e3516ebd9b
Move discovery to its own module.
2018-02-08 04:03:53 +01:00
Sasha Hilton
7ead896ae7
Merge pull request #122 from librespot-org/keymaster
...
Move keymaster to core
2018-02-07 17:50:45 +01:00
Sasha Hilton
53fab4dc86
Merge pull request #11 from thekr1s/alsa-open-crash
...
Prevent crash in audio_backend/alsa.rs when switching from Kodi audio…
2018-02-07 15:08:52 +01:00
Sasha Hilton
cfa7a62dfc
Re-add serde_derive to lib.rs
2018-02-07 15:07:01 +01:00
Sasha Hilton
6a442a4570
Move keymaster to core
2018-02-06 19:54:28 +01:00
Robert
b03430a057
minor code cleanup
2018-02-05 00:33:17 +01:00
Sasha Hilton
977a6db3ef
Merge pull request #116 from librespot-org/jackaudio
...
Jackaudio Support. Closes #93 .
2018-02-04 20:23:16 +01:00
awiouy
2ae1f1399f
simplify dns-sd/mdns code
2018-02-02 19:53:08 +01:00
Sasha Hilton
407e23b311
Merge branch 'master' into jackaudio
2018-02-02 05:12:36 +01:00
Sasha Hilton
f35f52cbf9
Remove redundant code
2018-02-02 05:03:59 +01:00
Sasha Hilton
932441db45
Merge pull request #112 from librespot-org/feature_dns
...
Feature flag for selecting dns service
2018-01-31 21:51:59 +01:00
Sasha Hilton
7a58e6d561
fix addr in wrong place
2018-01-31 12:08:23 +01:00
Sasha Hilton
d923f3bad3
Add with-dns-sd feature flag
2018-01-31 12:00:53 +01:00
Colm
8be642de31
Merge pull request #110 from librespot-org/inital-volume-ifelse-cleanup
...
Initial volume ifelse cleanup
2018-01-30 23:38:36 +00:00
Sasha Hilton
fddcbbcd82
Tidied up Syntax
2018-01-31 00:05:54 +01:00
Sasha Hilton
3efe499737
Merge pull request #109 from librespot-org/zeroconf_port
...
Add zeroconf-port option
2018-01-30 23:19:29 +01:00
ComlOnline
618eceb740
lost iv -
due to previous
2018-01-30 21:46:57 +00:00
ComlOnline
46de5a704b
Thats what I get for copypasta
2018-01-30 21:30:37 +00:00
ComlOnline
863ea9c976
removed and optimised
2018-01-30 20:52:25 +00:00
Sasha Hilton
8e8bab03d5
Add zeroconf-port option
2018-01-30 21:38:54 +01:00
thekr1s
63755aae46
Merge branch 'master' into alsa-open-crash
2018-01-30 18:53:11 +01:00
Sasha Hilton
91647ab2dd
Merge pull request #10 from thekr1s/progressive-voume-control
...
Change volume control to implement logarithmic scaling.
2018-01-30 17:38:40 +01:00
Robert
bec6b8c512
Changed volume control after discussion: https://github.com/librespot-org/librespot/pull/10
...
implement exponential volume control only
2018-01-29 23:39:55 +01:00
Robert
752a6b1df4
Prevent crash in audio_backend/alsa.rs when switching from Kodi audio to librespot
2018-01-26 01:42:24 +01:00
Robert
4870acd572
Add --progressive-volume option. Increase volume slowly at low level, faster at higher level
2018-01-25 23:37:28 +01:00
Thomas Bächler
2465b0f57f
Refactor the discovery module to remove usage of deprecated functions
2018-01-25 23:23:45 +01:00
Thomas Bächler
d36017d6f0
Remove usage of deprecated tokio_core::io
2018-01-25 23:23:45 +01:00
Thomas Bächler
630de8c0a9
Use futures::sync::mpsc::UnboundedSender::unbounded_send() instead of the deprecated send()
2018-01-25 23:23:45 +01:00
Thomas Bächler
5237203899
Remove usage of deprecated BoxFuture, BoxStream and BoxSink
2018-01-25 23:23:45 +01:00
Thomas Bächler
644355269e
Use futures::sync::oneshot::Sender::send() instead of the deprecated complete()
2018-01-25 23:23:45 +01:00
Colm
5302bd1072
Merge pull request #6 from brain0/work
...
Make librespot more robust against audio failures
2017-12-19 21:46:22 +00:00
Thomas Bächler
4cda8affcd
Handle audio sink errors in the player
...
Failing to open or write to the audio sink is not necessarily a fatal and permanent error.
When the audio sink fails, the player now tries to restart the sink periodically.
2017-12-18 00:56:37 +01:00
Thomas Bächler
f250179fed
Join the player thread when the player is dropped
2017-12-17 23:46:52 +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
Thomas Bächler
35ec580eac
Disable the "variable does not need to be mutable" compiler warning in generated code
2017-12-17 23:15:49 +01:00
fossedihelm
de2b4cc8e3
added comments and edited README
2017-12-07 11:36:26 +01:00
fossedihelm
94e4cd853a
merge ColmOnline changes
2017-12-07 10:04:43 +01:00
fossedihelm
ac39da6c97
check if argument of initial-value is in the [0,100 range
2017-12-06 15:22:28 +01:00