Commit graph

87 commits

Author SHA1 Message Date
Paul Lietar
cf2e9bb7c3 Make dns-sd opt in rather than opt out. 2016-01-20 13:35:02 +00:00
Paul Lietar
ac0d597e75 Ignore files which don’t have an id.
Fixes #42
2016-01-20 10:37:57 +00:00
Paul Lietar
2a7c9c312b Merge remote-tracking branch 'realtwister/master' 2016-01-18 21:47:32 +00:00
Paul Lietar
213c8d36ca Merge pull request #39 from psych0d0g/patch-2
tell users about dependencies
2016-01-16 13:08:27 +00:00
psych0d0g
4d9d1e799d tell users about dependencies
Sorry about the last pull, just revoke it
2016-01-16 01:21:27 +01:00
Erik
4310162b88 Fixed the multiple volume vars and the calculation is a bit simplified. 2016-01-15 01:12:08 +01:00
Paul Lietar
efee7dd8c5 Merge pull request #36 from psych0d0g/patch-1
bump rpassword version
2016-01-14 13:00:40 +00:00
psych0d0g
c5644f8b72 bump rpassword version
depend on 0.1.1 (added build dependencies on rpassword for the mips and mipsel architectures)
2016-01-14 13:58:04 +01:00
Erik
5788da8ddc Oops, left a debug still standing.. 2016-01-14 13:13:57 +01:00
Erik
17a5bb122a Added Volume in a fishy manner by modulating stream, could maybe be optimized. 2016-01-14 13:12:01 +01:00
Erik
3c8d709ff1 Added: Next and Previous track
Bug resolved: opening a list with "dissallowed tracks" is now possible
2016-01-14 04:27:34 +01:00
Paul Lietar
f316211ba3 travis: Don’t install external version of rust-protobuf anymore 2016-01-13 00:17:05 +00:00
Paul Lietar
7401fde7fc Update dependencies 2016-01-13 00:17:05 +00:00
Paul Lietar
3c29d744a9 Use the protobuf_build crate to simplify build process.
Removes external dependency on rust-protobuf, which prevents version
mismatch between the runtime and the compiler.
2016-01-13 00:16:02 +00:00
Paul Lietar
2eeb1c9817 Merge pull request #30 from herrernst/rename-binary
use a more descriptive binary name
2016-01-03 18:07:34 -07:00
Paul Lietar
f089f44359 Merge pull request #29 from herrernst/update-deps
update deps to compile (and work) also on arm devices
2016-01-03 18:06:41 -07:00
herrernst
2372447d23 change binary name
cargo can install directly from github, use
`cargo install --git https://github.com/plietar/librespot`
binary is put to ~/.cargo/bin/
2016-01-03 22:50:41 +01:00
herrernst
6fd736dde3 update deps to compile (and work) also on arm 2016-01-03 17:12:48 +01:00
Paul Lietar
fd6b805bfd Fix some clippy warnings. 2016-01-02 16:48:44 +01:00
Paul Lietar
90eeed3f80 rustfmt 2016-01-02 16:20:35 +01:00
Paul Lietar
5464647164 Ignore messages from unknown channels.
It occasionally happens that messages on a channel are received before
the subscription confirmation, which would cause a panic when looking
for the subscription.

Changed to simply ignore those.
2016-01-02 15:51:05 +01:00
Paul Lietar
cf57274f9c Add some details to zeroconf authentication 2016-01-02 14:49:51 +01:00
Paul Lietar
efef614731 Describe Zeroconf authentication. 2016-01-02 14:45:55 +01:00
Paul Lietar
2c2ff16986 discovery: Truncate the AES key to 128
The computed key is 20 bytes long (SHA1 checksum), but it used for AES128.
The last 4 bytes should therefore be dropped.
2016-01-02 13:30:01 +01:00
Paul Lietar
f8956166ea Add option to specify bitrate. 2016-01-02 03:30:24 +01:00
Paul Lietar
47c6d60b12 Merge branch 'env-password' of https://github.com/herrernst/librespot into master 2016-01-02 02:53:20 +01:00
Paul Lietar
e35da9c90a Use discovery if username and password are not provided. 2016-01-02 02:30:03 +01:00
Paul Lietar
38351c9a87 Make dns-sd optional 2016-01-02 02:28:54 +01:00
Paul Lietar
0984ad0bf0 Update protobuf-macros 2016-01-02 01:18:07 +01:00
Paul Lietar
bead9daf78 Add zeroconf based authentication. 2016-01-02 00:27:08 +01:00
Paul Lietar
4806f3e85a mercury: Register subscription for all channel aliases
When subscribing to a channel, we may actually end up subscribed to other
alias channels. We must track these as well in order to redirect received
messages properly.
2016-01-02 00:02:22 +01:00
herrernst
7f8e85f90b try reading password from env variable first, so it doesn't appear in process listing 2015-12-31 11:55:56 +01:00
Paul Lietar
877f4f7b93 Merge pull request #23 from JayRod12/master
Use canonical username when subscribing to spirc.
2015-12-31 01:00:09 +01:00
Paul Lietar
3219460666 Add travis build file. 2015-12-31 00:51:37 +01:00
Jaime Rodriguez
e321379501 Use canonical username when subscribing to spirc.
Uses canonical username that APWelcome message
contains once authenticated instead of username 
provided by user. SpircManager now accesses it via
its Session field. 

Fixes #15
2015-12-30 20:11:46 +01:00
Paul Lietar
525b27df98 Fix formula for the number of chunks.
It was rounding to the nearest boundary as opposed to rounding up. This
caused the last chunk to not always be downloaded.
2015-12-30 12:42:47 +01:00
Paul Lietar
654a403459 Improve handling of missing audio keys by failing the future rather than crashing. 2015-12-29 23:12:02 +01:00
Paul Lietar
8c2aa28d43 Use the correct country when checking for track availability. 2015-12-29 13:13:26 +01:00
Paul Lietar
22d586e473 Block player thread when nothing is playing. 2015-12-28 18:45:13 +01:00
Paul Lietar
17d4534260 Play an alternative track if selected one is not available. 2015-12-28 17:47:59 +01:00
Paul Lietar
4f518fc445 Get track availability and alternatives 2015-12-28 17:47:32 +01:00
Paul Lietar
5db141066a Use eventual’s futures in metadata instead of rolling our own.
For now the object cache has been removed. It may be added back later.
2015-12-28 16:53:54 +01:00
Paul Lietar
009d4e9019 Bump dependencies. Use eventual from registry again. 2015-12-28 01:44:08 +01:00
Paul Lietar
0ebe8b9e82 Fox subscription URL for spirc.
For some reason the old URL doesn’t work in new clients.
Can’t remember where it came from.
2015-12-28 01:41:29 +01:00
Paul Lietar
09e180b0e2 Remove deprecation warnings. 2015-12-28 01:29:53 +01:00
Paul Lietar
a2db3151bc Add authentication docs. 2015-12-28 01:29:16 +01:00
Paul Lietar
a604e9d679 Add documentation about low level protocol 2015-12-23 19:28:26 +01:00
Paul Lietar
5cbd53fef2 Update dependencies, use git version of eventual. 2015-12-22 18:05:13 +01:00
Paul Lietar
2b420fa81d Merge pull request #13 from lawrencejones/up-and-running
Runs against nightly build v1.7.0
2015-12-18 20:57:43 +00:00
Lawrence Jones
85c1925f8d Fixes compilation errors 2015-12-18 19:59:10 +00:00