Paul Lietar
d62a154786
Move session to tokio over fully
2017-01-20 02:40:07 +00:00
Paul Lietar
bf6be73caa
Move album cover to tokio
2017-01-20 01:59:47 +00:00
Paul Lietar
379c90c0b2
Move audio_file and channels to tokio
2017-01-20 01:59:47 +00:00
Paul Lietar
05118b40f8
Move MetadataManager to use tokio
2017-01-20 01:59:47 +00:00
Paul Lietar
bcbd7afb1a
Change mercury to use tokio
2017-01-20 01:59:47 +00:00
Paul Lietar
855a7e87a7
Move AudioKeyManager to tokio
2017-01-20 01:59:47 +00:00
Paul Lietar
d27063d5da
Create event loop in main
2017-01-20 01:59:46 +00:00
Paul Lietar
2a0ccc0d1d
Move device id into config
2017-01-20 01:59:46 +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
ea94db00df
Rebuild protobuf files
2017-01-20 01:59:46 +00:00
Paul Lietar
9e495d6fd7
Add AP fallback to protocol docs
2017-01-13 01:17:30 +00:00
Paul Lietar
aa499e0189
Get rid of main_helper
2017-01-10 16:31:12 +00:00
Paul Lietar
ae7c177823
Merge pull request #143 from SimonPersson/general_main_helper
...
Improve for library users
2017-01-06 17:32:28 +01:00
Simon Persson
560d4e1c4c
Move get_credentials to authentication module.
2017-01-06 17:18:41 +01:00
Simon Persson
f11310581c
Add standard traits to Bitrate.
2017-01-06 17:09:57 +01:00
Simon Persson
1f32efce83
Revert "Make main_helper useful with values not from getopts."
...
This reverts commit b4c7e8e057
.
2017-01-06 17:06:14 +01:00
Paul Lietar
a8aea3e8de
Merge pull request #144 from SimonPersson/improve_printing
...
Improve log strings and never log to stdout.
2017-01-06 16:02:38 +01:00
Simon Persson
b828e4d528
Improve log strings and never log to stdout.
2017-01-06 15:21:44 +01:00
Paul Lietar
f79850f6d6
Merge pull request #142 from herrernst/systemd-user-group
...
systemd: don't run as root, drop privileges
2017-01-06 13:33:02 +01:00
Simon Persson
28aed0d18b
Give Bitrate copy semantics.
...
For such a simple type, which will likely never change
to be un-copyable, it's nicer to have copy semantics.
2017-01-06 12:56:34 +01:00
Simon Persson
b4c7e8e057
Make main_helper useful with values not from getopts.
...
Applications that gets these values from config file
shouldn't have to reinvent the wheel.
2017-01-06 12:50:44 +01:00
herrernst
6f85deadd9
don't run as root, drop privileges
...
nobody:audio should exists on most distributions
explicit user would be prefered
2017-01-06 02:21:04 +01:00
Paul Lietar
e254bb7291
Remove support for Facebook authentication.
2017-01-05 14:40:33 +01:00
Paul Lietar
7ba3d766c0
Reduce log verbosity by default.
...
Fixes #141
2017-01-05 14:25:14 +01:00
Paul Lietar
d0a84d7915
Print password prompt on stderr.
2017-01-05 14:24:22 +01:00
Paul Lietar
9a8957169f
Merge pull request #139 from herrernst/systemd-unit
...
add basic systemd service unit example
2017-01-04 21:57:22 +01:00
Paul Lietar
baf2b65d7b
Use rustls rather than openssl
2016-12-31 14:49:04 +01:00
Paul Lietar
8831dea166
Add missing file :(
2016-12-31 13:24:18 +01:00
Paul Lietar
9c3541c41b
Change the stdout backend to work with arbitrary files.
2016-12-31 13:17:06 +01:00
Paul Lietar
512304c6c3
Merge remote-tracking branch 'badaix/master'
2016-12-31 13:04:14 +01:00
Jörg Krause
64b8b5f91a
Don't panic on error InitialFileHeadersCorrupt
2016-12-31 12:56:09 +01:00
Paul Lietar
ac63e4dbb2
travis: Don’t build on an old nightly, it’s broken
2016-12-31 12:54:27 +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
herrernst
b9eb4de090
add basic systemd service unit example
...
put to /etc/systemd/system/librespot.service and then do `systemctl daemon-reload`
2016-12-30 16:59:18 +01:00
Paul Lietar
7fd8503f45
Use the fallback AP when apresolve fails.
...
This matches the desktop client’s behaviour.
Fixes #136
2016-12-30 12:02:00 +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
Johannes Pohl
5ae1397aa6
Merge branch 'master' of https://github.com/badaix/librespot
2016-11-22 15:33:06 +01:00
badaix
383e0e9ae8
added stdout-backend
2016-11-22 15:31:59 +01:00
Paul Lietar
880a266625
Merge pull request #117 from joerg-krause/feature/onstart
...
Add --on{start,stop} command line option
2016-11-19 22:14:05 +00:00
Paul Lietar
a90d20c11e
Merge pull request #126 from juliancheal/typo
...
Fixed typo in documentation
2016-11-04 02:09:25 +00:00
Julian Cheal
9f42117eb2
Fixed typo
2016-11-03 22:44:36 +00:00
badaix
af05333006
Merge branch 'master' of https://github.com/badaix/librespot
2016-11-01 23:35:55 +01:00
badaix
6b82a765b1
added stdout-backend
2016-11-01 23:35:35 +01:00
Paul Lietar
708d0a82a7
Merge pull request #124 from s1lvester/use_tls
...
use tls
2016-10-27 14:20:11 +02:00
badaix
60ad12033a
added stdout-backend
2016-10-27 09:56:56 +02:00
silvester
e3aa14c839
use ssl
2016-10-26 13:22:22 +02:00
Paul Lietar
6fa4e4d458
Merge pull request #119 from joerg-krause/say-goodbye
...
Say goodbye when terminating
2016-09-21 22:06:34 -07: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