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
Jörg Krause
1d3c387fed
Add --on{start,stop} command line option
...
The --onstart and --onstop command line options can be used to run a
program when the audio playback is about to begin or has ended.
Note, that librespot needs executions rights to run the program.
Furthermore, the full path needs to be specified, e.g.
`/usr/bin/logger`. Executable scripts must begin with a shebang, e.g.
`#!/bin/sh`.
2016-09-08 20:52:21 +02:00
Paul Lietar
f79df63734
Merge pull request #115 from herrernst/also-test-alsa-backend
...
travis: also test alsa backend
2016-08-28 04:14:06 -07:00
herrernst
202397eb25
travis: also test alsa backend
2016-08-27 23:16:04 +02:00
Paul Lietar
5a4297551d
Merge pull request #113 from joerg-krause/alsa-backend
...
Add ALSA backend
2016-08-27 13:22:34 -07:00
Paul Lietar
445171a46a
Add ALSA backend
...
Closes : #63
2016-08-27 20:14:11 +02:00
Paul Lietar
253dfb7c88
Merge pull request #107 from joerg-krause/fix/close-stream-on-stop
...
close stream on stop
2016-08-27 01:25:48 -07:00
Paul Lietar
95f42d19c9
Merge pull request #112 from joerg-krause/fix-out-of-bounds-panic
...
Fix out of bounds panic
2016-08-23 16:53:23 -07:00
Jörg Krause
0716643ae3
Fix out of bounds panic
...
Selecting a librespot device with the Spotify desktop client causes a
crash if the playlist is empty.
Take into account the case where an empty list of tracks is received. In
this case notify the desktop client, so it will accept the device and
turn the status bar green.
Closes : #71
2016-08-23 23:49:19 +02:00
Paul Lietar
cf7378fda4
Merge pull request #110 from herrernst/travis-cross-arm
...
travis: also test cross-compilation for arm
2016-08-09 14:44:14 -07:00
herrernst
65c0e2b58d
travis: also test cross-compilation for arm
2016-08-09 23:04:17 +02:00
Paul Lietar
1308f095b1
Merge pull request #109 from herrernst/update-lmdb-dep
...
update lmdb-rs dependency
2016-08-08 15:01:46 -07:00
herrernst
704c89a8a7
update lmdb-rs dependency
2016-08-08 21:50:05 +02:00
Paul Lietar
85002e1e2a
Merge pull request #108 from herrernst/cargo-deb
...
add some fields to Cargo manifest so debian package can be build easily with `cargo-deb`
2016-08-08 12:04:10 -07:00
herrernst
58d24e2744
add some fields to Cargo manifest so debian package can be build easily with cargo-deb
2016-08-08 20:25:18 +02:00
herrernst
ceb375f37e
close stream on stop
2016-08-03 21:48:25 +02:00
Paul Lietar
7632fa4712
Merge pull request #93 from serprex/master
...
Replace time with std::time
2016-07-31 17:40:37 -07:00
Paul Lietar
5388565652
Merge pull request #104 from alboyer/fix-latency
...
Fix latency
2016-07-22 16:14:58 -07: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